Slight improvements to the browser views.
ApplicationHelper#set_html_title replaced by html_title with arguments and can be called several times in views to append elements to the title. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1032 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<% if @query.new_record? %>
|
||||
<h2><%=l(:label_issue_plural)%></h2>
|
||||
<% set_html_title l(:label_issue_plural) %>
|
||||
<% html_title(l(:label_issue_plural)) %>
|
||||
|
||||
<% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
|
||||
<%= hidden_field_tag('project_id', @project.id) if @project %>
|
||||
@@ -32,9 +32,9 @@
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<h2><%= @query.name %></h2>
|
||||
<h2><%=h @query.name %></h2>
|
||||
<div id="query_form"></div>
|
||||
<% set_html_title @query.name %>
|
||||
<% html_title @query.name %>
|
||||
<% end %>
|
||||
<%= error_messages_for 'query' %>
|
||||
<% if @query.valid? %>
|
||||
|
||||
@@ -116,7 +116,7 @@ end %>
|
||||
</div>
|
||||
|
||||
|
||||
<% set_html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
|
||||
<% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
|
||||
|
||||
<% content_for :sidebar do %>
|
||||
<%= render :partial => 'issues/sidebar' %>
|
||||
|
||||
Reference in New Issue
Block a user