From 212521e905fa75b8ded14b1e868181eab1bc87fe Mon Sep 17 00:00:00 2001 From: swag Date: Fri, 12 May 2023 22:43:23 -0400 Subject: [PATCH] Template clean-up --- templates/thread/by_id.html.ep | 10 +++++++--- templates/thread/by_page.html.ep | 9 +++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/templates/thread/by_id.html.ep b/templates/thread/by_id.html.ep index 1e4cfc6..ba7b312 100644 --- a/templates/thread/by_id.html.ep +++ b/templates/thread/by_id.html.ep @@ -10,10 +10,14 @@ <%== markdown $thread->{'body'} =%> <% if (is_mod) { =%> diff --git a/templates/thread/by_page.html.ep b/templates/thread/by_page.html.ep index bdaa06d..97a944e 100644 --- a/templates/thread/by_page.html.ep +++ b/templates/thread/by_page.html.ep @@ -22,10 +22,11 @@ <%= link_to Remark => post_remark => {thread_id => $thread->{'id'}} %> <%= link_to url_for(single_thread => {thread_id => $thread->{'id'}}) ->fragment('remarks'), begin %> - (<%= $thread->{'remark_tally'} %> remarks)\ - <% end =%> - <%= link_to Bump => bump_thread => {thread_id => $thread->{'id'}} %> - (<%= $thread->{'bump_tally'} %> bumps) + (<%= $thread->{'remark_tally'} %> remarks) + <% end %> + <%= link_to bump_thread => {thread_id => $thread->{'id'}}, begin %> + Bump (<%= $thread->{'bump_tally'} %> bumps) + <% end %> <%= link_to Flag => flag_thread => {thread_id => $thread->{'id'}} %>