Patch #38796 » improved_tracker_selection_on_cf_settings.patch
| app/views/custom_fields/_visibility_by_tracker_selector.html.erb | ||
|---|---|---|
|
<fieldset class="box" id="custom_field_tracker_ids"><legend><%= toggle_checkboxes_link("#custom_field_tracker_ids input[type=checkbox]") %><%=l(:label_tracker_plural)%></legend>
|
||
|
<fieldset class="box tabular" id="custom_field_tracker_ids"><legend><%= toggle_checkboxes_link("#custom_field_tracker_ids input[type=checkbox]") %><%=l(:label_tracker_plural)%></legend>
|
||
|
<% tracker_ids = @custom_field.tracker_ids %>
|
||
|
<% Tracker.sorted.each do |tracker| %>
|
||
|
<%= check_box_tag "custom_field[tracker_ids][]",
|
||
|
tracker.id,
|
||
|
tracker_ids.include?(tracker.id),
|
||
|
:id => "custom_field_tracker_ids_#{tracker.id}" %>
|
||
|
<label class="no-css" for="custom_field_tracker_ids_<%=tracker.id%>">
|
||
|
<label class="floating">
|
||
|
<%= check_box_tag "custom_field[tracker_ids][]",
|
||
|
tracker.id,
|
||
|
tracker_ids.include?(tracker.id),
|
||
|
:id => "custom_field_tracker_ids_#{tracker.id}" %>
|
||
|
<%= tracker.name %>
|
||
|
</label>
|
||
|
<% end %>
|
||
| public/stylesheets/application.css | ||
|---|---|---|
|
width: 270px;
|
||
|
}
|
||
|
#custom_field_tracker_ids {
|
||
|
max-height: 200px;
|
||
|
overflow: auto;
|
||
|
}
|
||
|
.splitcontent .tabular label.floating{
|
||
|
font-weight: normal;
|
||
|
margin-left: 0px;
|
||
|
text-align: left;
|
||
|
width: 200px;
|
||
|
}
|
||
|
label.block {
|
||
|
display: block;
|
||
|
width: auto !important;
|
||
- « Previous
- 1
- 2
- 3
- Next »