From 01a3a82af98904c95765cee87fcde75151f7e320 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Sun, 5 May 2024 08:32:06 -0400 Subject: [PATCH] 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. --- lib/pause_2017/templates/public/admin.html.ep | 1 - lib/pause_2017/templates/public/pumpkin.html.ep | 1 - lib/pause_2017/templates/user/distperms/peek.html.ep | 6 ------ lib/pause_2017/templates/user/perms/peek.html.ep | 6 ------ 4 files changed, 14 deletions(-) diff --git a/lib/pause_2017/templates/public/admin.html.ep b/lib/pause_2017/templates/public/admin.html.ep index 4b2a11ad7..920f5142e 100644 --- a/lib/pause_2017/templates/public/admin.html.ep +++ b/lib/pause_2017/templates/public/admin.html.ep @@ -1,7 +1,6 @@ % layout 'layout'; % my $pause = stash(".pause") || {}; -

Query the grouptable table for who is an admin bit holder

Registered admins: <%= join ", ", @{$pause->{admins} || []} %>

"YAML") %>" style="text-decoration: none;"> YAML diff --git a/lib/pause_2017/templates/public/pumpkin.html.ep b/lib/pause_2017/templates/public/pumpkin.html.ep index bdb2bb324..4a1c9a10f 100644 --- a/lib/pause_2017/templates/public/pumpkin.html.ep +++ b/lib/pause_2017/templates/public/pumpkin.html.ep @@ -1,7 +1,6 @@ % layout 'layout'; % my $pause = stash(".pause") || {}; -

Query the grouptable table for who is a pumpkin bit holder

Registered pumpkins: <%= join ", ", @{$pause->{pumpkins} || []} %>

"YAML") %>" style="text-decoration: none;"> YAML diff --git a/lib/pause_2017/templates/user/distperms/peek.html.ep b/lib/pause_2017/templates/user/distperms/peek.html.ep index 132e6c29e..f142f1516 100644 --- a/lib/pause_2017/templates/user/distperms/peek.html.ep +++ b/lib/pause_2017/templates/user/distperms/peek.html.ep @@ -1,12 +1,6 @@ % layout 'layout'; % my $pause = stash(".pause") || {}; -

Query the perms table by author or by -distribution. Select the option and fill in a distribution name or -user ID as appropriate. The answer is all distributions that an -user ID is registered for or all user IDs registered for a -distribution, as appropriate.

-

Registration comes in one of two types: type first-come is the automatic registration on a first-come-first-serve basis that happens on the initial diff --git a/lib/pause_2017/templates/user/perms/peek.html.ep b/lib/pause_2017/templates/user/perms/peek.html.ep index d0d0d5ea8..04a13ad37 100644 --- a/lib/pause_2017/templates/user/perms/peek.html.ep +++ b/lib/pause_2017/templates/user/perms/peek.html.ep @@ -1,12 +1,6 @@ % layout 'layout'; % my $pause = stash(".pause") || {}; -

Query the perms table by author or by -module. Select the option and fill in a module name or -user ID as appropriate. The answer is all modules that an -user ID is registered for or all user IDs registered for a -module, as appropriate.

-

Registration comes in one of two types: type first-come is the automatic registration on a first-come-first-serve basis that happens on the initial