From 24b000fb242eb71c3c55bfaf30039edbbf359c6a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 24 Sep 2007 19:26:09 +0000 Subject: Slight change to issues/show. git-svn-id: http://redmine.rubyforge.org/svn/trunk@762 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/show.rhtml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/views/issues') diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index de9e38bb9..593fdad10 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -62,9 +62,13 @@ end %> <% end %> -

<%=l(:field_description)%>

+

<%=l(:field_description)%>

<%= textilizable @issue.description, :attachments => @issue.attachments %> +<% if @issue.attachments.any? %> +<%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %> +<% end %> + <% if authorize_for('issue_relations', 'new') || @issue.relations.any? %>
@@ -72,10 +76,6 @@ end %>
<% end %> -<% if @issue.attachments.any? %> -<%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %> -<% end %> - <% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %> -- cgit v1.2.3