summaryrefslogtreecommitdiffstats
path: root/app/views/projects/show.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-03 10:28:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-03 10:28:08 +0000
commit92a23c05bb71e62426cec2298d90b39fadd0eb52 (patch)
tree87093cc5919c75b4a34392cad6176e9ebf639059 /app/views/projects/show.rhtml
parent7d8af70a6362517cab9aa2dc2054fa8dd8581ad8 (diff)
downloadredmine-92a23c05bb71e62426cec2298d90b39fadd0eb52.tar.gz
redmine-92a23c05bb71e62426cec2298d90b39fadd0eb52.zip
Project name format limitation removed (name can now contain any character).
Project identifier maximum length changed from 12 to 20. git-svn-id: http://redmine.rubyforge.org/svn/trunk@949 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/show.rhtml')
-rw-r--r--app/views/projects/show.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml
index 458e7975e..bb01df1f4 100644
--- a/app/views/projects/show.rhtml
+++ b/app/views/projects/show.rhtml
@@ -5,10 +5,10 @@
<ul>
<% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link @project.homepage %></li><% end %>
<% if @subprojects.any? %>
- <li><%=l(:label_subproject_plural)%>: <%= @subprojects.collect{|p| link_to(p.name, :action => 'show', :id => p)}.join(", ") %></li>
+ <li><%=l(:label_subproject_plural)%>: <%= @subprojects.collect{|p| link_to(h(p.name), :action => 'show', :id => p)}.join(", ") %></li>
<% end %>
<% if @project.parent %>
- <li><%=l(:field_parent)%>: <%= link_to @project.parent.name, :controller => 'projects', :action => 'show', :id => @project.parent %></li>
+ <li><%=l(:field_parent)%>: <%= link_to h(@project.parent.name), :controller => 'projects', :action => 'show', :id => @project.parent %></li>
<% end %>
<% for custom_value in @custom_values %>
<% if !custom_value.value.empty? %>