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/my | |
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/my')
-rw-r--r-- | app/views/my/_sidebar.html.erb | 2 | ||||
-rw-r--r-- | app/views/my/blocks/_timelog.html.erb | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/my/_sidebar.html.erb b/app/views/my/_sidebar.html.erb index 4c9270fc7..a35bcaf77 100644 --- a/app/views/my/_sidebar.html.erb +++ b/app/views/my/_sidebar.html.erb @@ -22,7 +22,7 @@ <h4><%= l(:label_api_access_key) %></h4> <div> <%= link_to_function(l(:button_show), "$('#api-access-key').toggle();")%> - <pre id='api-access-key' class='autoscroll'><%= h(@user.api_key) %></pre> + <pre id='api-access-key' class='autoscroll'><%= @user.api_key %></pre> </div> <%= javascript_tag("$('#api-access-key').hide();") %> <p> diff --git a/app/views/my/blocks/_timelog.html.erb b/app/views/my/blocks/_timelog.html.erb index f88de9549..747039c85 100644 --- a/app/views/my/blocks/_timelog.html.erb +++ b/app/views/my/blocks/_timelog.html.erb @@ -36,9 +36,9 @@ entries_by_day = entries.group_by(&:spent_on) </tr> <% entries_by_day[day].each do |entry| -%> <tr class="time-entry" style="border-bottom: 1px solid #f5f5f5;"> - <td class="activity"><%=h entry.activity %></td> - <td class="subject"><%=h entry.project %> <%= h(' - ') + link_to_issue(entry.issue, :truncate => 50) if entry.issue %></td> - <td class="comments"><%=h entry.comments %></td> + <td class="activity"><%= entry.activity %></td> + <td class="subject"><%= entry.project %> <%= h(' - ') + link_to_issue(entry.issue, :truncate => 50) if entry.issue %></td> + <td class="comments"><%= entry.comments %></td> <td class="hours"><%= html_hours("%.2f" % entry.hours) %></td> <td class="buttons"> <% if entry.editable_by?(@user) -%> |