Feature #24940 » 0001-New-issue-Show-watchers-in-spoiler.patch
| app/views/issues/new.html.erb | ||
|---|---|---|
|
<p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @issue} %></p>
|
||
|
<% if @issue.safe_attribute? 'watcher_user_ids' -%>
|
||
|
<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
|
||
|
<span id="watchers_inputs">
|
||
|
<%= watchers_checkboxes(@issue, users_for_new_issue_watchers(@issue)) %>
|
||
|
</span>
|
||
|
<span class="search_for_watchers">
|
||
|
<%= link_to l(:label_search_for_watchers),
|
||
|
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
|
||
|
:class => 'icon icon-add-bullet',
|
||
|
:remote => true,
|
||
|
:method => 'get' %>
|
||
|
</span>
|
||
|
</p>
|
||
|
<fieldset id="watchers_form" class="collapsible collapsed">
|
||
|
<legend onclick="toggleFieldset(this);"><%= l(:label_issue_watchers) %></legend>
|
||
|
<div style="display: none;">
|
||
|
<span id="watchers_inputs">
|
||
|
<%= watchers_checkboxes(@issue, users_for_new_issue_watchers(@issue)) %>
|
||
|
</span>
|
||
|
<span class="search_for_watchers">
|
||
|
<%= link_to l(:label_search_for_watchers),
|
||
|
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
|
||
|
:class => 'icon icon-add-bullet',
|
||
|
:remote => true,
|
||
|
:method => 'get' %>
|
||
|
</span>
|
||
|
</div>
|
||
|
</fieldset>
|
||
|
<% end %>
|
||
|
</div>
|
||
| public/stylesheets/application.css | ||
|---|---|---|
|
min-height: 2em;
|
||
|
clear:left;
|
||
|
}
|
||
|
.tabular fieldset {
|
||
|
padding-left: 163px;
|
||
|
min-height: 3em;
|
||
|
margin-top: 10px;
|
||
|
}
|
||
|
html>body .tabular p {overflow:hidden;}
|
||
| public/stylesheets/responsive.css | ||
|---|---|---|
|
padding-left: 0;
|
||
|
}
|
||
|
.tabular fieldset {
|
||
|
padding-left: 0;
|
||
|
}
|
||
|
.tabular label, .tabular.settings label {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
- « Previous
- 1
- 2
- Next »