2013-03-20 20:36:22 +00:00
|
|
|
.people.clear.selected
|
|
|
|
%span.icon-remove-circle
|
2013-03-20 20:59:25 +00:00
|
|
|
= t('layout.issues.clear_assignee')
|
2013-03-20 20:36:22 +00:00
|
|
|
.container
|
2013-03-20 20:59:25 +00:00
|
|
|
%span= t('layout.issues.no_one_is_assigned')
|
2013-03-20 20:36:22 +00:00
|
|
|
= hidden_field_tag "user-nil", nil, :name => "issue[assignee_id]"
|
2013-03-20 15:06:25 +00:00
|
|
|
|
|
|
|
- users = (@users || [])
|
|
|
|
- users.each_with_index do |user, index|
|
2012-04-13 20:44:04 +01:00
|
|
|
.people.selected{:id => "user-#{index}", :class => 'add_assignee'}
|
2012-03-06 18:59:29 +00:00
|
|
|
.avatar= image_tag(avatar_url(user), :alt => 'avatar')
|
2013-03-20 20:36:22 +00:00
|
|
|
.name= user.fullname
|
|
|
|
.container
|
|
|
|
.image
|
2013-03-21 11:07:08 +00:00
|
|
|
= image_tag(avatar_url(user, :micro), :alt => 'avatar')
|
2013-03-29 12:20:06 +00:00
|
|
|
%span.name= link_to(user.fullname, user_path(user))
|
2013-03-20 20:59:25 +00:00
|
|
|
%span= t('layout.issues.is_assigned')
|
2013-03-20 20:36:22 +00:00
|
|
|
= hidden_field_tag "user-#{index}", user.id, :name => "issue[assignee_id]"
|
2012-02-27 16:10:12 +00:00
|
|
|
.both
|
2013-03-20 15:06:25 +00:00
|
|
|
- if users.empty?
|
2013-03-20 20:59:25 +00:00
|
|
|
.nothing= t('layout.issues.nothing_to_show')
|