Mercurial > hg > soundsoftware-site
annotate app/views/watchers/_watchers.html.erb @ 1458:b1f4c9a2af24 bug_794
Makes the default radio button checked by default -- this should fix bug #794.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 11 Nov 2013 18:25:22 +0000 |
parents | 433d4f72a19b |
children |
rev | line source |
---|---|
Chris@1115 | 1 <% if User.current.allowed_to?(:add_issue_watchers, @project) %> |
Chris@0 | 2 <div class="contextual"> |
Chris@1115 | 3 <%= link_to l(:button_add), |
Chris@1115 | 4 {:controller => 'watchers', :action => 'new', :object_type => watched.class.name.underscore, :object_id => watched}, |
Chris@1115 | 5 :remote => true, |
Chris@1115 | 6 :method => 'get' %> |
Chris@0 | 7 </div> |
Chris@1115 | 8 <% end %> |
Chris@0 | 9 |
Chris@0 | 10 <h3><%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)</h3> |
Chris@0 | 11 |
Chris@0 | 12 <%= watchers_list(watched) %> |