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/common | |
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/common')
-rw-r--r-- | app/views/common/_calendar.html.erb | 4 | ||||
-rw-r--r-- | app/views/common/error.html.erb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/common/_calendar.html.erb b/app/views/common/_calendar.html.erb index 7951b68ce..d950749aa 100644 --- a/app/views/common/_calendar.html.erb +++ b/app/views/common/_calendar.html.erb @@ -12,13 +12,13 @@ while day <= calendar.enddt %> <% calendar.events_on(day).each do |i| %> <% if i.is_a? Issue %> <div class="<%= i.css_classes %> <%= 'starting' if day == i.start_date %> <%= 'ending' if day == i.due_date %> tooltip"> - <%= h("#{i.project} -") unless @project && @project == i.project %> + <%= "#{i.project} -" unless @project && @project == i.project %> <%= link_to_issue i, :truncate => 30 %> <span class="tip"><%= render_issue_tooltip i %></span> </div> <% else %> <span class="icon icon-package"> - <%= h("#{i.project} -") unless @project && @project == i.project %> + <%= "#{i.project} -" unless @project && @project == i.project %> <%= link_to_version i%> </span> <% end %> diff --git a/app/views/common/error.html.erb b/app/views/common/error.html.erb index 5bb43dea0..a5ec39c3a 100644 --- a/app/views/common/error.html.erb +++ b/app/views/common/error.html.erb @@ -1,7 +1,7 @@ -<h2><%=h @status %></h2> +<h2><%= @status %></h2> <% if @message.present? %> - <p id="errorExplanation"><%=h @message %></p> + <p id="errorExplanation"><%= @message %></p> <% end %> <p><a href="javascript:history.back()"><%= l(:button_back) %></a></p> |