Made many buttons and titles more consistent.
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user