summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-10-18 10:42:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-10-18 10:42:29 +0000
commita0c29d8f99c4b055cd5463703a9a71b1ff0a7bba (patch)
treef26e6fa67ac4ab05ca112ae87514665b904b09b7
parent58fbf5e66f3bea4f8fa9b4c6638dc2d36dc328a4 (diff)
downloadredmine-a0c29d8f99c4b055cd5463703a9a71b1ff0a7bba.tar.gz
redmine-a0c29d8f99c4b055cd5463703a9a71b1ff0a7bba.zip
link_to project homepage instead of auto_link (#1937).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1940 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/projects/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml
index c1d8bb2c6..fa6571306 100644
--- a/app/views/projects/show.rhtml
+++ b/app/views/projects/show.rhtml
@@ -3,7 +3,7 @@
<div class="splitcontentleft">
<%= textilizable @project.description %>
<ul>
- <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %></li><% end %>
+ <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= link_to(h(@project.homepage), @project.homepage) %></li><% end %>
<% if @subprojects.any? %>
<li><%=l(:label_subproject_plural)%>: <%= @subprojects.collect{|p| link_to(h(p.name), :action => 'show', :id => p)}.join(", ") %></li>
<% end %>