emptyTags.patch

Peter Schuster, 2010-08-11 11:42

Download (946 Bytes)

View differences:

app/views/projects/show.rhtml (working copy)
7 7
<h2><%=l(:label_overview)%></h2> 
8 8
	
9 9
<div class="splitcontentleft">
10
	<div class="wiki">
10
	<% unless @project.description.blank? %><div class="wiki">
11 11
		<%= textilizable @project.description %>
12
	</div>	
12
	</div><% end %>
13
	<% if !@project.custom_values.empty? || !@project.homepage.blank? || !@subprojects.empty? %>
13 14
	<ul>
14 15
	<% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %></li><% end %>
15 16
  <% if @subprojects.any? %>
......
21 22
	   <li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
22 23
	<% end %>
23 24
	<% end %>
24
	</ul>	
25
	</ul><% end %>
25 26

  
26 27
  <% if User.current.allowed_to?(:view_issues, @project) %>
27 28
  <div class="issues box">