Project

General

Profile

Defect #15398 » issues_new.diff

Ksenia Altbregen, 2013-11-19 12:16

View differences:

app/views/issues/new.html.erb (revision 1337)
30 30
      <p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
31 31
<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>
32 32
</p>
33
<p>
34
<div style="display:none;" id="watchers_list">
35
      <span id="watchers_inputs">
36
        <%= watchers_checkboxes(@issue, @available_watchers) %>
37
      </span>
38
      <span class="search_for_watchers">
39
      <%= link_to l(:label_search_for_watchers),
40
                  {:controller => 'watchers', :action => 'new', :project_id => @issue.project},
41
                  :remote => true,
42
                  :method => 'get' %>
43
      </span>
44
      </p>
45
</div>
33
<p style="display:none;" id="watchers_list">
34
  <span id="watchers_inputs">
35
    <%= watchers_checkboxes(@issue, @available_watchers) %>
36
  </span>
37
  <span class="search_for_watchers">
38
    <%= link_to l(:label_search_for_watchers),
39
                {:controller => 'watchers', :action => 'new', :project_id => @issue.project},
40
                :remote => true,
41
                :method => 'get' %>
42
  </span>
43
</p>
46 44
    <% end %>
47 45
  </div>
48 46

  
(2-2/2)