|
|
|
@ -34,7 +34,7 @@ See docs/COPYRIGHT.rdoc for more details. |
|
|
|
|
<div class="form--field"><%= setting_check_box :work_package_startdate_is_adddate %></div> |
|
|
|
|
<div class="form--field"><%= setting_select :work_package_done_ratio, WorkPackage::DONE_RATIO_OPTIONS.collect {|i| [t("setting_work_package_done_ratio_#{i}"), i]}, container_class: '-middle' %></div> |
|
|
|
|
<div class="form--field"><%= setting_text_field :work_packages_export_limit, size: 6, container_class: '-xslim' %></div> |
|
|
|
|
<div class="form--field"> |
|
|
|
|
<div class="form--field settings--highlighting-mode"> |
|
|
|
|
<%= setting_select :work_package_list_default_highlighting_mode, |
|
|
|
|
Query::Highlighting::QUERY_HIGHLIGHTING_MODES.map { |mode| |
|
|
|
|
[t("settings.highlighting.mode_long.#{mode}"), mode] |
|
|
|
@ -42,16 +42,12 @@ See docs/COPYRIGHT.rdoc for more details. |
|
|
|
|
container_class: '-middle' |
|
|
|
|
%> |
|
|
|
|
</div> |
|
|
|
|
<div class="form--field settings--highlighted-attributes"> |
|
|
|
|
<div class="form--field settings--highlighted-attributes" style="<%= 'display: none' unless Setting[:work_package_list_default_highlighting_mode] == 'inline' %>"> |
|
|
|
|
<%= setting_multiselect :work_package_list_default_highlighted_attributes, |
|
|
|
|
Query.available_columns(nil).select(&:highlightable).map { |column| |
|
|
|
|
[column.caption, column.name.to_s] |
|
|
|
|
} |
|
|
|
|
%> |
|
|
|
|
<span class="form--field-instructions"> |
|
|
|
|
<%= t('settings.highlighting.instructions.inline.choose_inline') %><br/> |
|
|
|
|
<%= t('settings.highlighting.instructions.inline.unselect_all') %> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
</section> |
|
|
|
|
<fieldset class="form--fieldset"><legend class="form--fieldset-legend"><%= t(:setting_column_options) %></legend> |
|
|
|
|