From fa70014a3cf594ce06f367a5d4b77e430e34a470 Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 29 Sep 2019 16:12:16 -0500 Subject: [PATCH] forum topics: adjust page title, reply link. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Change page title from "Forum - Blah blah - Danbooru" to "Blah blah blah - Forum - Danbooru" so that more of the thread title is visible in tabs. * Change "Reply ยป" to "Post reply" for consistency with comments (where the new comment link is called "Post comment". * Remove "Topic: " so that topic titles take up less space on mobile. --- app/views/forum_topics/show.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/forum_topics/show.html.erb b/app/views/forum_topics/show.html.erb index 2322a6421..699175cfc 100644 --- a/app/views/forum_topics/show.html.erb +++ b/app/views/forum_topics/show.html.erb @@ -1,7 +1,7 @@

- Topic: <%= @forum_topic.title %> + <%= @forum_topic.title %> <% if @forum_topic.min_level >= User::Levels::MODERATOR %> (<%= User.level_string(@forum_topic.min_level).downcase %>+ only) @@ -24,7 +24,7 @@ <% if CurrentUser.is_member? %> <% if CurrentUser.is_moderator? || !@forum_topic.is_locked? %> -

<%= link_to "Reply »".html_safe, new_forum_post_path(:topic_id => @forum_topic.id), :id => "new-response-link" %>

+

<%= link_to "Post reply", new_forum_post_path(topic_id: @forum_topic.id), id: "new-response-link" %>