Defect #15398 » issues_new.diff
| app/views/issues/new.html.erb (revision 1337) | ||
|---|---|---|
|
<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
|
||
|
<a href="#" onclick="$('#watchers_list').toggle(); $('#w_show').toggle(); $('#w_hide').toggle();"><span id="w_show" style="display:inline">Show</span><span id="w_hide" style="display:none">Hide</span></a>
|
||
|
</p>
|
||
|
<p>
|
||
|
<div style="display:none;" id="watchers_list">
|
||
|
<span id="watchers_inputs">
|
||
|
<%= watchers_checkboxes(@issue, @available_watchers) %>
|
||
|
</span>
|
||
|
<span class="search_for_watchers">
|
||
|
<%= link_to l(:label_search_for_watchers),
|
||
|
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
|
||
|
:remote => true,
|
||
|
:method => 'get' %>
|
||
|
</span>
|
||
|
</p>
|
||
|
</div>
|
||
|
<p style="display:none;" id="watchers_list">
|
||
|
<span id="watchers_inputs">
|
||
|
<%= watchers_checkboxes(@issue, @available_watchers) %>
|
||
|
</span>
|
||
|
<span class="search_for_watchers">
|
||
|
<%= link_to l(:label_search_for_watchers),
|
||
|
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
|
||
|
:remote => true,
|
||
|
:method => 'get' %>
|
||
|
</span>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
</div>
|
||
- « Previous
- 1
- 2
- Next »