Convert remaining heading titles to use h1

This makes them consistent with all the other pages that use h1
in the `content_for :heading` sections
This commit is contained in:
Andy Allan 2021-11-11 15:12:18 +00:00
parent c615bebc29
commit 75749cc540
10 changed files with 13 additions and 13 deletions

View file

@ -1,5 +1,5 @@
<% content_for :heading do %>
<h2><%= t ".heading", :id => h(params[:id]) %></h2>
<h1><%= t ".heading", :id => h(params[:id]) %></h1>
<% end %>
<p><%= t ".body", :id => h(params[:id]) %></p>

View file

@ -4,7 +4,7 @@
<%= user_image @entry.user %>
</div>
<div class="col">
<h2><%= link_to t(".user_title", :user => @entry.user.display_name), :action => :index %></h2>
<h1><%= link_to t(".user_title", :user => @entry.user.display_name), :action => :index %></h1>
<p><%= rss_link_to :action => :rss, :display_name => @entry.user.display_name %></p>
</div>
</div>

View file

@ -1,5 +1,5 @@
<% content_for :heading do %>
<h2><%= t ".title", :status => @issue.status.humanize, :issue_id => @issue.id %></h2>
<h1><%= t ".title", :status => @issue.status.humanize, :issue_id => @issue.id %></h1>
<p><%= @issue.reportable.model_name.human %> : <%= link_to reportable_title(@issue.reportable), reportable_url(@issue.reportable) %></p>
<p class="text-muted">
<small>

View file

@ -1,5 +1,5 @@
<% content_for :heading do %>
<h2><%= t(".send_message_to_html", :name => link_to(@message.recipient.display_name, user_path(@message.recipient))) %></h2>
<h1><%= t(".send_message_to_html", :name => link_to(@message.recipient.display_name, user_path(@message.recipient))) %></h1>
<% end %>
<%= bootstrap_form_for @message do |f| %>

View file

@ -1,5 +1,5 @@
<% content_for :heading do %>
<h2><%= @message.title %></h2>
<h1><%= @message.title %></h1>
<% end %>
<% if current_user == @message.recipient %>

View file

@ -1,5 +1,5 @@
<% content_for :heading do %>
<h2><%= t ".heading", :user => @user.display_name %></h2>
<h1><%= t ".heading", :user => @user.display_name %></h1>
<p><%= t ".subheading_html", :user => link_to(@user.display_name, user_path(@user)) %></p>
<% end %>

View file

@ -1,5 +1,5 @@
<% content_for :heading do %>
<h2><%= t ".heading", :name => @trace.name %></h2>
<h1><%= t ".heading", :name => @trace.name %></h1>
<% end %>
<img src="<%= url_for :controller => "traces", :action => "picture", :id => @trace.id, :display_name => @trace.user.display_name %>">

View file

@ -1,5 +1,5 @@
<% content_for :heading do %>
<h2><%= t ".heading" %></h2>
<h1><%= t ".heading" %></h1>
<% end %>
<p><%= t ".message" %></p>

View file

@ -1,5 +1,5 @@
<% content_for :heading do %>
<h2><%= t ".heading", :name => @trace.name %></h2>
<h1><%= t ".heading", :name => @trace.name %></h1>
<% end %>
<% if Settings.status != "gpx_offline" %>