Skip to content

Commit 01a3a82

Browse files
committed
webui: eliminate descriptions of SQL in web interface
I think it's weird for the UI to describe the tables it will query. Users will want to know what information they're getting, but not how it's laid out in the database.
1 parent 33751e9 commit 01a3a82

File tree

4 files changed

+0
-14
lines changed

4 files changed

+0
-14
lines changed

lib/pause_2017/templates/public/admin.html.ep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
% layout 'layout';
22
% my $pause = stash(".pause") || {};
33

4-
<p>Query the <code>grouptable</code> table for who is an admin bit holder</p>
54
<p>Registered admins: <%= join ", ", @{$pause->{admins} || []} %></p>
65
<p><a href="<%= my_url->query(ACTION => "who_admin", OF => "YAML") %>" style="text-decoration: none;">
76
<span class="orange_button">YAML</span>

lib/pause_2017/templates/public/pumpkin.html.ep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
% layout 'layout';
22
% my $pause = stash(".pause") || {};
33

4-
<p>Query the <code>grouptable</code> table for who is a pumpkin bit holder</p>
54
<p>Registered pumpkins: <%= join ", ", @{$pause->{pumpkins} || []} %></p>
65
<p><a href="<%= my_url->query(ACTION => "who_pumpkin", OF => "YAML") %>" style="text-decoration: none;">
76
<span class="orange_button">YAML</span>

lib/pause_2017/templates/user/distperms/peek.html.ep

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
% layout 'layout';
22
% my $pause = stash(".pause") || {};
33

4-
<p>Query the <code>perms</code> table by author or by
5-
distribution. Select the option and fill in a distribution name or
6-
user ID as appropriate. The answer is all distributions that an
7-
user ID is registered for or all user IDs registered for a
8-
distribution, as appropriate.</p>
9-
104
<p>Registration comes in one of two types: type
115
<b>first-come</b> is the automatic registration on a
126
first-come-first-serve basis that happens on the initial

lib/pause_2017/templates/user/perms/peek.html.ep

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
% layout 'layout';
22
% my $pause = stash(".pause") || {};
33

4-
<p>Query the <code>perms</code> table by author or by
5-
module. Select the option and fill in a module name or
6-
user ID as appropriate. The answer is all modules that an
7-
user ID is registered for or all user IDs registered for a
8-
module, as appropriate.</p>
9-
104
<p>Registration comes in one of two types: type
115
<b>first-come</b> is the automatic registration on a
126
first-come-first-serve basis that happens on the initial

0 commit comments

Comments
 (0)