Made many buttons and titles more consistent.

This commit is contained in:
Logan Fick
2018-03-12 19:26:55 -04:00
parent 5eadded99c
commit 16a2b0fa18
22 changed files with 57 additions and 57 deletions

View File

@@ -10,14 +10,14 @@
if params[:forum]
text = "forum '#{Forum.find(params[:forum]).name}'"
if params_list.except(:forum).any?
text = "Search results in #{text} (#{@threads.total_count})"
text = "Search Results in #{text} (#{@threads.total_count})"
else
text = text.capitalize
end
elsif params_list.any?
text = "Search results (#{@threads.total_count})"
text = "Search Results (#{@threads.total_count})"
else
text = "All threads"
text = "All Threads"
end
%>
<%= title text %>