From ed5fb3d346d498317d90c3891edae91ffa45bf1a Mon Sep 17 00:00:00 2001 From: swaggboi Date: Wed, 26 Jun 2024 01:11:53 -0400 Subject: [PATCH] Some clean-up --- README.md | 7 ------- templates/moderator/list.html.ep | 22 +++++++++++----------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index a3ef958..08de100 100644 --- a/README.md +++ b/README.md @@ -60,13 +60,6 @@ tests locally: ## TODOs -1. Test JS with LibreJS or something like that (I don't like RMS I - just want free JS!!) - -## Crazy future ideas - -### (Lord knows there's TODOs I could be working on...) - 1. Is `remark_tally` counting hidden remarks? Tried to add a `WHERE NOT hidden_status` but that returns null, probably need a different `JOIN` which may not be worth the trouble/processing diff --git a/templates/moderator/list.html.ep b/templates/moderator/list.html.ep index 26c7d8f..0633c8e 100644 --- a/templates/moderator/list.html.ep +++ b/templates/moderator/list.html.ep @@ -13,17 +13,17 @@ Locked? Admin? - <% for my $moderator (@{$moderators}) { %> - - <%= $moderator->{'id' } %> - <%= $moderator->{'name' } %> - <%= $moderator->{'email_addr' } %> - <%= $moderator->{'creation_date' } %> - <%= $moderator->{'last_login_date'} %> - <%= $moderator->{'lock_status' } %> - <%= $moderator->{'admin_status' } %> - - <% } %> + <% for my $moderator (@{$moderators}) { =%> + + <%= $moderator->{'id' } %> + <%= $moderator->{'name' } %> + <%= $moderator->{'email_addr' } %> + <%= $moderator->{'creation_date' } %> + <%= $moderator->{'last_login_date'} %> + <%= $moderator->{'lock_status' } %> + <%= $moderator->{'admin_status' } %> + + <% } =%> <% } =%>