Mercurial > hg > soundsoftware-site
annotate .svn/pristine/6c/6c35fd2827c4fb05906709fec38d2634247670e6.svn-base @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | |
children |
rev | line source |
---|---|
Chris@1517 | 1 <h3 class="title"><%= l(:permission_add_issue_watchers) %></h3> |
Chris@1517 | 2 |
Chris@1517 | 3 <%= form_tag({:controller => 'watchers', |
Chris@1517 | 4 :action => (watched ? 'create' : 'append'), |
Chris@1517 | 5 :object_type => (watched && watched.class.name.underscore), |
Chris@1517 | 6 :object_id => watched, |
Chris@1517 | 7 :project_id => @project}, |
Chris@1517 | 8 :remote => true, |
Chris@1517 | 9 :method => :post, |
Chris@1517 | 10 :id => 'new-watcher-form') do %> |
Chris@1517 | 11 |
Chris@1517 | 12 <p><%= label_tag 'user_search', l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p> |
Chris@1517 | 13 <%= javascript_tag "observeSearchfield('user_search', 'users_for_watcher', '#{ escape_javascript url_for(:controller => 'watchers', |
Chris@1517 | 14 :action => 'autocomplete_for_user', |
Chris@1517 | 15 :object_type => (watched && watched.class.name.underscore), |
Chris@1517 | 16 :object_id => watched, |
Chris@1517 | 17 :project_id => @project) }')" %> |
Chris@1517 | 18 |
Chris@1517 | 19 <div id="users_for_watcher"> |
Chris@1517 | 20 <%= principals_check_box_tags('watcher[user_ids][]', users) %> |
Chris@1517 | 21 </div> |
Chris@1517 | 22 |
Chris@1517 | 23 <p class="buttons"> |
Chris@1517 | 24 <%= submit_tag l(:button_add), :name => nil, :onclick => "hideModal(this);" %> |
Chris@1517 | 25 <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %> |
Chris@1517 | 26 </p> |
Chris@1517 | 27 <% end %> |