summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/history.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-23 10:11:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-23 10:11:08 +0000
commitb778c51e9049ca2c0d745a699db6d93d53b71175 (patch)
tree8608956d05f884b557ea3451bead74a4dc9441f0 /app/views/wiki/history.html.erb
parentec201b08b3cfd1e115704abdbd7bc541a3651fe1 (diff)
downloadredmine-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/wiki/history.html.erb')
-rw-r--r--app/views/wiki/history.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/history.html.erb b/app/views/wiki/history.html.erb
index ebac6d514..136923460 100644
--- a/app/views/wiki/history.html.erb
+++ b/app/views/wiki/history.html.erb
@@ -20,12 +20,12 @@
<% line_num = 1 %>
<% @versions.each do |ver| %>
<tr class="wiki-page-version <%= cycle("odd", "even") %>">
- <td class="id"><%= link_to h(ver.version), :action => 'show', :id => @page.title, :project_id => @page.project, :version => ver.version %></td>
+ <td class="id"><%= link_to ver.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => ver.version %></td>
<td class="checkbox"><%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('#cbto-#{line_num+1}').prop('checked', true);") if show_diff && (line_num < @versions.size) %></td>
<td class="checkbox"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}") if show_diff && (line_num > 1) %></td>
<td class="updated_on"><%= format_time(ver.updated_on) %></td>
<td class="author"><%= link_to_user ver.author %></td>
- <td class="comments"><%=h ver.comments %></td>
+ <td class="comments"><%= ver.comments %></td>
<td class="buttons">
<%= link_to l(:button_annotate), :action => 'annotate', :id => @page.title, :version => ver.version %>
<%= delete_link wiki_page_path(@page, :version => ver.version) if User.current.allowed_to?(:delete_wiki_pages, @page.project) && @version_count > 1 %>