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/messages | |
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/messages')
-rw-r--r-- | app/views/messages/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/messages/new.html.erb | 2 | ||||
-rw-r--r-- | app/views/messages/show.html.erb | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/messages/edit.html.erb b/app/views/messages/edit.html.erb index 7ce0560bb..53948e4da 100644 --- a/app/views/messages/edit.html.erb +++ b/app/views/messages/edit.html.erb @@ -1,6 +1,6 @@ <%= board_breadcrumb(@message) %> -<h2><%= avatar(@topic.author, :size => "24") %><%=h @topic.subject %></h2> +<h2><%= avatar(@topic.author, :size => "24") %><%= @topic.subject %></h2> <%= form_for @message, { :as => :message, diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb index fbdac695f..f8d840694 100644 --- a/app/views/messages/new.html.erb +++ b/app/views/messages/new.html.erb @@ -1,4 +1,4 @@ -<h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> » <%= l(:label_message_new) %></h2> +<h2><%= link_to @board.name, :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> » <%= l(:label_message_new) %></h2> <%= form_for @message, :url => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %> <%= render :partial => 'form', :locals => {:f => f} %> diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb index cb5e84a87..533be20bb 100644 --- a/app/views/messages/show.html.erb +++ b/app/views/messages/show.html.erb @@ -22,7 +22,7 @@ ) if @message.destroyable_by?(User.current) %> </div> -<h2><%= avatar(@topic.author, :size => "24") %><%=h @topic.subject %></h2> +<h2><%= avatar(@topic.author, :size => "24") %><%= @topic.subject %></h2> <div class="message"> <p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p> @@ -59,7 +59,7 @@ </div> <h4> <%= avatar(message.author, :size => "24") %> - <%= link_to h(message.subject), { :controller => 'messages', :action => 'show', :board_id => @board, :id => @topic, :r => message, :anchor => "message-#{message.id}" } %> + <%= link_to message.subject, { :controller => 'messages', :action => 'show', :board_id => @board, :id => @topic, :r => message, :anchor => "message-#{message.id}" } %> - <%= authoring message.created_on, message.author %> </h4> |