diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-24 19:26:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-24 19:26:09 +0000 |
commit | 24b000fb242eb71c3c55bfaf30039edbbf359c6a (patch) | |
tree | d4b97ff1f55f37dd03357b85dbcdaca15cb6de38 /app | |
parent | 964c550a605d9f10c3d65a945b38c49f7ece5d3a (diff) | |
download | redmine-24b000fb242eb71c3c55bfaf30039edbbf359c6a.tar.gz redmine-24b000fb242eb71c3c55bfaf30039edbbf359c6a.zip |
Slight change to issues/show.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@762 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/attachments/_links.rhtml | 2 | ||||
-rw-r--r-- | app/views/issues/show.rhtml | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/attachments/_links.rhtml b/app/views/attachments/_links.rhtml index afae91a7b..cce11292e 100644 --- a/app/views/attachments/_links.rhtml +++ b/app/views/attachments/_links.rhtml @@ -3,7 +3,7 @@ <p><%= link_to attachment.filename, {:controller => 'attachments', :action => 'download', :id => attachment }, :class => 'icon icon-attachment' %> (<%= number_to_human_size attachment.filesize %>) <% unless options[:no_author] %> - <em><%= attachment.author.name %>, <%= format_date(attachment.created_on) %></em> + <span class="author"><%= attachment.author.name %>, <%= format_date(attachment.created_on) %></span> <% end %> <% if options[:delete_url] %> <%= link_to image_tag('delete.png'), options[:delete_url].update({:attachment_id => attachment}), :confirm => l(:text_are_you_sure), :method => :post %> 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 %> </div> <% end %> -<p><b><%=l(:field_description)%></b></p> +<p><strong><%=l(:field_description)%></strong></p> <%= 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? %> <hr /> <div id="relations"> @@ -72,10 +76,6 @@ end %> </div> <% 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 %> - </div> <% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %> |