rosa-build/app/views/projects/issues/_search_collaborators.html....

21 lines
789 B
Plaintext
Raw Normal View History

.people.clear.selected
%span.icon-remove-circle
2013-03-20 20:59:25 +00:00
= t('layout.issues.clear_assignee')
.container
2013-03-20 20:59:25 +00:00
%span= t('layout.issues.no_one_is_assigned')
= hidden_field_tag "user-nil", nil, :name => "issue[assignee_id]"
- 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'}
.avatar= image_tag(avatar_url(user), :alt => 'avatar')
.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')
= hidden_field_tag "user-#{index}", user.id, :name => "issue[assignee_id]"
.both
- if users.empty?
2013-03-20 20:59:25 +00:00
.nothing= t('layout.issues.nothing_to_show')