Redmine 4.1.1

This commit is contained in:
Manuel Cillero 2020-11-22 21:20:06 +01:00
parent 33e7b881a5
commit 3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions

View file

@ -1,5 +1,6 @@
<%= error_messages_for 'tracker' %>
<div class="splitcontent">
<div class="splitcontentleft">
<div class="box tabular">
<!--[form:tracker]-->
@ -10,6 +11,7 @@
:required => true %>
</p>
<p><%= f.check_box :is_in_roadmap %></p>
<p><%= f.text_area :description, :rows => 4 %></p>
<p>
<label><%= l(:field_core_fields) %></label>
<% Tracker::CORE_FIELDS.each do |field| %>
@ -46,13 +48,13 @@
<div class="splitcontentright">
<% if @projects.any? %>
<fieldset class="box" id="tracker_project_ids"><legend><%= l(:label_project_plural) %></legend>
<fieldset class="box" id="tracker_project_ids"><legend><%= toggle_checkboxes_link("#tracker_project_ids input[type=checkbox]") %><%= l(:label_project_plural) %></legend>
<% project_ids = @tracker.project_ids.to_a %>
<%= render_project_nested_lists(@projects) do |p|
content_tag('label', check_box_tag('tracker[project_ids][]', p.id, project_ids.include?(p.id), :id => nil) + ' ' + h(p))
end %>
<%= hidden_field_tag('tracker[project_ids][]', '', :id => nil) %>
<p><%= check_all_links 'tracker_project_ids' %></p>
</fieldset>
<% end %>
</div>
</div>

View file

@ -3,7 +3,7 @@
<% if @trackers.any? %>
<%= form_tag fields_trackers_path do %>
<div class="autoscroll">
<table class="list">
<table class="list tracker-summary">
<thead>
<tr>
<th></th>
@ -20,7 +20,7 @@
<tbody>
<tr class="group open">
<td colspan="<%= @trackers.size + 1 %>">
<span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
<span class="expander icon icon-expended" onclick="toggleRowGroup(this);">&nbsp;</span>
<%= l(:field_core_fields) %>
</td>
</tr>
@ -44,7 +44,7 @@
<% if @custom_fields.any? %>
<tr class="group open">
<td colspan="<%= @trackers.size + 1 %>">
<span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
<span class="expander icon icon-expended" onclick="toggleRowGroup(this);">&nbsp;</span>
<%= l(:label_custom_field_plural) %>
</td>
</tr>

View file

@ -4,6 +4,7 @@ api.array :trackers do
api.id tracker.id
api.name tracker.name
api.default_status(:id => tracker.default_status.id, :name => tracker.default_status.name) unless tracker.default_status.nil?
api.description tracker.description
end
end
end

View file

@ -8,6 +8,8 @@
<table class="list trackers">
<thead><tr>
<th><%=l(:label_tracker)%></th>
<th><%=l(:field_default_status)%></th>
<th><%=l(:field_description)%></th>
<th></th>
<th></th>
</tr></thead>
@ -15,6 +17,8 @@
<% for tracker in @trackers %>
<tr>
<td class="name"><%= link_to tracker.name, edit_tracker_path(tracker) %></td>
<td><%= tracker.default_status.name %></td>
<td class="description"><%= tracker.description %></td>
<td>
<% unless tracker.workflow_rules.exists? %>
<span class="icon icon-warning">