2011-11-25 11:41:30 +01:00
|
|
|
.issue-show-holder.ui-box
|
|
|
|
%h3
|
|
|
|
= "Issue ##{@issue.id}"
|
|
|
|
.right
|
2011-11-24 17:47:27 +01:00
|
|
|
- if @issue.closed
|
|
|
|
%span.tag.high Resolved
|
|
|
|
- else
|
|
|
|
%span.tag.today Open
|
|
|
|
|
2011-11-25 11:41:30 +01:00
|
|
|
.data
|
2011-11-25 11:49:28 +01:00
|
|
|
%p= @issue.title
|
2011-11-24 17:47:27 +01:00
|
|
|
|
2011-11-25 11:41:30 +01:00
|
|
|
- if @issue.author == @issue.assignee
|
|
|
|
= image_tag gravatar_icon(@issue.assignee_email), :width => 20, :style => "padding:0 5px;"
|
|
|
|
= @issue.assignee_name
|
|
|
|
- else
|
|
|
|
= image_tag gravatar_icon(@issue.author_email), :width => 20, :style => "padding:0 5px;"
|
|
|
|
= @issue.author_name
|
|
|
|
→
|
|
|
|
= image_tag gravatar_icon(@issue.assignee_email), :width => 20, :style => "padding:0 5px;"
|
|
|
|
= @issue.assignee_name
|
|
|
|
.right
|
|
|
|
%cite.cgray= @issue.created_at.stamp("21 Aug 2011, 11:15pm")
|
|
|
|
.clear
|
2011-11-24 14:08:20 +01:00
|
|
|
|
2011-11-25 11:41:30 +01:00
|
|
|
.buttons
|
|
|
|
- if can? current_user, :write_issue, @issue
|
|
|
|
- if @issue.closed
|
|
|
|
= link_to 'Reopen', project_issue_path(@project, @issue, :issue => {:closed => false }, :status_only => true), :method => :put, :class => "grey-button"
|
|
|
|
- else
|
|
|
|
= link_to 'Resolve', project_issue_path(@project, @issue, :issue => {:closed => true }, :status_only => true), :method => :put, :class => "grey-button"
|
|
|
|
.right
|
|
|
|
= link_to 'Edit', edit_project_issue_path(@project, @issue), :class => "grey-button positive"
|
2011-11-24 14:08:20 +01:00
|
|
|
|
2011-11-25 11:41:30 +01:00
|
|
|
.clear
|
2011-11-24 14:08:20 +01:00
|
|
|
%br
|
|
|
|
%br
|
|
|
|
|
|
|
|
.issue_notes= render "notes/notes"
|
|
|
|
.loading{ :style => "display:none;"}
|
|
|
|
%center= image_tag "ajax-loader.gif"
|
2011-10-08 23:36:38 +02:00
|
|
|
.clear
|