Issues can be unassigned now
This commit is contained in:
parent
6abc649590
commit
88c625e3f7
8 changed files with 29 additions and 17 deletions
|
@ -14,7 +14,7 @@
|
|||
= f.text_field :title, :maxlength => 255, :class => "xxlarge"
|
||||
.issue_middle_block
|
||||
.issue_assignee
|
||||
= f.label :assignee_id, "Assign to *"
|
||||
= f.label :assignee_id, "Assign to"
|
||||
.input= f.select(:assignee_id, @project.users.all.collect {|p| [ p.name, p.id ] }, { :include_blank => "Assign to user" })
|
||||
.issue_milestone
|
||||
= f.label :milestone_id
|
||||
|
|
|
@ -15,12 +15,20 @@
|
|||
%i.icon-edit
|
||||
Edit
|
||||
|
||||
= image_tag gravatar_icon(issue.assignee_email), :class => "avatar"
|
||||
%span.update-author
|
||||
assigned to
|
||||
%strong= issue.assignee_name
|
||||
- if issue.upvotes > 0
|
||||
%span.badge.badge-success= "+#{issue.upvotes}"
|
||||
|
||||
- if issue.assignee
|
||||
= image_tag gravatar_icon(issue.assignee_email), :class => "avatar"
|
||||
%span.update-author
|
||||
assigned to
|
||||
%strong= issue.assignee_name
|
||||
- if issue.upvotes > 0
|
||||
%span.badge.badge-success= "+#{issue.upvotes}"
|
||||
|
||||
- else
|
||||
= image_tag "no_avatar.png", :class => "avatar"
|
||||
%span.update-author
|
||||
Unassigned
|
||||
- if issue.upvotes > 0
|
||||
%span.badge.badge-success= "+#{issue.upvotes}"
|
||||
|
||||
= link_to project_issue_path(issue.project, issue) do
|
||||
%p.row_title= truncate(issue.title, :length => 100)
|
||||
|
|
|
@ -38,9 +38,10 @@
|
|||
= image_tag gravatar_icon(@issue.author_email), :width => 16, :class => "lil_av"
|
||||
%strong.author= link_to_issue_author(@issue)
|
||||
|
||||
%cite.cgray and currently assigned to
|
||||
= image_tag gravatar_icon(@issue.assignee_email), :width => 16, :class => "lil_av"
|
||||
%strong.author= link_to_issue_assignee(@issue)
|
||||
- if @issue.assignee
|
||||
%cite.cgray and currently assigned to
|
||||
= image_tag gravatar_icon(@issue.assignee_email), :width => 16, :class => "lil_av"
|
||||
%strong.author= link_to_issue_assignee(@issue)
|
||||
|
||||
- if @issue.milestone
|
||||
- milestone = @issue.milestone
|
||||
|
|
|
@ -49,8 +49,6 @@
|
|||
%tr
|
||||
%td
|
||||
= link_to [@project, issue] do
|
||||
= image_tag gravatar_icon(issue.assignee_email, 16), :width => "16"
|
||||
|
||||
%span.badge.badge-info ##{issue.id}
|
||||
–
|
||||
= truncate issue.title, :length => 60
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue