]> source.dussan.org Git - redmine.git/commitdiff
link_to project homepage instead of auto_link (#1937).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 18 Oct 2008 10:42:29 +0000 (10:42 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 18 Oct 2008 10:42:29 +0000 (10:42 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1940 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/show.rhtml

index c1d8bb2c6e834b858f855a553704f287beb952c9..fa6571306af59031cd513120aaa98ef9dc6eab83 100644 (file)
@@ -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 %>