diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-23 10:11:08 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-23 10:11:08 +0000 |
commit | b778c51e9049ca2c0d745a699db6d93d53b71175 (patch) | |
tree | 8608956d05f884b557ea3451bead74a4dc9441f0 /app/views/issues | |
parent | ec201b08b3cfd1e115704abdbd7bc541a3651fe1 (diff) | |
download | redmine-b778c51e9049ca2c0d745a699db6d93d53b71175.tar.gz redmine-b778c51e9049ca2c0d745a699db6d93d53b71175.zip |
Removed unneeded #h calls in views.
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/_relations.html.erb | 2 | ||||
-rw-r--r-- | app/views/issues/bulk_edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/issues/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/issues/index.html.erb | 2 | ||||
-rw-r--r-- | app/views/issues/show.html.erb | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/app/views/issues/_relations.html.erb b/app/views/issues/_relations.html.erb index fcb1759ef..d3e7f4d0b 100644 --- a/app/views/issues/_relations.html.erb +++ b/app/views/issues/_relations.html.erb @@ -16,7 +16,7 @@ <td class="subject" style="width: 50%"> <%= relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe %> </td> - <td class="status"><%=h other_issue.status.name %></td> + <td class="status"><%= other_issue.status.name %></td> <td class="start_date"><%= format_date(other_issue.start_date) %></td> <td class="due_date"><%= format_date(other_issue.due_date) %></td> <td class="buttons"><%= link_to image_tag('link_break.png'), diff --git a/app/views/issues/bulk_edit.html.erb b/app/views/issues/bulk_edit.html.erb index 4cdc257da..b4ec3d542 100644 --- a/app/views/issues/bulk_edit.html.erb +++ b/app/views/issues/bulk_edit.html.erb @@ -93,7 +93,7 @@ <% @custom_fields.each do |custom_field| %> <p> - <label><%= h(custom_field.name) %></label> + <label><%= custom_field.name %></label> <%= custom_field_tag_for_bulk_edit('issue', custom_field, @issues, @issue_params[:custom_field_values][custom_field.id.to_s]) %> </p> <% end %> diff --git a/app/views/issues/edit.html.erb b/app/views/issues/edit.html.erb index f2c6024ba..1cd61b783 100644 --- a/app/views/issues/edit.html.erb +++ b/app/views/issues/edit.html.erb @@ -1,4 +1,4 @@ -<h2><%=h "#{@issue.tracker.name} ##{@issue.id}" %></h2> +<h2><%= "#{@issue.tracker.name} ##{@issue.id}" %></h2> <%= render :partial => 'edit' %> <% content_for :header_tags do %> diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 50c8bf9bf..55bfc5647 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -5,7 +5,7 @@ <% end %> </div> -<h2><%= @query.new_record? ? l(:label_issue_plural) : h(@query.name) %></h2> +<h2><%= @query.new_record? ? l(:label_issue_plural) : @query.name %></h2> <% html_title(@query.new_record? ? l(:label_issue_plural) : @query.name) %> <%= form_tag({ :controller => 'issues', :action => 'index', :project_id => @project }, diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 6a514ac88..ad8ee98a4 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -35,14 +35,14 @@ <table class="attributes"> <%= issue_fields_rows do |rows| - rows.left l(:field_status), h(@issue.status.name), :class => 'status' - rows.left l(:field_priority), h(@issue.priority.name), :class => 'priority' + rows.left l(:field_status), @issue.status.name, :class => 'status' + rows.left l(:field_priority), @issue.priority.name, :class => 'priority' unless @issue.disabled_core_fields.include?('assigned_to_id') rows.left l(:field_assigned_to), avatar(@issue.assigned_to, :size => "14").to_s.html_safe + (@issue.assigned_to ? link_to_user(@issue.assigned_to) : "-"), :class => 'assigned-to' end unless @issue.disabled_core_fields.include?('category_id') - rows.left l(:field_category), h(@issue.category ? @issue.category.name : "-"), :class => 'category' + rows.left l(:field_category), (@issue.category ? @issue.category.name : "-"), :class => 'category' end unless @issue.disabled_core_fields.include?('fixed_version_id') rows.left l(:field_fixed_version), (@issue.fixed_version ? link_to_version(@issue.fixed_version) : "-"), :class => 'fixed-version' |