summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-02-23 23:08:00 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-02-23 23:08:00 +0000
commit34d14500c95713d25bbb0cc170aa0247aca5e8ad (patch)
treec5963161ea64b2c2cc0d0fcee72a2cba419bdf5b /app/views
parent77aab5c468f3ae0877a4aff820fa1ea670520ef4 (diff)
downloadredmine-34d14500c95713d25bbb0cc170aa0247aca5e8ad.tar.gz
redmine-34d14500c95713d25bbb0cc170aa0247aca5e8ad.zip
Rails3: view: html_safe for auto_link of project homepage
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8956 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/show.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index 8ba36ba04..5371bc4c8 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -11,9 +11,11 @@
<%= textilizable @project.description %>
</div>
<ul>
- <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %></li><% end %>
+ <% unless @project.homepage.blank? %>
+ <li><%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)).html_safe %></li>
+ <% end %>
<% if @subprojects.any? %>
- <li><%=l(:label_subproject_plural)%>:
+ <li><%=l(:label_subproject_plural)%>:
<%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ").html_safe %></li>
<% end %>
<% @project.visible_custom_field_values.each do |custom_value| %>