summaryrefslogtreecommitdiffstats
path: root/app/views/projects/show.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-28 09:10:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-28 09:10:33 +0000
commit26e9a0d919122a2bbf150c96fe68b697011f808a (patch)
tree2c6b8261d48da3c02bd5ca11ebbabfe1b8448c61 /app/views/projects/show.rhtml
parentddec53b9a24726eb18ba255aa97f9bdec6b44b34 (diff)
downloadredmine-26e9a0d919122a2bbf150c96fe68b697011f808a.tar.gz
redmine-26e9a0d919122a2bbf150c96fe68b697011f808a.zip
Fixed: Wrong link when "http" not included in project "Homepage" link (#4944).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3498 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/show.rhtml')
-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 7d5412af0..c47a44364 100644
--- a/app/views/projects/show.rhtml
+++ b/app/views/projects/show.rhtml
@@ -9,7 +9,7 @@
<div class="splitcontentleft">
<%= textilizable @project.description %>
<ul>
- <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= link_to(h(@project.homepage), @project.homepage) %></li><% end %>
+ <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %></li><% end %>
<% if @subprojects.any? %>
<li><%=l(:label_subproject_plural)%>:
<%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ") %></li>