##// END OF EJS Templates
Option for long text custom fields to be displayed under the description field (#21705)....
Jean-Philippe Lang -
r15869:b40d66f39fa8
parent child
Show More

The requested changes are too big and content was truncated. Show full diff

@@ -1,524 +1,544
1 # encoding: utf-8
1 # encoding: utf-8
2 #
2 #
3 # Redmine - project management software
3 # Redmine - project management software
4 # Copyright (C) 2006-2016 Jean-Philippe Lang
4 # Copyright (C) 2006-2016 Jean-Philippe Lang
5 #
5 #
6 # This program is free software; you can redistribute it and/or
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
9 # of the License, or (at your option) any later version.
10 #
10 #
11 # This program is distributed in the hope that it will be useful,
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
14 # GNU General Public License for more details.
15 #
15 #
16 # You should have received a copy of the GNU General Public License
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
19
20 module IssuesHelper
20 module IssuesHelper
21 include ApplicationHelper
21 include ApplicationHelper
22 include Redmine::Export::PDF::IssuesPdfHelper
22 include Redmine::Export::PDF::IssuesPdfHelper
23
23
24 def issue_list(issues, &block)
24 def issue_list(issues, &block)
25 ancestors = []
25 ancestors = []
26 issues.each do |issue|
26 issues.each do |issue|
27 while (ancestors.any? && !issue.is_descendant_of?(ancestors.last))
27 while (ancestors.any? && !issue.is_descendant_of?(ancestors.last))
28 ancestors.pop
28 ancestors.pop
29 end
29 end
30 yield issue, ancestors.size
30 yield issue, ancestors.size
31 ancestors << issue unless issue.leaf?
31 ancestors << issue unless issue.leaf?
32 end
32 end
33 end
33 end
34
34
35 def grouped_issue_list(issues, query, issue_count_by_group, &block)
35 def grouped_issue_list(issues, query, issue_count_by_group, &block)
36 ancestors = []
36 ancestors = []
37 grouped_query_results(issues, query, issue_count_by_group) do |issue, group_name, group_count, group_totals|
37 grouped_query_results(issues, query, issue_count_by_group) do |issue, group_name, group_count, group_totals|
38 while (ancestors.any? && !issue.is_descendant_of?(ancestors.last))
38 while (ancestors.any? && !issue.is_descendant_of?(ancestors.last))
39 ancestors.pop
39 ancestors.pop
40 end
40 end
41 yield issue, ancestors.size, group_name, group_count, group_totals
41 yield issue, ancestors.size, group_name, group_count, group_totals
42 ancestors << issue unless issue.leaf?
42 ancestors << issue unless issue.leaf?
43 end
43 end
44 end
44 end
45
45
46 # Renders a HTML/CSS tooltip
46 # Renders a HTML/CSS tooltip
47 #
47 #
48 # To use, a trigger div is needed. This is a div with the class of "tooltip"
48 # To use, a trigger div is needed. This is a div with the class of "tooltip"
49 # that contains this method wrapped in a span with the class of "tip"
49 # that contains this method wrapped in a span with the class of "tip"
50 #
50 #
51 # <div class="tooltip"><%= link_to_issue(issue) %>
51 # <div class="tooltip"><%= link_to_issue(issue) %>
52 # <span class="tip"><%= render_issue_tooltip(issue) %></span>
52 # <span class="tip"><%= render_issue_tooltip(issue) %></span>
53 # </div>
53 # </div>
54 #
54 #
55 def render_issue_tooltip(issue)
55 def render_issue_tooltip(issue)
56 @cached_label_status ||= l(:field_status)
56 @cached_label_status ||= l(:field_status)
57 @cached_label_start_date ||= l(:field_start_date)
57 @cached_label_start_date ||= l(:field_start_date)
58 @cached_label_due_date ||= l(:field_due_date)
58 @cached_label_due_date ||= l(:field_due_date)
59 @cached_label_assigned_to ||= l(:field_assigned_to)
59 @cached_label_assigned_to ||= l(:field_assigned_to)
60 @cached_label_priority ||= l(:field_priority)
60 @cached_label_priority ||= l(:field_priority)
61 @cached_label_project ||= l(:field_project)
61 @cached_label_project ||= l(:field_project)
62
62
63 link_to_issue(issue) + "<br /><br />".html_safe +
63 link_to_issue(issue) + "<br /><br />".html_safe +
64 "<strong>#{@cached_label_project}</strong>: #{link_to_project(issue.project)}<br />".html_safe +
64 "<strong>#{@cached_label_project}</strong>: #{link_to_project(issue.project)}<br />".html_safe +
65 "<strong>#{@cached_label_status}</strong>: #{h(issue.status.name)}<br />".html_safe +
65 "<strong>#{@cached_label_status}</strong>: #{h(issue.status.name)}<br />".html_safe +
66 "<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />".html_safe +
66 "<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />".html_safe +
67 "<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />".html_safe +
67 "<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />".html_safe +
68 "<strong>#{@cached_label_assigned_to}</strong>: #{h(issue.assigned_to)}<br />".html_safe +
68 "<strong>#{@cached_label_assigned_to}</strong>: #{h(issue.assigned_to)}<br />".html_safe +
69 "<strong>#{@cached_label_priority}</strong>: #{h(issue.priority.name)}".html_safe
69 "<strong>#{@cached_label_priority}</strong>: #{h(issue.priority.name)}".html_safe
70 end
70 end
71
71
72 def issue_heading(issue)
72 def issue_heading(issue)
73 h("#{issue.tracker} ##{issue.id}")
73 h("#{issue.tracker} ##{issue.id}")
74 end
74 end
75
75
76 def render_issue_subject_with_tree(issue)
76 def render_issue_subject_with_tree(issue)
77 s = ''
77 s = ''
78 ancestors = issue.root? ? [] : issue.ancestors.visible.to_a
78 ancestors = issue.root? ? [] : issue.ancestors.visible.to_a
79 ancestors.each do |ancestor|
79 ancestors.each do |ancestor|
80 s << '<div>' + content_tag('p', link_to_issue(ancestor, :project => (issue.project_id != ancestor.project_id)))
80 s << '<div>' + content_tag('p', link_to_issue(ancestor, :project => (issue.project_id != ancestor.project_id)))
81 end
81 end
82 s << '<div>'
82 s << '<div>'
83 subject = h(issue.subject)
83 subject = h(issue.subject)
84 if issue.is_private?
84 if issue.is_private?
85 subject = content_tag('span', l(:field_is_private), :class => 'private') + ' ' + subject
85 subject = content_tag('span', l(:field_is_private), :class => 'private') + ' ' + subject
86 end
86 end
87 s << content_tag('h3', subject)
87 s << content_tag('h3', subject)
88 s << '</div>' * (ancestors.size + 1)
88 s << '</div>' * (ancestors.size + 1)
89 s.html_safe
89 s.html_safe
90 end
90 end
91
91
92 def render_descendants_tree(issue)
92 def render_descendants_tree(issue)
93 s = '<table class="list issues">'
93 s = '<table class="list issues">'
94 issue_list(issue.descendants.visible.preload(:status, :priority, :tracker, :assigned_to).sort_by(&:lft)) do |child, level|
94 issue_list(issue.descendants.visible.preload(:status, :priority, :tracker, :assigned_to).sort_by(&:lft)) do |child, level|
95 css = "issue issue-#{child.id} hascontextmenu #{child.css_classes}"
95 css = "issue issue-#{child.id} hascontextmenu #{child.css_classes}"
96 css << " idnt idnt-#{level}" if level > 0
96 css << " idnt idnt-#{level}" if level > 0
97 s << content_tag('tr',
97 s << content_tag('tr',
98 content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') +
98 content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') +
99 content_tag('td', link_to_issue(child, :project => (issue.project_id != child.project_id)), :class => 'subject', :style => 'width: 50%') +
99 content_tag('td', link_to_issue(child, :project => (issue.project_id != child.project_id)), :class => 'subject', :style => 'width: 50%') +
100 content_tag('td', h(child.status), :class => 'status') +
100 content_tag('td', h(child.status), :class => 'status') +
101 content_tag('td', link_to_user(child.assigned_to), :class => 'assigned_to') +
101 content_tag('td', link_to_user(child.assigned_to), :class => 'assigned_to') +
102 content_tag('td', child.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(child.done_ratio), :class=> 'done_ratio'),
102 content_tag('td', child.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(child.done_ratio), :class=> 'done_ratio'),
103 :class => css)
103 :class => css)
104 end
104 end
105 s << '</table>'
105 s << '</table>'
106 s.html_safe
106 s.html_safe
107 end
107 end
108
108
109 # Renders the list of related issues on the issue details view
109 # Renders the list of related issues on the issue details view
110 def render_issue_relations(issue, relations)
110 def render_issue_relations(issue, relations)
111 manage_relations = User.current.allowed_to?(:manage_issue_relations, issue.project)
111 manage_relations = User.current.allowed_to?(:manage_issue_relations, issue.project)
112
112
113 s = ''.html_safe
113 s = ''.html_safe
114 relations.each do |relation|
114 relations.each do |relation|
115 other_issue = relation.other_issue(issue)
115 other_issue = relation.other_issue(issue)
116 css = "issue hascontextmenu #{other_issue.css_classes}"
116 css = "issue hascontextmenu #{other_issue.css_classes}"
117 link = manage_relations ? link_to(l(:label_relation_delete),
117 link = manage_relations ? link_to(l(:label_relation_delete),
118 relation_path(relation),
118 relation_path(relation),
119 :remote => true,
119 :remote => true,
120 :method => :delete,
120 :method => :delete,
121 :data => {:confirm => l(:text_are_you_sure)},
121 :data => {:confirm => l(:text_are_you_sure)},
122 :title => l(:label_relation_delete),
122 :title => l(:label_relation_delete),
123 :class => 'icon-only icon-link-break'
123 :class => 'icon-only icon-link-break'
124 ) : nil
124 ) : nil
125
125
126 s << content_tag('tr',
126 s << content_tag('tr',
127 content_tag('td', check_box_tag("ids[]", other_issue.id, false, :id => nil), :class => 'checkbox') +
127 content_tag('td', check_box_tag("ids[]", other_issue.id, false, :id => nil), :class => 'checkbox') +
128 content_tag('td', relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe, :class => 'subject', :style => 'width: 50%') +
128 content_tag('td', relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe, :class => 'subject', :style => 'width: 50%') +
129 content_tag('td', other_issue.status, :class => 'status') +
129 content_tag('td', other_issue.status, :class => 'status') +
130 content_tag('td', other_issue.start_date, :class => 'start_date') +
130 content_tag('td', other_issue.start_date, :class => 'start_date') +
131 content_tag('td', other_issue.due_date, :class => 'due_date') +
131 content_tag('td', other_issue.due_date, :class => 'due_date') +
132 content_tag('td', other_issue.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(other_issue.done_ratio), :class=> 'done_ratio') +
132 content_tag('td', other_issue.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(other_issue.done_ratio), :class=> 'done_ratio') +
133 content_tag('td', link, :class => 'buttons'),
133 content_tag('td', link, :class => 'buttons'),
134 :id => "relation-#{relation.id}",
134 :id => "relation-#{relation.id}",
135 :class => css)
135 :class => css)
136 end
136 end
137
137
138 content_tag('table', s, :class => 'list issues')
138 content_tag('table', s, :class => 'list issues')
139 end
139 end
140
140
141 def issue_estimated_hours_details(issue)
141 def issue_estimated_hours_details(issue)
142 if issue.total_estimated_hours.present?
142 if issue.total_estimated_hours.present?
143 if issue.total_estimated_hours == issue.estimated_hours
143 if issue.total_estimated_hours == issue.estimated_hours
144 l_hours_short(issue.estimated_hours)
144 l_hours_short(issue.estimated_hours)
145 else
145 else
146 s = issue.estimated_hours.present? ? l_hours_short(issue.estimated_hours) : ""
146 s = issue.estimated_hours.present? ? l_hours_short(issue.estimated_hours) : ""
147 s << " (#{l(:label_total)}: #{l_hours_short(issue.total_estimated_hours)})"
147 s << " (#{l(:label_total)}: #{l_hours_short(issue.total_estimated_hours)})"
148 s.html_safe
148 s.html_safe
149 end
149 end
150 end
150 end
151 end
151 end
152
152
153 def issue_spent_hours_details(issue)
153 def issue_spent_hours_details(issue)
154 if issue.total_spent_hours > 0
154 if issue.total_spent_hours > 0
155 path = project_time_entries_path(issue.project, :issue_id => "~#{issue.id}")
155 path = project_time_entries_path(issue.project, :issue_id => "~#{issue.id}")
156
156
157 if issue.total_spent_hours == issue.spent_hours
157 if issue.total_spent_hours == issue.spent_hours
158 link_to(l_hours_short(issue.spent_hours), path)
158 link_to(l_hours_short(issue.spent_hours), path)
159 else
159 else
160 s = issue.spent_hours > 0 ? l_hours_short(issue.spent_hours) : ""
160 s = issue.spent_hours > 0 ? l_hours_short(issue.spent_hours) : ""
161 s << " (#{l(:label_total)}: #{link_to l_hours_short(issue.total_spent_hours), path})"
161 s << " (#{l(:label_total)}: #{link_to l_hours_short(issue.total_spent_hours), path})"
162 s.html_safe
162 s.html_safe
163 end
163 end
164 end
164 end
165 end
165 end
166
166
167 # Returns an array of error messages for bulk edited issues
167 # Returns an array of error messages for bulk edited issues
168 def bulk_edit_error_messages(issues)
168 def bulk_edit_error_messages(issues)
169 messages = {}
169 messages = {}
170 issues.each do |issue|
170 issues.each do |issue|
171 issue.errors.full_messages.each do |message|
171 issue.errors.full_messages.each do |message|
172 messages[message] ||= []
172 messages[message] ||= []
173 messages[message] << issue
173 messages[message] << issue
174 end
174 end
175 end
175 end
176 messages.map { |message, issues|
176 messages.map { |message, issues|
177 "#{message}: " + issues.map {|i| "##{i.id}"}.join(', ')
177 "#{message}: " + issues.map {|i| "##{i.id}"}.join(', ')
178 }
178 }
179 end
179 end
180
180
181 # Returns a link for adding a new subtask to the given issue
181 # Returns a link for adding a new subtask to the given issue
182 def link_to_new_subtask(issue)
182 def link_to_new_subtask(issue)
183 attrs = {
183 attrs = {
184 :parent_issue_id => issue
184 :parent_issue_id => issue
185 }
185 }
186 attrs[:tracker_id] = issue.tracker unless issue.tracker.disabled_core_fields.include?('parent_issue_id')
186 attrs[:tracker_id] = issue.tracker unless issue.tracker.disabled_core_fields.include?('parent_issue_id')
187 link_to(l(:button_add), new_project_issue_path(issue.project, :issue => attrs))
187 link_to(l(:button_add), new_project_issue_path(issue.project, :issue => attrs))
188 end
188 end
189
189
190 def trackers_options_for_select(issue)
190 def trackers_options_for_select(issue)
191 trackers = issue.allowed_target_trackers
191 trackers = issue.allowed_target_trackers
192 if issue.new_record? && issue.parent_issue_id.present?
192 if issue.new_record? && issue.parent_issue_id.present?
193 trackers = trackers.reject do |tracker|
193 trackers = trackers.reject do |tracker|
194 issue.tracker_id != tracker.id && tracker.disabled_core_fields.include?('parent_issue_id')
194 issue.tracker_id != tracker.id && tracker.disabled_core_fields.include?('parent_issue_id')
195 end
195 end
196 end
196 end
197 trackers.collect {|t| [t.name, t.id]}
197 trackers.collect {|t| [t.name, t.id]}
198 end
198 end
199
199
200 class IssueFieldsRows
200 class IssueFieldsRows
201 include ActionView::Helpers::TagHelper
201 include ActionView::Helpers::TagHelper
202
202
203 def initialize
203 def initialize
204 @left = []
204 @left = []
205 @right = []
205 @right = []
206 end
206 end
207
207
208 def left(*args)
208 def left(*args)
209 args.any? ? @left << cells(*args) : @left
209 args.any? ? @left << cells(*args) : @left
210 end
210 end
211
211
212 def right(*args)
212 def right(*args)
213 args.any? ? @right << cells(*args) : @right
213 args.any? ? @right << cells(*args) : @right
214 end
214 end
215
215
216 def size
216 def size
217 @left.size > @right.size ? @left.size : @right.size
217 @left.size > @right.size ? @left.size : @right.size
218 end
218 end
219
219
220 def to_html
220 def to_html
221 content =
221 content =
222 content_tag('div', @left.reduce(&:+), :class => 'splitcontentleft') +
222 content_tag('div', @left.reduce(&:+), :class => 'splitcontentleft') +
223 content_tag('div', @right.reduce(&:+), :class => 'splitcontentleft')
223 content_tag('div', @right.reduce(&:+), :class => 'splitcontentleft')
224
224
225 content_tag('div', content, :class => 'splitcontent')
225 content_tag('div', content, :class => 'splitcontent')
226 end
226 end
227
227
228 def cells(label, text, options={})
228 def cells(label, text, options={})
229 options[:class] = [options[:class] || "", 'attribute'].join(' ')
229 options[:class] = [options[:class] || "", 'attribute'].join(' ')
230 content_tag 'div',
230 content_tag 'div',
231 content_tag('div', label + ":", :class => 'label') + content_tag('div', text, :class => 'value'),
231 content_tag('div', label + ":", :class => 'label') + content_tag('div', text, :class => 'value'),
232 options
232 options
233 end
233 end
234 end
234 end
235
235
236 def issue_fields_rows
236 def issue_fields_rows
237 r = IssueFieldsRows.new
237 r = IssueFieldsRows.new
238 yield r
238 yield r
239 r.to_html
239 r.to_html
240 end
240 end
241
241
242 def render_custom_fields_rows(issue)
242 def render_half_width_custom_fields_rows(issue)
243 values = issue.visible_custom_field_values
243 values = issue.visible_custom_field_values.reject {|value| value.custom_field.full_width_layout?}
244 return if values.empty?
244 return if values.empty?
245 half = (values.size / 2.0).ceil
245 half = (values.size / 2.0).ceil
246 issue_fields_rows do |rows|
246 issue_fields_rows do |rows|
247 values.each_with_index do |value, i|
247 values.each_with_index do |value, i|
248 css = "cf_#{value.custom_field.id}"
248 css = "cf_#{value.custom_field.id}"
249 m = (i < half ? :left : :right)
249 m = (i < half ? :left : :right)
250 rows.send m, custom_field_name_tag(value.custom_field), show_value(value), :class => css
250 rows.send m, custom_field_name_tag(value.custom_field), show_value(value), :class => css
251 end
251 end
252 end
252 end
253 end
253 end
254
254
255 def render_full_width_custom_fields_rows(issue)
256 values = issue.visible_custom_field_values.select {|value| value.custom_field.full_width_layout?}
257 return if values.empty?
258
259 s = ''
260 values.each_with_index do |value, i|
261 if value.custom_field.text_formatting == 'full'
262 attr_value = content_tag('div', show_value(value), class: 'wiki')
263 else
264 attr_value = show_value(value)
265 end
266 content =
267 content_tag('hr') +
268 content_tag('p', content_tag('strong', custom_field_name_tag(value.custom_field) )) +
269 content_tag('div', attr_value, class: 'value')
270 s << content_tag('div', content, class: "cf_#{value.custom_field.id} attribute")
271 end
272 s.html_safe
273 end
274
255 # Returns the path for updating the issue form
275 # Returns the path for updating the issue form
256 # with project as the current project
276 # with project as the current project
257 def update_issue_form_path(project, issue)
277 def update_issue_form_path(project, issue)
258 options = {:format => 'js'}
278 options = {:format => 'js'}
259 if issue.new_record?
279 if issue.new_record?
260 if project
280 if project
261 new_project_issue_path(project, options)
281 new_project_issue_path(project, options)
262 else
282 else
263 new_issue_path(options)
283 new_issue_path(options)
264 end
284 end
265 else
285 else
266 edit_issue_path(issue, options)
286 edit_issue_path(issue, options)
267 end
287 end
268 end
288 end
269
289
270 # Returns the number of descendants for an array of issues
290 # Returns the number of descendants for an array of issues
271 def issues_descendant_count(issues)
291 def issues_descendant_count(issues)
272 ids = issues.reject(&:leaf?).map {|issue| issue.descendants.ids}.flatten.uniq
292 ids = issues.reject(&:leaf?).map {|issue| issue.descendants.ids}.flatten.uniq
273 ids -= issues.map(&:id)
293 ids -= issues.map(&:id)
274 ids.size
294 ids.size
275 end
295 end
276
296
277 def issues_destroy_confirmation_message(issues)
297 def issues_destroy_confirmation_message(issues)
278 issues = [issues] unless issues.is_a?(Array)
298 issues = [issues] unless issues.is_a?(Array)
279 message = l(:text_issues_destroy_confirmation)
299 message = l(:text_issues_destroy_confirmation)
280
300
281 descendant_count = issues_descendant_count(issues)
301 descendant_count = issues_descendant_count(issues)
282 if descendant_count > 0
302 if descendant_count > 0
283 message << "\n" + l(:text_issues_destroy_descendants_confirmation, :count => descendant_count)
303 message << "\n" + l(:text_issues_destroy_descendants_confirmation, :count => descendant_count)
284 end
304 end
285 message
305 message
286 end
306 end
287
307
288 # Returns an array of users that are proposed as watchers
308 # Returns an array of users that are proposed as watchers
289 # on the new issue form
309 # on the new issue form
290 def users_for_new_issue_watchers(issue)
310 def users_for_new_issue_watchers(issue)
291 users = issue.watcher_users
311 users = issue.watcher_users
292 if issue.project.users.count <= 20
312 if issue.project.users.count <= 20
293 users = (users + issue.project.users.sort).uniq
313 users = (users + issue.project.users.sort).uniq
294 end
314 end
295 users
315 users
296 end
316 end
297
317
298 def email_issue_attributes(issue, user, html)
318 def email_issue_attributes(issue, user, html)
299 items = []
319 items = []
300 %w(author status priority assigned_to category fixed_version).each do |attribute|
320 %w(author status priority assigned_to category fixed_version).each do |attribute|
301 unless issue.disabled_core_fields.include?(attribute+"_id")
321 unless issue.disabled_core_fields.include?(attribute+"_id")
302 if html
322 if html
303 items << content_tag('strong', "#{l("field_#{attribute}")}: ") + (issue.send attribute)
323 items << content_tag('strong', "#{l("field_#{attribute}")}: ") + (issue.send attribute)
304 else
324 else
305 items << "#{l("field_#{attribute}")}: #{issue.send attribute}"
325 items << "#{l("field_#{attribute}")}: #{issue.send attribute}"
306 end
326 end
307 end
327 end
308 end
328 end
309 issue.visible_custom_field_values(user).each do |value|
329 issue.visible_custom_field_values(user).each do |value|
310 if html
330 if html
311 items << content_tag('strong', "#{value.custom_field.name}: ") + show_value(value, false)
331 items << content_tag('strong', "#{value.custom_field.name}: ") + show_value(value, false)
312 else
332 else
313 items << "#{value.custom_field.name}: #{show_value(value, false)}"
333 items << "#{value.custom_field.name}: #{show_value(value, false)}"
314 end
334 end
315 end
335 end
316 items
336 items
317 end
337 end
318
338
319 def render_email_issue_attributes(issue, user, html=false)
339 def render_email_issue_attributes(issue, user, html=false)
320 items = email_issue_attributes(issue, user, html)
340 items = email_issue_attributes(issue, user, html)
321 if html
341 if html
322 content_tag('ul', items.map{|s| content_tag('li', s)}.join("\n").html_safe, :class => "details")
342 content_tag('ul', items.map{|s| content_tag('li', s)}.join("\n").html_safe, :class => "details")
323 else
343 else
324 items.map{|s| "* #{s}"}.join("\n")
344 items.map{|s| "* #{s}"}.join("\n")
325 end
345 end
326 end
346 end
327
347
328 # Returns the textual representation of a journal details
348 # Returns the textual representation of a journal details
329 # as an array of strings
349 # as an array of strings
330 def details_to_strings(details, no_html=false, options={})
350 def details_to_strings(details, no_html=false, options={})
331 options[:only_path] = (options[:only_path] == false ? false : true)
351 options[:only_path] = (options[:only_path] == false ? false : true)
332 strings = []
352 strings = []
333 values_by_field = {}
353 values_by_field = {}
334 details.each do |detail|
354 details.each do |detail|
335 if detail.property == 'cf'
355 if detail.property == 'cf'
336 field = detail.custom_field
356 field = detail.custom_field
337 if field && field.multiple?
357 if field && field.multiple?
338 values_by_field[field] ||= {:added => [], :deleted => []}
358 values_by_field[field] ||= {:added => [], :deleted => []}
339 if detail.old_value
359 if detail.old_value
340 values_by_field[field][:deleted] << detail.old_value
360 values_by_field[field][:deleted] << detail.old_value
341 end
361 end
342 if detail.value
362 if detail.value
343 values_by_field[field][:added] << detail.value
363 values_by_field[field][:added] << detail.value
344 end
364 end
345 next
365 next
346 end
366 end
347 end
367 end
348 strings << show_detail(detail, no_html, options)
368 strings << show_detail(detail, no_html, options)
349 end
369 end
350 if values_by_field.present?
370 if values_by_field.present?
351 multiple_values_detail = Struct.new(:property, :prop_key, :custom_field, :old_value, :value)
371 multiple_values_detail = Struct.new(:property, :prop_key, :custom_field, :old_value, :value)
352 values_by_field.each do |field, changes|
372 values_by_field.each do |field, changes|
353 if changes[:added].any?
373 if changes[:added].any?
354 detail = multiple_values_detail.new('cf', field.id.to_s, field)
374 detail = multiple_values_detail.new('cf', field.id.to_s, field)
355 detail.value = changes[:added]
375 detail.value = changes[:added]
356 strings << show_detail(detail, no_html, options)
376 strings << show_detail(detail, no_html, options)
357 end
377 end
358 if changes[:deleted].any?
378 if changes[:deleted].any?
359 detail = multiple_values_detail.new('cf', field.id.to_s, field)
379 detail = multiple_values_detail.new('cf', field.id.to_s, field)
360 detail.old_value = changes[:deleted]
380 detail.old_value = changes[:deleted]
361 strings << show_detail(detail, no_html, options)
381 strings << show_detail(detail, no_html, options)
362 end
382 end
363 end
383 end
364 end
384 end
365 strings
385 strings
366 end
386 end
367
387
368 # Returns the textual representation of a single journal detail
388 # Returns the textual representation of a single journal detail
369 def show_detail(detail, no_html=false, options={})
389 def show_detail(detail, no_html=false, options={})
370 multiple = false
390 multiple = false
371 show_diff = false
391 show_diff = false
372 no_details = false
392 no_details = false
373
393
374 case detail.property
394 case detail.property
375 when 'attr'
395 when 'attr'
376 field = detail.prop_key.to_s.gsub(/\_id$/, "")
396 field = detail.prop_key.to_s.gsub(/\_id$/, "")
377 label = l(("field_" + field).to_sym)
397 label = l(("field_" + field).to_sym)
378 case detail.prop_key
398 case detail.prop_key
379 when 'due_date', 'start_date'
399 when 'due_date', 'start_date'
380 value = format_date(detail.value.to_date) if detail.value
400 value = format_date(detail.value.to_date) if detail.value
381 old_value = format_date(detail.old_value.to_date) if detail.old_value
401 old_value = format_date(detail.old_value.to_date) if detail.old_value
382
402
383 when 'project_id', 'status_id', 'tracker_id', 'assigned_to_id',
403 when 'project_id', 'status_id', 'tracker_id', 'assigned_to_id',
384 'priority_id', 'category_id', 'fixed_version_id'
404 'priority_id', 'category_id', 'fixed_version_id'
385 value = find_name_by_reflection(field, detail.value)
405 value = find_name_by_reflection(field, detail.value)
386 old_value = find_name_by_reflection(field, detail.old_value)
406 old_value = find_name_by_reflection(field, detail.old_value)
387
407
388 when 'estimated_hours'
408 when 'estimated_hours'
389 value = l_hours_short(detail.value.to_f) unless detail.value.blank?
409 value = l_hours_short(detail.value.to_f) unless detail.value.blank?
390 old_value = l_hours_short(detail.old_value.to_f) unless detail.old_value.blank?
410 old_value = l_hours_short(detail.old_value.to_f) unless detail.old_value.blank?
391
411
392 when 'parent_id'
412 when 'parent_id'
393 label = l(:field_parent_issue)
413 label = l(:field_parent_issue)
394 value = "##{detail.value}" unless detail.value.blank?
414 value = "##{detail.value}" unless detail.value.blank?
395 old_value = "##{detail.old_value}" unless detail.old_value.blank?
415 old_value = "##{detail.old_value}" unless detail.old_value.blank?
396
416
397 when 'is_private'
417 when 'is_private'
398 value = l(detail.value == "0" ? :general_text_No : :general_text_Yes) unless detail.value.blank?
418 value = l(detail.value == "0" ? :general_text_No : :general_text_Yes) unless detail.value.blank?
399 old_value = l(detail.old_value == "0" ? :general_text_No : :general_text_Yes) unless detail.old_value.blank?
419 old_value = l(detail.old_value == "0" ? :general_text_No : :general_text_Yes) unless detail.old_value.blank?
400
420
401 when 'description'
421 when 'description'
402 show_diff = true
422 show_diff = true
403 end
423 end
404 when 'cf'
424 when 'cf'
405 custom_field = detail.custom_field
425 custom_field = detail.custom_field
406 if custom_field
426 if custom_field
407 label = custom_field.name
427 label = custom_field.name
408 if custom_field.format.class.change_no_details
428 if custom_field.format.class.change_no_details
409 no_details = true
429 no_details = true
410 elsif custom_field.format.class.change_as_diff
430 elsif custom_field.format.class.change_as_diff
411 show_diff = true
431 show_diff = true
412 else
432 else
413 multiple = custom_field.multiple?
433 multiple = custom_field.multiple?
414 value = format_value(detail.value, custom_field) if detail.value
434 value = format_value(detail.value, custom_field) if detail.value
415 old_value = format_value(detail.old_value, custom_field) if detail.old_value
435 old_value = format_value(detail.old_value, custom_field) if detail.old_value
416 end
436 end
417 end
437 end
418 when 'attachment'
438 when 'attachment'
419 label = l(:label_attachment)
439 label = l(:label_attachment)
420 when 'relation'
440 when 'relation'
421 if detail.value && !detail.old_value
441 if detail.value && !detail.old_value
422 rel_issue = Issue.visible.find_by_id(detail.value)
442 rel_issue = Issue.visible.find_by_id(detail.value)
423 value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.value}" :
443 value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.value}" :
424 (no_html ? rel_issue : link_to_issue(rel_issue, :only_path => options[:only_path]))
444 (no_html ? rel_issue : link_to_issue(rel_issue, :only_path => options[:only_path]))
425 elsif detail.old_value && !detail.value
445 elsif detail.old_value && !detail.value
426 rel_issue = Issue.visible.find_by_id(detail.old_value)
446 rel_issue = Issue.visible.find_by_id(detail.old_value)
427 old_value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.old_value}" :
447 old_value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.old_value}" :
428 (no_html ? rel_issue : link_to_issue(rel_issue, :only_path => options[:only_path]))
448 (no_html ? rel_issue : link_to_issue(rel_issue, :only_path => options[:only_path]))
429 end
449 end
430 relation_type = IssueRelation::TYPES[detail.prop_key]
450 relation_type = IssueRelation::TYPES[detail.prop_key]
431 label = l(relation_type[:name]) if relation_type
451 label = l(relation_type[:name]) if relation_type
432 end
452 end
433 call_hook(:helper_issues_show_detail_after_setting,
453 call_hook(:helper_issues_show_detail_after_setting,
434 {:detail => detail, :label => label, :value => value, :old_value => old_value })
454 {:detail => detail, :label => label, :value => value, :old_value => old_value })
435
455
436 label ||= detail.prop_key
456 label ||= detail.prop_key
437 value ||= detail.value
457 value ||= detail.value
438 old_value ||= detail.old_value
458 old_value ||= detail.old_value
439
459
440 unless no_html
460 unless no_html
441 label = content_tag('strong', label)
461 label = content_tag('strong', label)
442 old_value = content_tag("i", h(old_value)) if detail.old_value
462 old_value = content_tag("i", h(old_value)) if detail.old_value
443 if detail.old_value && detail.value.blank? && detail.property != 'relation'
463 if detail.old_value && detail.value.blank? && detail.property != 'relation'
444 old_value = content_tag("del", old_value)
464 old_value = content_tag("del", old_value)
445 end
465 end
446 if detail.property == 'attachment' && value.present? &&
466 if detail.property == 'attachment' && value.present? &&
447 atta = detail.journal.journalized.attachments.detect {|a| a.id == detail.prop_key.to_i}
467 atta = detail.journal.journalized.attachments.detect {|a| a.id == detail.prop_key.to_i}
448 # Link to the attachment if it has not been removed
468 # Link to the attachment if it has not been removed
449 value = link_to_attachment(atta, :download => true, :only_path => options[:only_path])
469 value = link_to_attachment(atta, :download => true, :only_path => options[:only_path])
450 if options[:only_path] != false && (atta.is_text? || atta.is_image?)
470 if options[:only_path] != false && (atta.is_text? || atta.is_image?)
451 value += ' '
471 value += ' '
452 value += link_to(l(:button_view),
472 value += link_to(l(:button_view),
453 { :controller => 'attachments', :action => 'show',
473 { :controller => 'attachments', :action => 'show',
454 :id => atta, :filename => atta.filename },
474 :id => atta, :filename => atta.filename },
455 :class => 'icon-only icon-magnifier',
475 :class => 'icon-only icon-magnifier',
456 :title => l(:button_view))
476 :title => l(:button_view))
457 end
477 end
458 else
478 else
459 value = content_tag("i", h(value)) if value
479 value = content_tag("i", h(value)) if value
460 end
480 end
461 end
481 end
462
482
463 if no_details
483 if no_details
464 s = l(:text_journal_changed_no_detail, :label => label).html_safe
484 s = l(:text_journal_changed_no_detail, :label => label).html_safe
465 elsif show_diff
485 elsif show_diff
466 s = l(:text_journal_changed_no_detail, :label => label)
486 s = l(:text_journal_changed_no_detail, :label => label)
467 unless no_html
487 unless no_html
468 diff_link = link_to 'diff',
488 diff_link = link_to 'diff',
469 diff_journal_url(detail.journal_id, :detail_id => detail.id, :only_path => options[:only_path]),
489 diff_journal_url(detail.journal_id, :detail_id => detail.id, :only_path => options[:only_path]),
470 :title => l(:label_view_diff)
490 :title => l(:label_view_diff)
471 s << " (#{ diff_link })"
491 s << " (#{ diff_link })"
472 end
492 end
473 s.html_safe
493 s.html_safe
474 elsif detail.value.present?
494 elsif detail.value.present?
475 case detail.property
495 case detail.property
476 when 'attr', 'cf'
496 when 'attr', 'cf'
477 if detail.old_value.present?
497 if detail.old_value.present?
478 l(:text_journal_changed, :label => label, :old => old_value, :new => value).html_safe
498 l(:text_journal_changed, :label => label, :old => old_value, :new => value).html_safe
479 elsif multiple
499 elsif multiple
480 l(:text_journal_added, :label => label, :value => value).html_safe
500 l(:text_journal_added, :label => label, :value => value).html_safe
481 else
501 else
482 l(:text_journal_set_to, :label => label, :value => value).html_safe
502 l(:text_journal_set_to, :label => label, :value => value).html_safe
483 end
503 end
484 when 'attachment', 'relation'
504 when 'attachment', 'relation'
485 l(:text_journal_added, :label => label, :value => value).html_safe
505 l(:text_journal_added, :label => label, :value => value).html_safe
486 end
506 end
487 else
507 else
488 l(:text_journal_deleted, :label => label, :old => old_value).html_safe
508 l(:text_journal_deleted, :label => label, :old => old_value).html_safe
489 end
509 end
490 end
510 end
491
511
492 # Find the name of an associated record stored in the field attribute
512 # Find the name of an associated record stored in the field attribute
493 def find_name_by_reflection(field, id)
513 def find_name_by_reflection(field, id)
494 unless id.present?
514 unless id.present?
495 return nil
515 return nil
496 end
516 end
497 @detail_value_name_by_reflection ||= Hash.new do |hash, key|
517 @detail_value_name_by_reflection ||= Hash.new do |hash, key|
498 association = Issue.reflect_on_association(key.first.to_sym)
518 association = Issue.reflect_on_association(key.first.to_sym)
499 name = nil
519 name = nil
500 if association
520 if association
501 record = association.klass.find_by_id(key.last)
521 record = association.klass.find_by_id(key.last)
502 if record
522 if record
503 name = record.name.force_encoding('UTF-8')
523 name = record.name.force_encoding('UTF-8')
504 end
524 end
505 end
525 end
506 hash[key] = name
526 hash[key] = name
507 end
527 end
508 @detail_value_name_by_reflection[[field, id]]
528 @detail_value_name_by_reflection[[field, id]]
509 end
529 end
510
530
511 # Renders issue children recursively
531 # Renders issue children recursively
512 def render_api_issue_children(issue, api)
532 def render_api_issue_children(issue, api)
513 return if issue.leaf?
533 return if issue.leaf?
514 api.array :children do
534 api.array :children do
515 issue.children.each do |child|
535 issue.children.each do |child|
516 api.issue(:id => child.id) do
536 api.issue(:id => child.id) do
517 api.tracker(:id => child.tracker_id, :name => child.tracker.name) unless child.tracker.nil?
537 api.tracker(:id => child.tracker_id, :name => child.tracker.name) unless child.tracker.nil?
518 api.subject child.subject
538 api.subject child.subject
519 render_api_issue_children(child, api)
539 render_api_issue_children(child, api)
520 end
540 end
521 end
541 end
522 end
542 end
523 end
543 end
524 end
544 end
@@ -1,328 +1,333
1 # Redmine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2016 Jean-Philippe Lang
2 # Copyright (C) 2006-2016 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 class CustomField < ActiveRecord::Base
18 class CustomField < ActiveRecord::Base
19 include Redmine::SafeAttributes
19 include Redmine::SafeAttributes
20 include Redmine::SubclassFactory
20 include Redmine::SubclassFactory
21
21
22 has_many :enumerations,
22 has_many :enumerations,
23 lambda { order(:position) },
23 lambda { order(:position) },
24 :class_name => 'CustomFieldEnumeration',
24 :class_name => 'CustomFieldEnumeration',
25 :dependent => :delete_all
25 :dependent => :delete_all
26 has_many :custom_values, :dependent => :delete_all
26 has_many :custom_values, :dependent => :delete_all
27 has_and_belongs_to_many :roles, :join_table => "#{table_name_prefix}custom_fields_roles#{table_name_suffix}", :foreign_key => "custom_field_id"
27 has_and_belongs_to_many :roles, :join_table => "#{table_name_prefix}custom_fields_roles#{table_name_suffix}", :foreign_key => "custom_field_id"
28 acts_as_positioned
28 acts_as_positioned
29 serialize :possible_values
29 serialize :possible_values
30 store :format_store
30 store :format_store
31
31
32 validates_presence_of :name, :field_format
32 validates_presence_of :name, :field_format
33 validates_uniqueness_of :name, :scope => :type
33 validates_uniqueness_of :name, :scope => :type
34 validates_length_of :name, :maximum => 30
34 validates_length_of :name, :maximum => 30
35 validates_length_of :regexp, maximum: 255
35 validates_length_of :regexp, maximum: 255
36 validates_inclusion_of :field_format, :in => Proc.new { Redmine::FieldFormat.available_formats }
36 validates_inclusion_of :field_format, :in => Proc.new { Redmine::FieldFormat.available_formats }
37 validate :validate_custom_field
37 validate :validate_custom_field
38 attr_protected :id
38 attr_protected :id
39
39
40 before_validation :set_searchable
40 before_validation :set_searchable
41 before_save do |field|
41 before_save do |field|
42 field.format.before_custom_field_save(field)
42 field.format.before_custom_field_save(field)
43 end
43 end
44 after_save :handle_multiplicity_change
44 after_save :handle_multiplicity_change
45 after_save do |field|
45 after_save do |field|
46 if field.visible_changed? && field.visible
46 if field.visible_changed? && field.visible
47 field.roles.clear
47 field.roles.clear
48 end
48 end
49 end
49 end
50
50
51 scope :sorted, lambda { order(:position) }
51 scope :sorted, lambda { order(:position) }
52 scope :visible, lambda {|*args|
52 scope :visible, lambda {|*args|
53 user = args.shift || User.current
53 user = args.shift || User.current
54 if user.admin?
54 if user.admin?
55 # nop
55 # nop
56 elsif user.memberships.any?
56 elsif user.memberships.any?
57 where("#{table_name}.visible = ? OR #{table_name}.id IN (SELECT DISTINCT cfr.custom_field_id FROM #{Member.table_name} m" +
57 where("#{table_name}.visible = ? OR #{table_name}.id IN (SELECT DISTINCT cfr.custom_field_id FROM #{Member.table_name} m" +
58 " INNER JOIN #{MemberRole.table_name} mr ON mr.member_id = m.id" +
58 " INNER JOIN #{MemberRole.table_name} mr ON mr.member_id = m.id" +
59 " INNER JOIN #{table_name_prefix}custom_fields_roles#{table_name_suffix} cfr ON cfr.role_id = mr.role_id" +
59 " INNER JOIN #{table_name_prefix}custom_fields_roles#{table_name_suffix} cfr ON cfr.role_id = mr.role_id" +
60 " WHERE m.user_id = ?)",
60 " WHERE m.user_id = ?)",
61 true, user.id)
61 true, user.id)
62 else
62 else
63 where(:visible => true)
63 where(:visible => true)
64 end
64 end
65 }
65 }
66 def visible_by?(project, user=User.current)
66 def visible_by?(project, user=User.current)
67 visible? || user.admin?
67 visible? || user.admin?
68 end
68 end
69
69
70 safe_attributes 'name',
70 safe_attributes 'name',
71 'field_format',
71 'field_format',
72 'possible_values',
72 'possible_values',
73 'regexp',
73 'regexp',
74 'min_lnegth',
74 'min_lnegth',
75 'max_length',
75 'max_length',
76 'is_required',
76 'is_required',
77 'is_for_all',
77 'is_for_all',
78 'is_filter',
78 'is_filter',
79 'position',
79 'position',
80 'searchable',
80 'searchable',
81 'default_value',
81 'default_value',
82 'editable',
82 'editable',
83 'visible',
83 'visible',
84 'multiple',
84 'multiple',
85 'description',
85 'description',
86 'role_ids',
86 'role_ids',
87 'url_pattern',
87 'url_pattern',
88 'text_formatting',
88 'text_formatting',
89 'edit_tag_style',
89 'edit_tag_style',
90 'user_role',
90 'user_role',
91 'version_status',
91 'version_status',
92 'extensions_allowed'
92 'extensions_allowed',
93 'full_width_layout'
93
94
94 def format
95 def format
95 @format ||= Redmine::FieldFormat.find(field_format)
96 @format ||= Redmine::FieldFormat.find(field_format)
96 end
97 end
97
98
98 def field_format=(arg)
99 def field_format=(arg)
99 # cannot change format of a saved custom field
100 # cannot change format of a saved custom field
100 if new_record?
101 if new_record?
101 @format = nil
102 @format = nil
102 super
103 super
103 end
104 end
104 end
105 end
105
106
106 def set_searchable
107 def set_searchable
107 # make sure these fields are not searchable
108 # make sure these fields are not searchable
108 self.searchable = false unless format.class.searchable_supported
109 self.searchable = false unless format.class.searchable_supported
109 # make sure only these fields can have multiple values
110 # make sure only these fields can have multiple values
110 self.multiple = false unless format.class.multiple_supported
111 self.multiple = false unless format.class.multiple_supported
111 true
112 true
112 end
113 end
113
114
114 def validate_custom_field
115 def validate_custom_field
115 format.validate_custom_field(self).each do |attribute, message|
116 format.validate_custom_field(self).each do |attribute, message|
116 errors.add attribute, message
117 errors.add attribute, message
117 end
118 end
118
119
119 if regexp.present?
120 if regexp.present?
120 begin
121 begin
121 Regexp.new(regexp)
122 Regexp.new(regexp)
122 rescue
123 rescue
123 errors.add(:regexp, :invalid)
124 errors.add(:regexp, :invalid)
124 end
125 end
125 end
126 end
126
127
127 if default_value.present?
128 if default_value.present?
128 validate_field_value(default_value).each do |message|
129 validate_field_value(default_value).each do |message|
129 errors.add :default_value, message
130 errors.add :default_value, message
130 end
131 end
131 end
132 end
132 end
133 end
133
134
134 def possible_custom_value_options(custom_value)
135 def possible_custom_value_options(custom_value)
135 format.possible_custom_value_options(custom_value)
136 format.possible_custom_value_options(custom_value)
136 end
137 end
137
138
138 def possible_values_options(object=nil)
139 def possible_values_options(object=nil)
139 if object.is_a?(Array)
140 if object.is_a?(Array)
140 object.map {|o| format.possible_values_options(self, o)}.reduce(:&) || []
141 object.map {|o| format.possible_values_options(self, o)}.reduce(:&) || []
141 else
142 else
142 format.possible_values_options(self, object) || []
143 format.possible_values_options(self, object) || []
143 end
144 end
144 end
145 end
145
146
146 def possible_values
147 def possible_values
147 values = read_attribute(:possible_values)
148 values = read_attribute(:possible_values)
148 if values.is_a?(Array)
149 if values.is_a?(Array)
149 values.each do |value|
150 values.each do |value|
150 value.to_s.force_encoding('UTF-8')
151 value.to_s.force_encoding('UTF-8')
151 end
152 end
152 values
153 values
153 else
154 else
154 []
155 []
155 end
156 end
156 end
157 end
157
158
158 # Makes possible_values accept a multiline string
159 # Makes possible_values accept a multiline string
159 def possible_values=(arg)
160 def possible_values=(arg)
160 if arg.is_a?(Array)
161 if arg.is_a?(Array)
161 values = arg.compact.map {|a| a.to_s.strip}.reject(&:blank?)
162 values = arg.compact.map {|a| a.to_s.strip}.reject(&:blank?)
162 write_attribute(:possible_values, values)
163 write_attribute(:possible_values, values)
163 else
164 else
164 self.possible_values = arg.to_s.split(/[\n\r]+/)
165 self.possible_values = arg.to_s.split(/[\n\r]+/)
165 end
166 end
166 end
167 end
167
168
168 def set_custom_field_value(custom_field_value, value)
169 def set_custom_field_value(custom_field_value, value)
169 format.set_custom_field_value(self, custom_field_value, value)
170 format.set_custom_field_value(self, custom_field_value, value)
170 end
171 end
171
172
172 def cast_value(value)
173 def cast_value(value)
173 format.cast_value(self, value)
174 format.cast_value(self, value)
174 end
175 end
175
176
176 def value_from_keyword(keyword, customized)
177 def value_from_keyword(keyword, customized)
177 format.value_from_keyword(self, keyword, customized)
178 format.value_from_keyword(self, keyword, customized)
178 end
179 end
179
180
180 # Returns the options hash used to build a query filter for the field
181 # Returns the options hash used to build a query filter for the field
181 def query_filter_options(query)
182 def query_filter_options(query)
182 format.query_filter_options(self, query)
183 format.query_filter_options(self, query)
183 end
184 end
184
185
185 def totalable?
186 def totalable?
186 format.totalable_supported
187 format.totalable_supported
187 end
188 end
188
189
190 def full_width_layout?
191 full_width_layout == '1'
192 end
193
189 # Returns a ORDER BY clause that can used to sort customized
194 # Returns a ORDER BY clause that can used to sort customized
190 # objects by their value of the custom field.
195 # objects by their value of the custom field.
191 # Returns nil if the custom field can not be used for sorting.
196 # Returns nil if the custom field can not be used for sorting.
192 def order_statement
197 def order_statement
193 return nil if multiple?
198 return nil if multiple?
194 format.order_statement(self)
199 format.order_statement(self)
195 end
200 end
196
201
197 # Returns a GROUP BY clause that can used to group by custom value
202 # Returns a GROUP BY clause that can used to group by custom value
198 # Returns nil if the custom field can not be used for grouping.
203 # Returns nil if the custom field can not be used for grouping.
199 def group_statement
204 def group_statement
200 return nil if multiple?
205 return nil if multiple?
201 format.group_statement(self)
206 format.group_statement(self)
202 end
207 end
203
208
204 def join_for_order_statement
209 def join_for_order_statement
205 format.join_for_order_statement(self)
210 format.join_for_order_statement(self)
206 end
211 end
207
212
208 def visibility_by_project_condition(project_key=nil, user=User.current, id_column=nil)
213 def visibility_by_project_condition(project_key=nil, user=User.current, id_column=nil)
209 if visible? || user.admin?
214 if visible? || user.admin?
210 "1=1"
215 "1=1"
211 elsif user.anonymous?
216 elsif user.anonymous?
212 "1=0"
217 "1=0"
213 else
218 else
214 project_key ||= "#{self.class.customized_class.table_name}.project_id"
219 project_key ||= "#{self.class.customized_class.table_name}.project_id"
215 id_column ||= id
220 id_column ||= id
216 "#{project_key} IN (SELECT DISTINCT m.project_id FROM #{Member.table_name} m" +
221 "#{project_key} IN (SELECT DISTINCT m.project_id FROM #{Member.table_name} m" +
217 " INNER JOIN #{MemberRole.table_name} mr ON mr.member_id = m.id" +
222 " INNER JOIN #{MemberRole.table_name} mr ON mr.member_id = m.id" +
218 " INNER JOIN #{table_name_prefix}custom_fields_roles#{table_name_suffix} cfr ON cfr.role_id = mr.role_id" +
223 " INNER JOIN #{table_name_prefix}custom_fields_roles#{table_name_suffix} cfr ON cfr.role_id = mr.role_id" +
219 " WHERE m.user_id = #{user.id} AND cfr.custom_field_id = #{id_column})"
224 " WHERE m.user_id = #{user.id} AND cfr.custom_field_id = #{id_column})"
220 end
225 end
221 end
226 end
222
227
223 def self.visibility_condition
228 def self.visibility_condition
224 if user.admin?
229 if user.admin?
225 "1=1"
230 "1=1"
226 elsif user.anonymous?
231 elsif user.anonymous?
227 "#{table_name}.visible"
232 "#{table_name}.visible"
228 else
233 else
229 "#{project_key} IN (SELECT DISTINCT m.project_id FROM #{Member.table_name} m" +
234 "#{project_key} IN (SELECT DISTINCT m.project_id FROM #{Member.table_name} m" +
230 " INNER JOIN #{MemberRole.table_name} mr ON mr.member_id = m.id" +
235 " INNER JOIN #{MemberRole.table_name} mr ON mr.member_id = m.id" +
231 " INNER JOIN #{table_name_prefix}custom_fields_roles#{table_name_suffix} cfr ON cfr.role_id = mr.role_id" +
236 " INNER JOIN #{table_name_prefix}custom_fields_roles#{table_name_suffix} cfr ON cfr.role_id = mr.role_id" +
232 " WHERE m.user_id = #{user.id} AND cfr.custom_field_id = #{id})"
237 " WHERE m.user_id = #{user.id} AND cfr.custom_field_id = #{id})"
233 end
238 end
234 end
239 end
235
240
236 def <=>(field)
241 def <=>(field)
237 position <=> field.position
242 position <=> field.position
238 end
243 end
239
244
240 # Returns the class that values represent
245 # Returns the class that values represent
241 def value_class
246 def value_class
242 format.target_class if format.respond_to?(:target_class)
247 format.target_class if format.respond_to?(:target_class)
243 end
248 end
244
249
245 def self.customized_class
250 def self.customized_class
246 self.name =~ /^(.+)CustomField$/
251 self.name =~ /^(.+)CustomField$/
247 $1.constantize rescue nil
252 $1.constantize rescue nil
248 end
253 end
249
254
250 # to move in project_custom_field
255 # to move in project_custom_field
251 def self.for_all
256 def self.for_all
252 where(:is_for_all => true).order(:position).to_a
257 where(:is_for_all => true).order(:position).to_a
253 end
258 end
254
259
255 def type_name
260 def type_name
256 nil
261 nil
257 end
262 end
258
263
259 # Returns the error messages for the given value
264 # Returns the error messages for the given value
260 # or an empty array if value is a valid value for the custom field
265 # or an empty array if value is a valid value for the custom field
261 def validate_custom_value(custom_value)
266 def validate_custom_value(custom_value)
262 value = custom_value.value
267 value = custom_value.value
263 errs = format.validate_custom_value(custom_value)
268 errs = format.validate_custom_value(custom_value)
264
269
265 unless errs.any?
270 unless errs.any?
266 if value.is_a?(Array)
271 if value.is_a?(Array)
267 if !multiple?
272 if !multiple?
268 errs << ::I18n.t('activerecord.errors.messages.invalid')
273 errs << ::I18n.t('activerecord.errors.messages.invalid')
269 end
274 end
270 if is_required? && value.detect(&:present?).nil?
275 if is_required? && value.detect(&:present?).nil?
271 errs << ::I18n.t('activerecord.errors.messages.blank')
276 errs << ::I18n.t('activerecord.errors.messages.blank')
272 end
277 end
273 else
278 else
274 if is_required? && value.blank?
279 if is_required? && value.blank?
275 errs << ::I18n.t('activerecord.errors.messages.blank')
280 errs << ::I18n.t('activerecord.errors.messages.blank')
276 end
281 end
277 end
282 end
278 end
283 end
279
284
280 errs
285 errs
281 end
286 end
282
287
283 # Returns the error messages for the default custom field value
288 # Returns the error messages for the default custom field value
284 def validate_field_value(value)
289 def validate_field_value(value)
285 validate_custom_value(CustomFieldValue.new(:custom_field => self, :value => value))
290 validate_custom_value(CustomFieldValue.new(:custom_field => self, :value => value))
286 end
291 end
287
292
288 # Returns true if value is a valid value for the custom field
293 # Returns true if value is a valid value for the custom field
289 def valid_field_value?(value)
294 def valid_field_value?(value)
290 validate_field_value(value).empty?
295 validate_field_value(value).empty?
291 end
296 end
292
297
293 def after_save_custom_value(custom_value)
298 def after_save_custom_value(custom_value)
294 format.after_save_custom_value(self, custom_value)
299 format.after_save_custom_value(self, custom_value)
295 end
300 end
296
301
297 def format_in?(*args)
302 def format_in?(*args)
298 args.include?(field_format)
303 args.include?(field_format)
299 end
304 end
300
305
301 def self.human_attribute_name(attribute_key_name, *args)
306 def self.human_attribute_name(attribute_key_name, *args)
302 attr_name = attribute_key_name.to_s
307 attr_name = attribute_key_name.to_s
303 if attr_name == 'url_pattern'
308 if attr_name == 'url_pattern'
304 attr_name = "url"
309 attr_name = "url"
305 end
310 end
306 super(attr_name, *args)
311 super(attr_name, *args)
307 end
312 end
308
313
309 protected
314 protected
310
315
311 # Removes multiple values for the custom field after setting the multiple attribute to false
316 # Removes multiple values for the custom field after setting the multiple attribute to false
312 # We kepp the value with the highest id for each customized object
317 # We kepp the value with the highest id for each customized object
313 def handle_multiplicity_change
318 def handle_multiplicity_change
314 if !new_record? && multiple_was && !multiple
319 if !new_record? && multiple_was && !multiple
315 ids = custom_values.
320 ids = custom_values.
316 where("EXISTS(SELECT 1 FROM #{CustomValue.table_name} cve WHERE cve.custom_field_id = #{CustomValue.table_name}.custom_field_id" +
321 where("EXISTS(SELECT 1 FROM #{CustomValue.table_name} cve WHERE cve.custom_field_id = #{CustomValue.table_name}.custom_field_id" +
317 " AND cve.customized_type = #{CustomValue.table_name}.customized_type AND cve.customized_id = #{CustomValue.table_name}.customized_id" +
322 " AND cve.customized_type = #{CustomValue.table_name}.customized_type AND cve.customized_id = #{CustomValue.table_name}.customized_id" +
318 " AND cve.id > #{CustomValue.table_name}.id)").
323 " AND cve.id > #{CustomValue.table_name}.id)").
319 pluck(:id)
324 pluck(:id)
320
325
321 if ids.any?
326 if ids.any?
322 custom_values.where(:id => ids).delete_all
327 custom_values.where(:id => ids).delete_all
323 end
328 end
324 end
329 end
325 end
330 end
326 end
331 end
327
332
328 require_dependency 'redmine/field_format'
333 require_dependency 'redmine/field_format'
@@ -1,3 +1,6
1 <%= render :partial => 'custom_fields/formats/regexp', :locals => {:f => f, :custom_field => custom_field} %>
1 <%= render :partial => 'custom_fields/formats/regexp', :locals => {:f => f, :custom_field => custom_field} %>
2 <p><%= f.check_box :text_formatting, {:label => :setting_text_formatting}, 'full', '' %></p>
2 <p><%= f.check_box :text_formatting, {:label => :setting_text_formatting}, 'full', '' %></p>
3 <% if @custom_field.class.name == "IssueCustomField" %>
4 <p><%= f.check_box :full_width_layout %></p>
5 <% end %>
3 <p><%= f.text_area(:default_value, :rows => 5) %></p>
6 <p><%= f.text_area(:default_value, :rows => 5) %></p>
@@ -1,16 +1,23
1 <% custom_field_values = @issue.editable_custom_field_values %>
1 <% custom_field_values = @issue.editable_custom_field_values %>
2 <% custom_field_values_full_width = custom_field_values.select { |value| value.custom_field.full_width_layout? } %>
3 <% custom_field_values -= custom_field_values_full_width %>
4
2 <% if custom_field_values.present? %>
5 <% if custom_field_values.present? %>
3 <div class="splitcontent">
6 <div class="splitcontent">
4 <div class="splitcontentleft">
7 <div class="splitcontentleft">
5 <% i = 0 %>
8 <% i = 0 %>
6 <% split_on = (custom_field_values.size / 2.0).ceil - 1 %>
9 <% split_on = (custom_field_values.size / 2.0).ceil - 1 %>
7 <% custom_field_values.each do |value| %>
10 <% custom_field_values.each do |value| %>
8 <p><%= custom_field_tag_with_label :issue, value, :required => @issue.required_attribute?(value.custom_field_id) %></p>
11 <p><%= custom_field_tag_with_label :issue, value, :required => @issue.required_attribute?(value.custom_field_id) %></p>
9 <% if i == split_on -%>
12 <% if i == split_on -%>
10 </div><div class="splitcontentright">
13 </div><div class="splitcontentright">
11 <% end -%>
14 <% end -%>
12 <% i += 1 -%>
15 <% i += 1 -%>
13 <% end -%>
16 <% end -%>
14 </div>
17 </div>
15 </div>
18 </div>
16 <% end %>
19 <% end %>
20
21 <% custom_field_values_full_width.each do |value| %>
22 <p><%= custom_field_tag_with_label :issue, value, :required => @issue.required_attribute?(value.custom_field_id) %></p>
23 <% end %>
@@ -1,162 +1,164
1 <%= render :partial => 'action_menu' %>
1 <%= render :partial => 'action_menu' %>
2
2
3 <h2><%= issue_heading(@issue) %></h2>
3 <h2><%= issue_heading(@issue) %></h2>
4
4
5 <div class="<%= @issue.css_classes %> details">
5 <div class="<%= @issue.css_classes %> details">
6 <% if @prev_issue_id || @next_issue_id %>
6 <% if @prev_issue_id || @next_issue_id %>
7 <div class="next-prev-links contextual">
7 <div class="next-prev-links contextual">
8 <%= link_to_if @prev_issue_id,
8 <%= link_to_if @prev_issue_id,
9 "\xc2\xab #{l(:label_previous)}",
9 "\xc2\xab #{l(:label_previous)}",
10 (@prev_issue_id ? issue_path(@prev_issue_id) : nil),
10 (@prev_issue_id ? issue_path(@prev_issue_id) : nil),
11 :title => "##{@prev_issue_id}",
11 :title => "##{@prev_issue_id}",
12 :accesskey => accesskey(:previous) %> |
12 :accesskey => accesskey(:previous) %> |
13 <% if @issue_position && @issue_count %>
13 <% if @issue_position && @issue_count %>
14 <span class="position"><%= l(:label_item_position, :position => @issue_position, :count => @issue_count) %></span> |
14 <span class="position"><%= l(:label_item_position, :position => @issue_position, :count => @issue_count) %></span> |
15 <% end %>
15 <% end %>
16 <%= link_to_if @next_issue_id,
16 <%= link_to_if @next_issue_id,
17 "#{l(:label_next)} \xc2\xbb",
17 "#{l(:label_next)} \xc2\xbb",
18 (@next_issue_id ? issue_path(@next_issue_id) : nil),
18 (@next_issue_id ? issue_path(@next_issue_id) : nil),
19 :title => "##{@next_issue_id}",
19 :title => "##{@next_issue_id}",
20 :accesskey => accesskey(:next) %>
20 :accesskey => accesskey(:next) %>
21 </div>
21 </div>
22 <% end %>
22 <% end %>
23
23
24 <%= avatar(@issue.author, :size => "50") %>
24 <%= avatar(@issue.author, :size => "50") %>
25
25
26 <div class="subject">
26 <div class="subject">
27 <%= render_issue_subject_with_tree(@issue) %>
27 <%= render_issue_subject_with_tree(@issue) %>
28 </div>
28 </div>
29 <p class="author">
29 <p class="author">
30 <%= authoring @issue.created_on, @issue.author %>.
30 <%= authoring @issue.created_on, @issue.author %>.
31 <% if @issue.created_on != @issue.updated_on %>
31 <% if @issue.created_on != @issue.updated_on %>
32 <%= l(:label_updated_time, time_tag(@issue.updated_on)).html_safe %>.
32 <%= l(:label_updated_time, time_tag(@issue.updated_on)).html_safe %>.
33 <% end %>
33 <% end %>
34 </p>
34 </p>
35
35
36 <div class="attributes">
36 <div class="attributes">
37 <%= issue_fields_rows do |rows|
37 <%= issue_fields_rows do |rows|
38 rows.left l(:field_status), @issue.status.name, :class => 'status'
38 rows.left l(:field_status), @issue.status.name, :class => 'status'
39 rows.left l(:field_priority), @issue.priority.name, :class => 'priority'
39 rows.left l(:field_priority), @issue.priority.name, :class => 'priority'
40
40
41 unless @issue.disabled_core_fields.include?('assigned_to_id')
41 unless @issue.disabled_core_fields.include?('assigned_to_id')
42 rows.left l(:field_assigned_to), avatar(@issue.assigned_to, :size => "14").to_s.html_safe + (@issue.assigned_to ? link_to_user(@issue.assigned_to) : "-"), :class => 'assigned-to'
42 rows.left l(:field_assigned_to), avatar(@issue.assigned_to, :size => "14").to_s.html_safe + (@issue.assigned_to ? link_to_user(@issue.assigned_to) : "-"), :class => 'assigned-to'
43 end
43 end
44 unless @issue.disabled_core_fields.include?('category_id') || (@issue.category.nil? && @issue.project.issue_categories.none?)
44 unless @issue.disabled_core_fields.include?('category_id') || (@issue.category.nil? && @issue.project.issue_categories.none?)
45 rows.left l(:field_category), (@issue.category ? @issue.category.name : "-"), :class => 'category'
45 rows.left l(:field_category), (@issue.category ? @issue.category.name : "-"), :class => 'category'
46 end
46 end
47 unless @issue.disabled_core_fields.include?('fixed_version_id') || (@issue.fixed_version.nil? && @issue.assignable_versions.none?)
47 unless @issue.disabled_core_fields.include?('fixed_version_id') || (@issue.fixed_version.nil? && @issue.assignable_versions.none?)
48 rows.left l(:field_fixed_version), (@issue.fixed_version ? link_to_version(@issue.fixed_version) : "-"), :class => 'fixed-version'
48 rows.left l(:field_fixed_version), (@issue.fixed_version ? link_to_version(@issue.fixed_version) : "-"), :class => 'fixed-version'
49 end
49 end
50
50
51 unless @issue.disabled_core_fields.include?('start_date')
51 unless @issue.disabled_core_fields.include?('start_date')
52 rows.right l(:field_start_date), format_date(@issue.start_date), :class => 'start-date'
52 rows.right l(:field_start_date), format_date(@issue.start_date), :class => 'start-date'
53 end
53 end
54 unless @issue.disabled_core_fields.include?('due_date')
54 unless @issue.disabled_core_fields.include?('due_date')
55 rows.right l(:field_due_date), format_date(@issue.due_date), :class => 'due-date'
55 rows.right l(:field_due_date), format_date(@issue.due_date), :class => 'due-date'
56 end
56 end
57 unless @issue.disabled_core_fields.include?('done_ratio')
57 unless @issue.disabled_core_fields.include?('done_ratio')
58 rows.right l(:field_done_ratio), progress_bar(@issue.done_ratio, :legend => "#{@issue.done_ratio}%"), :class => 'progress'
58 rows.right l(:field_done_ratio), progress_bar(@issue.done_ratio, :legend => "#{@issue.done_ratio}%"), :class => 'progress'
59 end
59 end
60 unless @issue.disabled_core_fields.include?('estimated_hours')
60 unless @issue.disabled_core_fields.include?('estimated_hours')
61 rows.right l(:field_estimated_hours), issue_estimated_hours_details(@issue), :class => 'estimated-hours'
61 rows.right l(:field_estimated_hours), issue_estimated_hours_details(@issue), :class => 'estimated-hours'
62 end
62 end
63 if User.current.allowed_to_view_all_time_entries?(@project)
63 if User.current.allowed_to_view_all_time_entries?(@project)
64 if @issue.total_spent_hours > 0
64 if @issue.total_spent_hours > 0
65 rows.right l(:label_spent_time), issue_spent_hours_details(@issue), :class => 'spent-time'
65 rows.right l(:label_spent_time), issue_spent_hours_details(@issue), :class => 'spent-time'
66 end
66 end
67 end
67 end
68 end %>
68 end %>
69 <%= render_custom_fields_rows(@issue) %>
69 <%= render_half_width_custom_fields_rows(@issue) %>
70 <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
70 <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
71 </div>
71 </div>
72
72
73 <% if @issue.description? || @issue.attachments.any? -%>
73 <% if @issue.description? || @issue.attachments.any? -%>
74 <hr />
74 <hr />
75 <% if @issue.description? %>
75 <% if @issue.description? %>
76 <div class="description">
76 <div class="description">
77 <div class="contextual">
77 <div class="contextual">
78 <%= link_to l(:button_quote), quoted_issue_path(@issue), :remote => true, :method => 'post', :class => 'icon icon-comment' if @issue.notes_addable? %>
78 <%= link_to l(:button_quote), quoted_issue_path(@issue), :remote => true, :method => 'post', :class => 'icon icon-comment' if @issue.notes_addable? %>
79 </div>
79 </div>
80
80
81 <p><strong><%=l(:field_description)%></strong></p>
81 <p><strong><%=l(:field_description)%></strong></p>
82 <div class="wiki">
82 <div class="wiki">
83 <%= textilizable @issue, :description, :attachments => @issue.attachments %>
83 <%= textilizable @issue, :description, :attachments => @issue.attachments %>
84 </div>
84 </div>
85 </div>
85 </div>
86 <% end %>
86 <% end %>
87 <%= link_to_attachments @issue, :thumbnails => true %>
87 <%= link_to_attachments @issue, :thumbnails => true %>
88 <% end -%>
88 <% end -%>
89
89
90 <%= render_full_width_custom_fields_rows(@issue) %>
91
90 <%= call_hook(:view_issues_show_description_bottom, :issue => @issue) %>
92 <%= call_hook(:view_issues_show_description_bottom, :issue => @issue) %>
91
93
92 <% if !@issue.leaf? || User.current.allowed_to?(:manage_subtasks, @project) %>
94 <% if !@issue.leaf? || User.current.allowed_to?(:manage_subtasks, @project) %>
93 <hr />
95 <hr />
94 <div id="issue_tree">
96 <div id="issue_tree">
95 <div class="contextual">
97 <div class="contextual">
96 <%= link_to_new_subtask(@issue) if User.current.allowed_to?(:manage_subtasks, @project) %>
98 <%= link_to_new_subtask(@issue) if User.current.allowed_to?(:manage_subtasks, @project) %>
97 </div>
99 </div>
98 <p><strong><%=l(:label_subtask_plural)%></strong></p>
100 <p><strong><%=l(:label_subtask_plural)%></strong></p>
99 <%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do %>
101 <%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do %>
100 <%= render_descendants_tree(@issue) unless @issue.leaf? %>
102 <%= render_descendants_tree(@issue) unless @issue.leaf? %>
101 <% end %>
103 <% end %>
102 </div>
104 </div>
103 <% end %>
105 <% end %>
104
106
105 <% if @relations.present? || User.current.allowed_to?(:manage_issue_relations, @project) %>
107 <% if @relations.present? || User.current.allowed_to?(:manage_issue_relations, @project) %>
106 <hr />
108 <hr />
107 <div id="relations">
109 <div id="relations">
108 <%= render :partial => 'relations' %>
110 <%= render :partial => 'relations' %>
109 </div>
111 </div>
110 <% end %>
112 <% end %>
111
113
112 </div>
114 </div>
113
115
114 <% if @changesets.present? %>
116 <% if @changesets.present? %>
115 <div id="issue-changesets">
117 <div id="issue-changesets">
116 <h3><%=l(:label_associated_revisions)%></h3>
118 <h3><%=l(:label_associated_revisions)%></h3>
117 <%= render :partial => 'changesets', :locals => { :changesets => @changesets} %>
119 <%= render :partial => 'changesets', :locals => { :changesets => @changesets} %>
118 </div>
120 </div>
119 <% end %>
121 <% end %>
120
122
121 <% if @journals.present? %>
123 <% if @journals.present? %>
122 <div id="history">
124 <div id="history">
123 <h3><%=l(:label_history)%></h3>
125 <h3><%=l(:label_history)%></h3>
124 <%= render :partial => 'history', :locals => { :issue => @issue, :journals => @journals } %>
126 <%= render :partial => 'history', :locals => { :issue => @issue, :journals => @journals } %>
125 </div>
127 </div>
126 <% end %>
128 <% end %>
127
129
128
130
129 <div style="clear: both;"></div>
131 <div style="clear: both;"></div>
130 <%= render :partial => 'action_menu' %>
132 <%= render :partial => 'action_menu' %>
131
133
132 <div style="clear: both;"></div>
134 <div style="clear: both;"></div>
133 <% if @issue.editable? %>
135 <% if @issue.editable? %>
134 <div id="update" style="display:none;">
136 <div id="update" style="display:none;">
135 <h3><%= l(:button_edit) %></h3>
137 <h3><%= l(:button_edit) %></h3>
136 <%= render :partial => 'edit' %>
138 <%= render :partial => 'edit' %>
137 </div>
139 </div>
138 <% end %>
140 <% end %>
139
141
140 <% other_formats_links do |f| %>
142 <% other_formats_links do |f| %>
141 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
143 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
142 <%= f.link_to 'PDF' %>
144 <%= f.link_to 'PDF' %>
143 <% end %>
145 <% end %>
144
146
145 <% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
147 <% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
146
148
147 <% content_for :sidebar do %>
149 <% content_for :sidebar do %>
148 <%= render :partial => 'issues/sidebar' %>
150 <%= render :partial => 'issues/sidebar' %>
149
151
150 <% if User.current.allowed_to?(:add_issue_watchers, @project) ||
152 <% if User.current.allowed_to?(:add_issue_watchers, @project) ||
151 (@issue.watchers.present? && User.current.allowed_to?(:view_issue_watchers, @project)) %>
153 (@issue.watchers.present? && User.current.allowed_to?(:view_issue_watchers, @project)) %>
152 <div id="watchers">
154 <div id="watchers">
153 <%= render :partial => 'watchers/watchers', :locals => {:watched => @issue} %>
155 <%= render :partial => 'watchers/watchers', :locals => {:watched => @issue} %>
154 </div>
156 </div>
155 <% end %>
157 <% end %>
156 <% end %>
158 <% end %>
157
159
158 <% content_for :header_tags do %>
160 <% content_for :header_tags do %>
159 <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@issue.project} - #{@issue.tracker} ##{@issue.id}: #{@issue.subject}") %>
161 <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@issue.project} - #{@issue.tracker} ##{@issue.id}: #{@issue.subject}") %>
160 <% end %>
162 <% end %>
161
163
162 <%= context_menu %>
164 <%= context_menu %>
@@ -1,1211 +1,1212
1 en:
1 en:
2 # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
2 # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
3 direction: ltr
3 direction: ltr
4 date:
4 date:
5 formats:
5 formats:
6 # Use the strftime parameters for formats.
6 # Use the strftime parameters for formats.
7 # When no format has been given, it uses default.
7 # When no format has been given, it uses default.
8 # You can provide other formats here if you like!
8 # You can provide other formats here if you like!
9 default: "%m/%d/%Y"
9 default: "%m/%d/%Y"
10 short: "%b %d"
10 short: "%b %d"
11 long: "%B %d, %Y"
11 long: "%B %d, %Y"
12
12
13 day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
13 day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
14 abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
14 abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
15
15
16 # Don't forget the nil at the beginning; there's no such thing as a 0th month
16 # Don't forget the nil at the beginning; there's no such thing as a 0th month
17 month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
17 month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
18 abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
18 abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
19 # Used in date_select and datime_select.
19 # Used in date_select and datime_select.
20 order:
20 order:
21 - :year
21 - :year
22 - :month
22 - :month
23 - :day
23 - :day
24
24
25 time:
25 time:
26 formats:
26 formats:
27 default: "%m/%d/%Y %I:%M %p"
27 default: "%m/%d/%Y %I:%M %p"
28 time: "%I:%M %p"
28 time: "%I:%M %p"
29 short: "%d %b %H:%M"
29 short: "%d %b %H:%M"
30 long: "%B %d, %Y %H:%M"
30 long: "%B %d, %Y %H:%M"
31 am: "am"
31 am: "am"
32 pm: "pm"
32 pm: "pm"
33
33
34 datetime:
34 datetime:
35 distance_in_words:
35 distance_in_words:
36 half_a_minute: "half a minute"
36 half_a_minute: "half a minute"
37 less_than_x_seconds:
37 less_than_x_seconds:
38 one: "less than 1 second"
38 one: "less than 1 second"
39 other: "less than %{count} seconds"
39 other: "less than %{count} seconds"
40 x_seconds:
40 x_seconds:
41 one: "1 second"
41 one: "1 second"
42 other: "%{count} seconds"
42 other: "%{count} seconds"
43 less_than_x_minutes:
43 less_than_x_minutes:
44 one: "less than a minute"
44 one: "less than a minute"
45 other: "less than %{count} minutes"
45 other: "less than %{count} minutes"
46 x_minutes:
46 x_minutes:
47 one: "1 minute"
47 one: "1 minute"
48 other: "%{count} minutes"
48 other: "%{count} minutes"
49 about_x_hours:
49 about_x_hours:
50 one: "about 1 hour"
50 one: "about 1 hour"
51 other: "about %{count} hours"
51 other: "about %{count} hours"
52 x_hours:
52 x_hours:
53 one: "1 hour"
53 one: "1 hour"
54 other: "%{count} hours"
54 other: "%{count} hours"
55 x_days:
55 x_days:
56 one: "1 day"
56 one: "1 day"
57 other: "%{count} days"
57 other: "%{count} days"
58 about_x_months:
58 about_x_months:
59 one: "about 1 month"
59 one: "about 1 month"
60 other: "about %{count} months"
60 other: "about %{count} months"
61 x_months:
61 x_months:
62 one: "1 month"
62 one: "1 month"
63 other: "%{count} months"
63 other: "%{count} months"
64 about_x_years:
64 about_x_years:
65 one: "about 1 year"
65 one: "about 1 year"
66 other: "about %{count} years"
66 other: "about %{count} years"
67 over_x_years:
67 over_x_years:
68 one: "over 1 year"
68 one: "over 1 year"
69 other: "over %{count} years"
69 other: "over %{count} years"
70 almost_x_years:
70 almost_x_years:
71 one: "almost 1 year"
71 one: "almost 1 year"
72 other: "almost %{count} years"
72 other: "almost %{count} years"
73
73
74 number:
74 number:
75 format:
75 format:
76 separator: "."
76 separator: "."
77 delimiter: ""
77 delimiter: ""
78 precision: 3
78 precision: 3
79
79
80 human:
80 human:
81 format:
81 format:
82 delimiter: ""
82 delimiter: ""
83 precision: 3
83 precision: 3
84 storage_units:
84 storage_units:
85 format: "%n %u"
85 format: "%n %u"
86 units:
86 units:
87 byte:
87 byte:
88 one: "Byte"
88 one: "Byte"
89 other: "Bytes"
89 other: "Bytes"
90 kb: "KB"
90 kb: "KB"
91 mb: "MB"
91 mb: "MB"
92 gb: "GB"
92 gb: "GB"
93 tb: "TB"
93 tb: "TB"
94
94
95 # Used in array.to_sentence.
95 # Used in array.to_sentence.
96 support:
96 support:
97 array:
97 array:
98 sentence_connector: "and"
98 sentence_connector: "and"
99 skip_last_comma: false
99 skip_last_comma: false
100
100
101 activerecord:
101 activerecord:
102 errors:
102 errors:
103 template:
103 template:
104 header:
104 header:
105 one: "1 error prohibited this %{model} from being saved"
105 one: "1 error prohibited this %{model} from being saved"
106 other: "%{count} errors prohibited this %{model} from being saved"
106 other: "%{count} errors prohibited this %{model} from being saved"
107 messages:
107 messages:
108 inclusion: "is not included in the list"
108 inclusion: "is not included in the list"
109 exclusion: "is reserved"
109 exclusion: "is reserved"
110 invalid: "is invalid"
110 invalid: "is invalid"
111 confirmation: "doesn't match confirmation"
111 confirmation: "doesn't match confirmation"
112 accepted: "must be accepted"
112 accepted: "must be accepted"
113 empty: "cannot be empty"
113 empty: "cannot be empty"
114 blank: "cannot be blank"
114 blank: "cannot be blank"
115 too_long: "is too long (maximum is %{count} characters)"
115 too_long: "is too long (maximum is %{count} characters)"
116 too_short: "is too short (minimum is %{count} characters)"
116 too_short: "is too short (minimum is %{count} characters)"
117 wrong_length: "is the wrong length (should be %{count} characters)"
117 wrong_length: "is the wrong length (should be %{count} characters)"
118 taken: "has already been taken"
118 taken: "has already been taken"
119 not_a_number: "is not a number"
119 not_a_number: "is not a number"
120 not_a_date: "is not a valid date"
120 not_a_date: "is not a valid date"
121 greater_than: "must be greater than %{count}"
121 greater_than: "must be greater than %{count}"
122 greater_than_or_equal_to: "must be greater than or equal to %{count}"
122 greater_than_or_equal_to: "must be greater than or equal to %{count}"
123 equal_to: "must be equal to %{count}"
123 equal_to: "must be equal to %{count}"
124 less_than: "must be less than %{count}"
124 less_than: "must be less than %{count}"
125 less_than_or_equal_to: "must be less than or equal to %{count}"
125 less_than_or_equal_to: "must be less than or equal to %{count}"
126 odd: "must be odd"
126 odd: "must be odd"
127 even: "must be even"
127 even: "must be even"
128 greater_than_start_date: "must be greater than start date"
128 greater_than_start_date: "must be greater than start date"
129 not_same_project: "doesn't belong to the same project"
129 not_same_project: "doesn't belong to the same project"
130 circular_dependency: "This relation would create a circular dependency"
130 circular_dependency: "This relation would create a circular dependency"
131 cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks"
131 cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks"
132 earlier_than_minimum_start_date: "cannot be earlier than %{date} because of preceding issues"
132 earlier_than_minimum_start_date: "cannot be earlier than %{date} because of preceding issues"
133 not_a_regexp: "is not a valid regular expression"
133 not_a_regexp: "is not a valid regular expression"
134 open_issue_with_closed_parent: "An open issue cannot be attached to a closed parent task"
134 open_issue_with_closed_parent: "An open issue cannot be attached to a closed parent task"
135
135
136 actionview_instancetag_blank_option: Please select
136 actionview_instancetag_blank_option: Please select
137
137
138 general_text_No: 'No'
138 general_text_No: 'No'
139 general_text_Yes: 'Yes'
139 general_text_Yes: 'Yes'
140 general_text_no: 'no'
140 general_text_no: 'no'
141 general_text_yes: 'yes'
141 general_text_yes: 'yes'
142 general_lang_name: 'English'
142 general_lang_name: 'English'
143 general_csv_separator: ','
143 general_csv_separator: ','
144 general_csv_decimal_separator: '.'
144 general_csv_decimal_separator: '.'
145 general_csv_encoding: ISO-8859-1
145 general_csv_encoding: ISO-8859-1
146 general_pdf_fontname: freesans
146 general_pdf_fontname: freesans
147 general_pdf_monospaced_fontname: freemono
147 general_pdf_monospaced_fontname: freemono
148 general_first_day_of_week: '7'
148 general_first_day_of_week: '7'
149
149
150 notice_account_updated: Account was successfully updated.
150 notice_account_updated: Account was successfully updated.
151 notice_account_invalid_credentials: Invalid user or password
151 notice_account_invalid_credentials: Invalid user or password
152 notice_account_password_updated: Password was successfully updated.
152 notice_account_password_updated: Password was successfully updated.
153 notice_account_wrong_password: Wrong password
153 notice_account_wrong_password: Wrong password
154 notice_account_register_done: Account was successfully created. An email containing the instructions to activate your account was sent to %{email}.
154 notice_account_register_done: Account was successfully created. An email containing the instructions to activate your account was sent to %{email}.
155 notice_account_unknown_email: Unknown user.
155 notice_account_unknown_email: Unknown user.
156 notice_account_not_activated_yet: You haven't activated your account yet. If you want to receive a new activation email, please <a href="%{url}">click this link</a>.
156 notice_account_not_activated_yet: You haven't activated your account yet. If you want to receive a new activation email, please <a href="%{url}">click this link</a>.
157 notice_account_locked: Your account is locked.
157 notice_account_locked: Your account is locked.
158 notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password.
158 notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password.
159 notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you.
159 notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you.
160 notice_account_activated: Your account has been activated. You can now log in.
160 notice_account_activated: Your account has been activated. You can now log in.
161 notice_successful_create: Successful creation.
161 notice_successful_create: Successful creation.
162 notice_successful_update: Successful update.
162 notice_successful_update: Successful update.
163 notice_successful_delete: Successful deletion.
163 notice_successful_delete: Successful deletion.
164 notice_successful_connection: Successful connection.
164 notice_successful_connection: Successful connection.
165 notice_file_not_found: The page you were trying to access doesn't exist or has been removed.
165 notice_file_not_found: The page you were trying to access doesn't exist or has been removed.
166 notice_locking_conflict: Data has been updated by another user.
166 notice_locking_conflict: Data has been updated by another user.
167 notice_not_authorized: You are not authorized to access this page.
167 notice_not_authorized: You are not authorized to access this page.
168 notice_not_authorized_archived_project: The project you're trying to access has been archived.
168 notice_not_authorized_archived_project: The project you're trying to access has been archived.
169 notice_email_sent: "An email was sent to %{value}"
169 notice_email_sent: "An email was sent to %{value}"
170 notice_email_error: "An error occurred while sending mail (%{value})"
170 notice_email_error: "An error occurred while sending mail (%{value})"
171 notice_feeds_access_key_reseted: Your Atom access key was reset.
171 notice_feeds_access_key_reseted: Your Atom access key was reset.
172 notice_api_access_key_reseted: Your API access key was reset.
172 notice_api_access_key_reseted: Your API access key was reset.
173 notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}."
173 notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}."
174 notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
174 notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
175 notice_failed_to_save_members: "Failed to save member(s): %{errors}."
175 notice_failed_to_save_members: "Failed to save member(s): %{errors}."
176 notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit."
176 notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit."
177 notice_account_pending: "Your account was created and is now pending administrator approval."
177 notice_account_pending: "Your account was created and is now pending administrator approval."
178 notice_default_data_loaded: Default configuration successfully loaded.
178 notice_default_data_loaded: Default configuration successfully loaded.
179 notice_unable_delete_version: Unable to delete version.
179 notice_unable_delete_version: Unable to delete version.
180 notice_unable_delete_time_entry: Unable to delete time log entry.
180 notice_unable_delete_time_entry: Unable to delete time log entry.
181 notice_issue_done_ratios_updated: Issue done ratios updated.
181 notice_issue_done_ratios_updated: Issue done ratios updated.
182 notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})"
182 notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})"
183 notice_issue_successful_create: "Issue %{id} created."
183 notice_issue_successful_create: "Issue %{id} created."
184 notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it."
184 notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it."
185 notice_account_deleted: "Your account has been permanently deleted."
185 notice_account_deleted: "Your account has been permanently deleted."
186 notice_user_successful_create: "User %{id} created."
186 notice_user_successful_create: "User %{id} created."
187 notice_new_password_must_be_different: The new password must be different from the current password
187 notice_new_password_must_be_different: The new password must be different from the current password
188 notice_import_finished: "%{count} items have been imported"
188 notice_import_finished: "%{count} items have been imported"
189 notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
189 notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
190
190
191 error_can_t_load_default_data: "Default configuration could not be loaded: %{value}"
191 error_can_t_load_default_data: "Default configuration could not be loaded: %{value}"
192 error_scm_not_found: "The entry or revision was not found in the repository."
192 error_scm_not_found: "The entry or revision was not found in the repository."
193 error_scm_command_failed: "An error occurred when trying to access the repository: %{value}"
193 error_scm_command_failed: "An error occurred when trying to access the repository: %{value}"
194 error_scm_annotate: "The entry does not exist or cannot be annotated."
194 error_scm_annotate: "The entry does not exist or cannot be annotated."
195 error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size."
195 error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size."
196 error_issue_not_found_in_project: 'The issue was not found or does not belong to this project'
196 error_issue_not_found_in_project: 'The issue was not found or does not belong to this project'
197 error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.'
197 error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.'
198 error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").'
198 error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").'
199 error_can_not_delete_custom_field: Unable to delete custom field
199 error_can_not_delete_custom_field: Unable to delete custom field
200 error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted."
200 error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted."
201 error_can_not_remove_role: "This role is in use and cannot be deleted."
201 error_can_not_remove_role: "This role is in use and cannot be deleted."
202 error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened'
202 error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened'
203 error_can_not_archive_project: This project cannot be archived
203 error_can_not_archive_project: This project cannot be archived
204 error_issue_done_ratios_not_updated: "Issue done ratios not updated."
204 error_issue_done_ratios_not_updated: "Issue done ratios not updated."
205 error_workflow_copy_source: 'Please select a source tracker or role'
205 error_workflow_copy_source: 'Please select a source tracker or role'
206 error_workflow_copy_target: 'Please select target tracker(s) and role(s)'
206 error_workflow_copy_target: 'Please select target tracker(s) and role(s)'
207 error_unable_delete_issue_status: 'Unable to delete issue status'
207 error_unable_delete_issue_status: 'Unable to delete issue status'
208 error_unable_to_connect: "Unable to connect (%{value})"
208 error_unable_to_connect: "Unable to connect (%{value})"
209 error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})"
209 error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})"
210 error_session_expired: "Your session has expired. Please login again."
210 error_session_expired: "Your session has expired. Please login again."
211 warning_attachments_not_saved: "%{count} file(s) could not be saved."
211 warning_attachments_not_saved: "%{count} file(s) could not be saved."
212 error_password_expired: "Your password has expired or the administrator requires you to change it."
212 error_password_expired: "Your password has expired or the administrator requires you to change it."
213 error_invalid_file_encoding: "The file is not a valid %{encoding} encoded file"
213 error_invalid_file_encoding: "The file is not a valid %{encoding} encoded file"
214 error_invalid_csv_file_or_settings: "The file is not a CSV file or does not match the settings below"
214 error_invalid_csv_file_or_settings: "The file is not a CSV file or does not match the settings below"
215 error_can_not_read_import_file: "An error occurred while reading the file to import"
215 error_can_not_read_import_file: "An error occurred while reading the file to import"
216 error_attachment_extension_not_allowed: "Attachment extension %{extension} is not allowed"
216 error_attachment_extension_not_allowed: "Attachment extension %{extension} is not allowed"
217 error_ldap_bind_credentials: "Invalid LDAP Account/Password"
217 error_ldap_bind_credentials: "Invalid LDAP Account/Password"
218 error_no_tracker_allowed_for_new_issue_in_project: "The project doesn't have any trackers for which you can create an issue"
218 error_no_tracker_allowed_for_new_issue_in_project: "The project doesn't have any trackers for which you can create an issue"
219 error_no_projects_with_tracker_allowed_for_new_issue: "There are no projects with trackers for which you can create an issue"
219 error_no_projects_with_tracker_allowed_for_new_issue: "There are no projects with trackers for which you can create an issue"
220 error_move_of_child_not_possible: "Subtask %{child} could not be moved to the new project: %{errors}"
220 error_move_of_child_not_possible: "Subtask %{child} could not be moved to the new project: %{errors}"
221 error_cannot_reassign_time_entries_to_an_issue_about_to_be_deleted: "Spent time cannot be reassigned to an issue that is about to be deleted"
221 error_cannot_reassign_time_entries_to_an_issue_about_to_be_deleted: "Spent time cannot be reassigned to an issue that is about to be deleted"
222 warning_fields_cleared_on_bulk_edit: "Changes will result in the automatic deletion of values from one or more fields on the selected objects"
222 warning_fields_cleared_on_bulk_edit: "Changes will result in the automatic deletion of values from one or more fields on the selected objects"
223
223
224 mail_subject_lost_password: "Your %{value} password"
224 mail_subject_lost_password: "Your %{value} password"
225 mail_body_lost_password: 'To change your password, click on the following link:'
225 mail_body_lost_password: 'To change your password, click on the following link:'
226 mail_subject_register: "Your %{value} account activation"
226 mail_subject_register: "Your %{value} account activation"
227 mail_body_register: 'To activate your account, click on the following link:'
227 mail_body_register: 'To activate your account, click on the following link:'
228 mail_body_account_information_external: "You can use your %{value} account to log in."
228 mail_body_account_information_external: "You can use your %{value} account to log in."
229 mail_body_account_information: Your account information
229 mail_body_account_information: Your account information
230 mail_subject_account_activation_request: "%{value} account activation request"
230 mail_subject_account_activation_request: "%{value} account activation request"
231 mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:"
231 mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:"
232 mail_subject_reminder: "%{count} issue(s) due in the next %{days} days"
232 mail_subject_reminder: "%{count} issue(s) due in the next %{days} days"
233 mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:"
233 mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:"
234 mail_subject_wiki_content_added: "'%{id}' wiki page has been added"
234 mail_subject_wiki_content_added: "'%{id}' wiki page has been added"
235 mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}."
235 mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}."
236 mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated"
236 mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated"
237 mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}."
237 mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}."
238 mail_subject_security_notification: "Security notification"
238 mail_subject_security_notification: "Security notification"
239 mail_body_security_notification_change: "%{field} was changed."
239 mail_body_security_notification_change: "%{field} was changed."
240 mail_body_security_notification_change_to: "%{field} was changed to %{value}."
240 mail_body_security_notification_change_to: "%{field} was changed to %{value}."
241 mail_body_security_notification_add: "%{field} %{value} was added."
241 mail_body_security_notification_add: "%{field} %{value} was added."
242 mail_body_security_notification_remove: "%{field} %{value} was removed."
242 mail_body_security_notification_remove: "%{field} %{value} was removed."
243 mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications."
243 mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications."
244 mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications."
244 mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications."
245 mail_body_settings_updated: "The following settings were changed:"
245 mail_body_settings_updated: "The following settings were changed:"
246 mail_body_password_updated: "Your password has been changed."
246 mail_body_password_updated: "Your password has been changed."
247
247
248 field_name: Name
248 field_name: Name
249 field_description: Description
249 field_description: Description
250 field_summary: Summary
250 field_summary: Summary
251 field_is_required: Required
251 field_is_required: Required
252 field_firstname: First name
252 field_firstname: First name
253 field_lastname: Last name
253 field_lastname: Last name
254 field_mail: Email
254 field_mail: Email
255 field_address: Email
255 field_address: Email
256 field_filename: File
256 field_filename: File
257 field_filesize: Size
257 field_filesize: Size
258 field_downloads: Downloads
258 field_downloads: Downloads
259 field_author: Author
259 field_author: Author
260 field_created_on: Created
260 field_created_on: Created
261 field_updated_on: Updated
261 field_updated_on: Updated
262 field_closed_on: Closed
262 field_closed_on: Closed
263 field_field_format: Format
263 field_field_format: Format
264 field_is_for_all: For all projects
264 field_is_for_all: For all projects
265 field_possible_values: Possible values
265 field_possible_values: Possible values
266 field_regexp: Regular expression
266 field_regexp: Regular expression
267 field_min_length: Minimum length
267 field_min_length: Minimum length
268 field_max_length: Maximum length
268 field_max_length: Maximum length
269 field_value: Value
269 field_value: Value
270 field_category: Category
270 field_category: Category
271 field_title: Title
271 field_title: Title
272 field_project: Project
272 field_project: Project
273 field_issue: Issue
273 field_issue: Issue
274 field_status: Status
274 field_status: Status
275 field_notes: Notes
275 field_notes: Notes
276 field_is_closed: Issue closed
276 field_is_closed: Issue closed
277 field_is_default: Default value
277 field_is_default: Default value
278 field_tracker: Tracker
278 field_tracker: Tracker
279 field_subject: Subject
279 field_subject: Subject
280 field_due_date: Due date
280 field_due_date: Due date
281 field_assigned_to: Assignee
281 field_assigned_to: Assignee
282 field_priority: Priority
282 field_priority: Priority
283 field_fixed_version: Target version
283 field_fixed_version: Target version
284 field_user: User
284 field_user: User
285 field_principal: Principal
285 field_principal: Principal
286 field_role: Role
286 field_role: Role
287 field_homepage: Homepage
287 field_homepage: Homepage
288 field_is_public: Public
288 field_is_public: Public
289 field_parent: Subproject of
289 field_parent: Subproject of
290 field_is_in_roadmap: Issues displayed in roadmap
290 field_is_in_roadmap: Issues displayed in roadmap
291 field_login: Login
291 field_login: Login
292 field_mail_notification: Email notifications
292 field_mail_notification: Email notifications
293 field_admin: Administrator
293 field_admin: Administrator
294 field_last_login_on: Last connection
294 field_last_login_on: Last connection
295 field_language: Language
295 field_language: Language
296 field_effective_date: Due date
296 field_effective_date: Due date
297 field_password: Password
297 field_password: Password
298 field_new_password: New password
298 field_new_password: New password
299 field_password_confirmation: Confirmation
299 field_password_confirmation: Confirmation
300 field_version: Version
300 field_version: Version
301 field_type: Type
301 field_type: Type
302 field_host: Host
302 field_host: Host
303 field_port: Port
303 field_port: Port
304 field_account: Account
304 field_account: Account
305 field_base_dn: Base DN
305 field_base_dn: Base DN
306 field_attr_login: Login attribute
306 field_attr_login: Login attribute
307 field_attr_firstname: Firstname attribute
307 field_attr_firstname: Firstname attribute
308 field_attr_lastname: Lastname attribute
308 field_attr_lastname: Lastname attribute
309 field_attr_mail: Email attribute
309 field_attr_mail: Email attribute
310 field_onthefly: On-the-fly user creation
310 field_onthefly: On-the-fly user creation
311 field_start_date: Start date
311 field_start_date: Start date
312 field_done_ratio: "% Done"
312 field_done_ratio: "% Done"
313 field_auth_source: Authentication mode
313 field_auth_source: Authentication mode
314 field_hide_mail: Hide my email address
314 field_hide_mail: Hide my email address
315 field_comments: Comment
315 field_comments: Comment
316 field_url: URL
316 field_url: URL
317 field_start_page: Start page
317 field_start_page: Start page
318 field_subproject: Subproject
318 field_subproject: Subproject
319 field_hours: Hours
319 field_hours: Hours
320 field_activity: Activity
320 field_activity: Activity
321 field_spent_on: Date
321 field_spent_on: Date
322 field_identifier: Identifier
322 field_identifier: Identifier
323 field_is_filter: Used as a filter
323 field_is_filter: Used as a filter
324 field_issue_to: Related issue
324 field_issue_to: Related issue
325 field_delay: Delay
325 field_delay: Delay
326 field_assignable: Issues can be assigned to this role
326 field_assignable: Issues can be assigned to this role
327 field_redirect_existing_links: Redirect existing links
327 field_redirect_existing_links: Redirect existing links
328 field_estimated_hours: Estimated time
328 field_estimated_hours: Estimated time
329 field_column_names: Columns
329 field_column_names: Columns
330 field_time_entries: Log time
330 field_time_entries: Log time
331 field_time_zone: Time zone
331 field_time_zone: Time zone
332 field_searchable: Searchable
332 field_searchable: Searchable
333 field_default_value: Default value
333 field_default_value: Default value
334 field_comments_sorting: Display comments
334 field_comments_sorting: Display comments
335 field_parent_title: Parent page
335 field_parent_title: Parent page
336 field_editable: Editable
336 field_editable: Editable
337 field_watcher: Watcher
337 field_watcher: Watcher
338 field_identity_url: OpenID URL
338 field_identity_url: OpenID URL
339 field_content: Content
339 field_content: Content
340 field_group_by: Group results by
340 field_group_by: Group results by
341 field_sharing: Sharing
341 field_sharing: Sharing
342 field_parent_issue: Parent task
342 field_parent_issue: Parent task
343 field_member_of_group: "Assignee's group"
343 field_member_of_group: "Assignee's group"
344 field_assigned_to_role: "Assignee's role"
344 field_assigned_to_role: "Assignee's role"
345 field_text: Text field
345 field_text: Text field
346 field_visible: Visible
346 field_visible: Visible
347 field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text"
347 field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text"
348 field_issues_visibility: Issues visibility
348 field_issues_visibility: Issues visibility
349 field_is_private: Private
349 field_is_private: Private
350 field_commit_logs_encoding: Commit messages encoding
350 field_commit_logs_encoding: Commit messages encoding
351 field_scm_path_encoding: Path encoding
351 field_scm_path_encoding: Path encoding
352 field_path_to_repository: Path to repository
352 field_path_to_repository: Path to repository
353 field_root_directory: Root directory
353 field_root_directory: Root directory
354 field_cvsroot: CVSROOT
354 field_cvsroot: CVSROOT
355 field_cvs_module: Module
355 field_cvs_module: Module
356 field_repository_is_default: Main repository
356 field_repository_is_default: Main repository
357 field_multiple: Multiple values
357 field_multiple: Multiple values
358 field_auth_source_ldap_filter: LDAP filter
358 field_auth_source_ldap_filter: LDAP filter
359 field_core_fields: Standard fields
359 field_core_fields: Standard fields
360 field_timeout: "Timeout (in seconds)"
360 field_timeout: "Timeout (in seconds)"
361 field_board_parent: Parent forum
361 field_board_parent: Parent forum
362 field_private_notes: Private notes
362 field_private_notes: Private notes
363 field_inherit_members: Inherit members
363 field_inherit_members: Inherit members
364 field_generate_password: Generate password
364 field_generate_password: Generate password
365 field_must_change_passwd: Must change password at next logon
365 field_must_change_passwd: Must change password at next logon
366 field_default_status: Default status
366 field_default_status: Default status
367 field_users_visibility: Users visibility
367 field_users_visibility: Users visibility
368 field_time_entries_visibility: Time logs visibility
368 field_time_entries_visibility: Time logs visibility
369 field_total_estimated_hours: Total estimated time
369 field_total_estimated_hours: Total estimated time
370 field_default_version: Default version
370 field_default_version: Default version
371 field_remote_ip: IP address
371 field_remote_ip: IP address
372 field_textarea_font: Font used for text areas
372 field_textarea_font: Font used for text areas
373 field_updated_by: Updated by
373 field_updated_by: Updated by
374 field_last_updated_by: Last updated by
374 field_last_updated_by: Last updated by
375 field_full_width_layout: Full width layout
375
376
376 setting_app_title: Application title
377 setting_app_title: Application title
377 setting_app_subtitle: Application subtitle
378 setting_app_subtitle: Application subtitle
378 setting_welcome_text: Welcome text
379 setting_welcome_text: Welcome text
379 setting_default_language: Default language
380 setting_default_language: Default language
380 setting_login_required: Authentication required
381 setting_login_required: Authentication required
381 setting_self_registration: Self-registration
382 setting_self_registration: Self-registration
382 setting_attachment_max_size: Maximum attachment size
383 setting_attachment_max_size: Maximum attachment size
383 setting_issues_export_limit: Issues export limit
384 setting_issues_export_limit: Issues export limit
384 setting_mail_from: Emission email address
385 setting_mail_from: Emission email address
385 setting_bcc_recipients: Blind carbon copy recipients (bcc)
386 setting_bcc_recipients: Blind carbon copy recipients (bcc)
386 setting_plain_text_mail: Plain text mail (no HTML)
387 setting_plain_text_mail: Plain text mail (no HTML)
387 setting_host_name: Host name and path
388 setting_host_name: Host name and path
388 setting_text_formatting: Text formatting
389 setting_text_formatting: Text formatting
389 setting_wiki_compression: Wiki history compression
390 setting_wiki_compression: Wiki history compression
390 setting_feeds_limit: Maximum number of items in Atom feeds
391 setting_feeds_limit: Maximum number of items in Atom feeds
391 setting_default_projects_public: New projects are public by default
392 setting_default_projects_public: New projects are public by default
392 setting_autofetch_changesets: Fetch commits automatically
393 setting_autofetch_changesets: Fetch commits automatically
393 setting_sys_api_enabled: Enable WS for repository management
394 setting_sys_api_enabled: Enable WS for repository management
394 setting_commit_ref_keywords: Referencing keywords
395 setting_commit_ref_keywords: Referencing keywords
395 setting_commit_fix_keywords: Fixing keywords
396 setting_commit_fix_keywords: Fixing keywords
396 setting_autologin: Autologin
397 setting_autologin: Autologin
397 setting_date_format: Date format
398 setting_date_format: Date format
398 setting_time_format: Time format
399 setting_time_format: Time format
399 setting_timespan_format: Time span format
400 setting_timespan_format: Time span format
400 setting_cross_project_issue_relations: Allow cross-project issue relations
401 setting_cross_project_issue_relations: Allow cross-project issue relations
401 setting_cross_project_subtasks: Allow cross-project subtasks
402 setting_cross_project_subtasks: Allow cross-project subtasks
402 setting_issue_list_default_columns: Default columns displayed on the issue list
403 setting_issue_list_default_columns: Default columns displayed on the issue list
403 setting_repositories_encodings: Attachments and repositories encodings
404 setting_repositories_encodings: Attachments and repositories encodings
404 setting_emails_header: Email header
405 setting_emails_header: Email header
405 setting_emails_footer: Email footer
406 setting_emails_footer: Email footer
406 setting_protocol: Protocol
407 setting_protocol: Protocol
407 setting_per_page_options: Objects per page options
408 setting_per_page_options: Objects per page options
408 setting_user_format: Users display format
409 setting_user_format: Users display format
409 setting_activity_days_default: Days displayed on project activity
410 setting_activity_days_default: Days displayed on project activity
410 setting_display_subprojects_issues: Display subprojects issues on main projects by default
411 setting_display_subprojects_issues: Display subprojects issues on main projects by default
411 setting_enabled_scm: Enabled SCM
412 setting_enabled_scm: Enabled SCM
412 setting_mail_handler_body_delimiters: "Truncate emails after one of these lines"
413 setting_mail_handler_body_delimiters: "Truncate emails after one of these lines"
413 setting_mail_handler_enable_regex_delimiters: "Enable regular expressions"
414 setting_mail_handler_enable_regex_delimiters: "Enable regular expressions"
414 setting_mail_handler_api_enabled: Enable WS for incoming emails
415 setting_mail_handler_api_enabled: Enable WS for incoming emails
415 setting_mail_handler_api_key: Incoming email WS API key
416 setting_mail_handler_api_key: Incoming email WS API key
416 setting_sys_api_key: Repository management WS API key
417 setting_sys_api_key: Repository management WS API key
417 setting_sequential_project_identifiers: Generate sequential project identifiers
418 setting_sequential_project_identifiers: Generate sequential project identifiers
418 setting_gravatar_enabled: Use Gravatar user icons
419 setting_gravatar_enabled: Use Gravatar user icons
419 setting_gravatar_default: Default Gravatar image
420 setting_gravatar_default: Default Gravatar image
420 setting_diff_max_lines_displayed: Maximum number of diff lines displayed
421 setting_diff_max_lines_displayed: Maximum number of diff lines displayed
421 setting_file_max_size_displayed: Maximum size of text files displayed inline
422 setting_file_max_size_displayed: Maximum size of text files displayed inline
422 setting_repository_log_display_limit: Maximum number of revisions displayed on file log
423 setting_repository_log_display_limit: Maximum number of revisions displayed on file log
423 setting_openid: Allow OpenID login and registration
424 setting_openid: Allow OpenID login and registration
424 setting_password_max_age: Require password change after
425 setting_password_max_age: Require password change after
425 setting_password_min_length: Minimum password length
426 setting_password_min_length: Minimum password length
426 setting_lost_password: Allow password reset via email
427 setting_lost_password: Allow password reset via email
427 setting_new_project_user_role_id: Role given to a non-admin user who creates a project
428 setting_new_project_user_role_id: Role given to a non-admin user who creates a project
428 setting_default_projects_modules: Default enabled modules for new projects
429 setting_default_projects_modules: Default enabled modules for new projects
429 setting_issue_done_ratio: Calculate the issue done ratio with
430 setting_issue_done_ratio: Calculate the issue done ratio with
430 setting_issue_done_ratio_issue_field: Use the issue field
431 setting_issue_done_ratio_issue_field: Use the issue field
431 setting_issue_done_ratio_issue_status: Use the issue status
432 setting_issue_done_ratio_issue_status: Use the issue status
432 setting_start_of_week: Start calendars on
433 setting_start_of_week: Start calendars on
433 setting_rest_api_enabled: Enable REST web service
434 setting_rest_api_enabled: Enable REST web service
434 setting_cache_formatted_text: Cache formatted text
435 setting_cache_formatted_text: Cache formatted text
435 setting_default_notification_option: Default notification option
436 setting_default_notification_option: Default notification option
436 setting_commit_logtime_enabled: Enable time logging
437 setting_commit_logtime_enabled: Enable time logging
437 setting_commit_logtime_activity_id: Activity for logged time
438 setting_commit_logtime_activity_id: Activity for logged time
438 setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
439 setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
439 setting_issue_group_assignment: Allow issue assignment to groups
440 setting_issue_group_assignment: Allow issue assignment to groups
440 setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues
441 setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues
441 setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed
442 setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed
442 setting_unsubscribe: Allow users to delete their own account
443 setting_unsubscribe: Allow users to delete their own account
443 setting_session_lifetime: Session maximum lifetime
444 setting_session_lifetime: Session maximum lifetime
444 setting_session_timeout: Session inactivity timeout
445 setting_session_timeout: Session inactivity timeout
445 setting_thumbnails_enabled: Display attachment thumbnails
446 setting_thumbnails_enabled: Display attachment thumbnails
446 setting_thumbnails_size: Thumbnails size (in pixels)
447 setting_thumbnails_size: Thumbnails size (in pixels)
447 setting_non_working_week_days: Non-working days
448 setting_non_working_week_days: Non-working days
448 setting_jsonp_enabled: Enable JSONP support
449 setting_jsonp_enabled: Enable JSONP support
449 setting_default_projects_tracker_ids: Default trackers for new projects
450 setting_default_projects_tracker_ids: Default trackers for new projects
450 setting_mail_handler_excluded_filenames: Exclude attachments by name
451 setting_mail_handler_excluded_filenames: Exclude attachments by name
451 setting_force_default_language_for_anonymous: Force default language for anonymous users
452 setting_force_default_language_for_anonymous: Force default language for anonymous users
452 setting_force_default_language_for_loggedin: Force default language for logged-in users
453 setting_force_default_language_for_loggedin: Force default language for logged-in users
453 setting_link_copied_issue: Link issues on copy
454 setting_link_copied_issue: Link issues on copy
454 setting_max_additional_emails: Maximum number of additional email addresses
455 setting_max_additional_emails: Maximum number of additional email addresses
455 setting_search_results_per_page: Search results per page
456 setting_search_results_per_page: Search results per page
456 setting_attachment_extensions_allowed: Allowed extensions
457 setting_attachment_extensions_allowed: Allowed extensions
457 setting_attachment_extensions_denied: Disallowed extensions
458 setting_attachment_extensions_denied: Disallowed extensions
458 setting_new_item_menu_tab: Project menu tab for creating new objects
459 setting_new_item_menu_tab: Project menu tab for creating new objects
459 setting_commit_logs_formatting: Apply text formatting to commit messages
460 setting_commit_logs_formatting: Apply text formatting to commit messages
460 setting_timelog_required_fields: Required fields for time logs
461 setting_timelog_required_fields: Required fields for time logs
461
462
462 permission_add_project: Create project
463 permission_add_project: Create project
463 permission_add_subprojects: Create subprojects
464 permission_add_subprojects: Create subprojects
464 permission_edit_project: Edit project
465 permission_edit_project: Edit project
465 permission_close_project: Close / reopen the project
466 permission_close_project: Close / reopen the project
466 permission_select_project_modules: Select project modules
467 permission_select_project_modules: Select project modules
467 permission_manage_members: Manage members
468 permission_manage_members: Manage members
468 permission_manage_project_activities: Manage project activities
469 permission_manage_project_activities: Manage project activities
469 permission_manage_versions: Manage versions
470 permission_manage_versions: Manage versions
470 permission_manage_categories: Manage issue categories
471 permission_manage_categories: Manage issue categories
471 permission_view_issues: View Issues
472 permission_view_issues: View Issues
472 permission_add_issues: Add issues
473 permission_add_issues: Add issues
473 permission_edit_issues: Edit issues
474 permission_edit_issues: Edit issues
474 permission_copy_issues: Copy issues
475 permission_copy_issues: Copy issues
475 permission_manage_issue_relations: Manage issue relations
476 permission_manage_issue_relations: Manage issue relations
476 permission_set_issues_private: Set issues public or private
477 permission_set_issues_private: Set issues public or private
477 permission_set_own_issues_private: Set own issues public or private
478 permission_set_own_issues_private: Set own issues public or private
478 permission_add_issue_notes: Add notes
479 permission_add_issue_notes: Add notes
479 permission_edit_issue_notes: Edit notes
480 permission_edit_issue_notes: Edit notes
480 permission_edit_own_issue_notes: Edit own notes
481 permission_edit_own_issue_notes: Edit own notes
481 permission_view_private_notes: View private notes
482 permission_view_private_notes: View private notes
482 permission_set_notes_private: Set notes as private
483 permission_set_notes_private: Set notes as private
483 permission_move_issues: Move issues
484 permission_move_issues: Move issues
484 permission_delete_issues: Delete issues
485 permission_delete_issues: Delete issues
485 permission_manage_public_queries: Manage public queries
486 permission_manage_public_queries: Manage public queries
486 permission_save_queries: Save queries
487 permission_save_queries: Save queries
487 permission_view_gantt: View gantt chart
488 permission_view_gantt: View gantt chart
488 permission_view_calendar: View calendar
489 permission_view_calendar: View calendar
489 permission_view_issue_watchers: View watchers list
490 permission_view_issue_watchers: View watchers list
490 permission_add_issue_watchers: Add watchers
491 permission_add_issue_watchers: Add watchers
491 permission_delete_issue_watchers: Delete watchers
492 permission_delete_issue_watchers: Delete watchers
492 permission_log_time: Log spent time
493 permission_log_time: Log spent time
493 permission_view_time_entries: View spent time
494 permission_view_time_entries: View spent time
494 permission_edit_time_entries: Edit time logs
495 permission_edit_time_entries: Edit time logs
495 permission_edit_own_time_entries: Edit own time logs
496 permission_edit_own_time_entries: Edit own time logs
496 permission_manage_news: Manage news
497 permission_manage_news: Manage news
497 permission_comment_news: Comment news
498 permission_comment_news: Comment news
498 permission_view_documents: View documents
499 permission_view_documents: View documents
499 permission_add_documents: Add documents
500 permission_add_documents: Add documents
500 permission_edit_documents: Edit documents
501 permission_edit_documents: Edit documents
501 permission_delete_documents: Delete documents
502 permission_delete_documents: Delete documents
502 permission_manage_files: Manage files
503 permission_manage_files: Manage files
503 permission_view_files: View files
504 permission_view_files: View files
504 permission_manage_wiki: Manage wiki
505 permission_manage_wiki: Manage wiki
505 permission_rename_wiki_pages: Rename wiki pages
506 permission_rename_wiki_pages: Rename wiki pages
506 permission_delete_wiki_pages: Delete wiki pages
507 permission_delete_wiki_pages: Delete wiki pages
507 permission_view_wiki_pages: View wiki
508 permission_view_wiki_pages: View wiki
508 permission_view_wiki_edits: View wiki history
509 permission_view_wiki_edits: View wiki history
509 permission_edit_wiki_pages: Edit wiki pages
510 permission_edit_wiki_pages: Edit wiki pages
510 permission_delete_wiki_pages_attachments: Delete attachments
511 permission_delete_wiki_pages_attachments: Delete attachments
511 permission_protect_wiki_pages: Protect wiki pages
512 permission_protect_wiki_pages: Protect wiki pages
512 permission_manage_repository: Manage repository
513 permission_manage_repository: Manage repository
513 permission_browse_repository: Browse repository
514 permission_browse_repository: Browse repository
514 permission_view_changesets: View changesets
515 permission_view_changesets: View changesets
515 permission_commit_access: Commit access
516 permission_commit_access: Commit access
516 permission_manage_boards: Manage forums
517 permission_manage_boards: Manage forums
517 permission_view_messages: View messages
518 permission_view_messages: View messages
518 permission_add_messages: Post messages
519 permission_add_messages: Post messages
519 permission_edit_messages: Edit messages
520 permission_edit_messages: Edit messages
520 permission_edit_own_messages: Edit own messages
521 permission_edit_own_messages: Edit own messages
521 permission_delete_messages: Delete messages
522 permission_delete_messages: Delete messages
522 permission_delete_own_messages: Delete own messages
523 permission_delete_own_messages: Delete own messages
523 permission_export_wiki_pages: Export wiki pages
524 permission_export_wiki_pages: Export wiki pages
524 permission_manage_subtasks: Manage subtasks
525 permission_manage_subtasks: Manage subtasks
525 permission_manage_related_issues: Manage related issues
526 permission_manage_related_issues: Manage related issues
526 permission_import_issues: Import issues
527 permission_import_issues: Import issues
527
528
528 project_module_issue_tracking: Issue tracking
529 project_module_issue_tracking: Issue tracking
529 project_module_time_tracking: Time tracking
530 project_module_time_tracking: Time tracking
530 project_module_news: News
531 project_module_news: News
531 project_module_documents: Documents
532 project_module_documents: Documents
532 project_module_files: Files
533 project_module_files: Files
533 project_module_wiki: Wiki
534 project_module_wiki: Wiki
534 project_module_repository: Repository
535 project_module_repository: Repository
535 project_module_boards: Forums
536 project_module_boards: Forums
536 project_module_calendar: Calendar
537 project_module_calendar: Calendar
537 project_module_gantt: Gantt
538 project_module_gantt: Gantt
538
539
539 label_user: User
540 label_user: User
540 label_user_plural: Users
541 label_user_plural: Users
541 label_user_new: New user
542 label_user_new: New user
542 label_user_anonymous: Anonymous
543 label_user_anonymous: Anonymous
543 label_project: Project
544 label_project: Project
544 label_project_new: New project
545 label_project_new: New project
545 label_project_plural: Projects
546 label_project_plural: Projects
546 label_x_projects:
547 label_x_projects:
547 zero: no projects
548 zero: no projects
548 one: 1 project
549 one: 1 project
549 other: "%{count} projects"
550 other: "%{count} projects"
550 label_project_all: All Projects
551 label_project_all: All Projects
551 label_project_latest: Latest projects
552 label_project_latest: Latest projects
552 label_issue: Issue
553 label_issue: Issue
553 label_issue_new: New issue
554 label_issue_new: New issue
554 label_issue_plural: Issues
555 label_issue_plural: Issues
555 label_issue_view_all: View all issues
556 label_issue_view_all: View all issues
556 label_issues_by: "Issues by %{value}"
557 label_issues_by: "Issues by %{value}"
557 label_issue_added: Issue added
558 label_issue_added: Issue added
558 label_issue_updated: Issue updated
559 label_issue_updated: Issue updated
559 label_issue_note_added: Note added
560 label_issue_note_added: Note added
560 label_issue_status_updated: Status updated
561 label_issue_status_updated: Status updated
561 label_issue_assigned_to_updated: Assignee updated
562 label_issue_assigned_to_updated: Assignee updated
562 label_issue_priority_updated: Priority updated
563 label_issue_priority_updated: Priority updated
563 label_document: Document
564 label_document: Document
564 label_document_new: New document
565 label_document_new: New document
565 label_document_plural: Documents
566 label_document_plural: Documents
566 label_document_added: Document added
567 label_document_added: Document added
567 label_role: Role
568 label_role: Role
568 label_role_plural: Roles
569 label_role_plural: Roles
569 label_role_new: New role
570 label_role_new: New role
570 label_role_and_permissions: Roles and permissions
571 label_role_and_permissions: Roles and permissions
571 label_role_anonymous: Anonymous
572 label_role_anonymous: Anonymous
572 label_role_non_member: Non member
573 label_role_non_member: Non member
573 label_member: Member
574 label_member: Member
574 label_member_new: New member
575 label_member_new: New member
575 label_member_plural: Members
576 label_member_plural: Members
576 label_tracker: Tracker
577 label_tracker: Tracker
577 label_tracker_plural: Trackers
578 label_tracker_plural: Trackers
578 label_tracker_all: All trackers
579 label_tracker_all: All trackers
579 label_tracker_new: New tracker
580 label_tracker_new: New tracker
580 label_workflow: Workflow
581 label_workflow: Workflow
581 label_issue_status: Issue status
582 label_issue_status: Issue status
582 label_issue_status_plural: Issue statuses
583 label_issue_status_plural: Issue statuses
583 label_issue_status_new: New status
584 label_issue_status_new: New status
584 label_issue_category: Issue category
585 label_issue_category: Issue category
585 label_issue_category_plural: Issue categories
586 label_issue_category_plural: Issue categories
586 label_issue_category_new: New category
587 label_issue_category_new: New category
587 label_custom_field: Custom field
588 label_custom_field: Custom field
588 label_custom_field_plural: Custom fields
589 label_custom_field_plural: Custom fields
589 label_custom_field_new: New custom field
590 label_custom_field_new: New custom field
590 label_enumerations: Enumerations
591 label_enumerations: Enumerations
591 label_enumeration_new: New value
592 label_enumeration_new: New value
592 label_information: Information
593 label_information: Information
593 label_information_plural: Information
594 label_information_plural: Information
594 label_please_login: Please log in
595 label_please_login: Please log in
595 label_register: Register
596 label_register: Register
596 label_login_with_open_id_option: or login with OpenID
597 label_login_with_open_id_option: or login with OpenID
597 label_password_lost: Lost password
598 label_password_lost: Lost password
598 label_password_required: Confirm your password to continue
599 label_password_required: Confirm your password to continue
599 label_home: Home
600 label_home: Home
600 label_my_page: My page
601 label_my_page: My page
601 label_my_account: My account
602 label_my_account: My account
602 label_my_projects: My projects
603 label_my_projects: My projects
603 label_my_page_block: My page block
604 label_my_page_block: My page block
604 label_administration: Administration
605 label_administration: Administration
605 label_login: Sign in
606 label_login: Sign in
606 label_logout: Sign out
607 label_logout: Sign out
607 label_help: Help
608 label_help: Help
608 label_reported_issues: Reported issues
609 label_reported_issues: Reported issues
609 label_assigned_issues: Assigned issues
610 label_assigned_issues: Assigned issues
610 label_assigned_to_me_issues: Issues assigned to me
611 label_assigned_to_me_issues: Issues assigned to me
611 label_last_login: Last connection
612 label_last_login: Last connection
612 label_registered_on: Registered on
613 label_registered_on: Registered on
613 label_activity: Activity
614 label_activity: Activity
614 label_overall_activity: Overall activity
615 label_overall_activity: Overall activity
615 label_user_activity: "%{value}'s activity"
616 label_user_activity: "%{value}'s activity"
616 label_new: New
617 label_new: New
617 label_logged_as: Logged in as
618 label_logged_as: Logged in as
618 label_environment: Environment
619 label_environment: Environment
619 label_authentication: Authentication
620 label_authentication: Authentication
620 label_auth_source: Authentication mode
621 label_auth_source: Authentication mode
621 label_auth_source_new: New authentication mode
622 label_auth_source_new: New authentication mode
622 label_auth_source_plural: Authentication modes
623 label_auth_source_plural: Authentication modes
623 label_subproject_plural: Subprojects
624 label_subproject_plural: Subprojects
624 label_subproject_new: New subproject
625 label_subproject_new: New subproject
625 label_and_its_subprojects: "%{value} and its subprojects"
626 label_and_its_subprojects: "%{value} and its subprojects"
626 label_min_max_length: Min - Max length
627 label_min_max_length: Min - Max length
627 label_list: List
628 label_list: List
628 label_date: Date
629 label_date: Date
629 label_integer: Integer
630 label_integer: Integer
630 label_float: Float
631 label_float: Float
631 label_boolean: Boolean
632 label_boolean: Boolean
632 label_string: Text
633 label_string: Text
633 label_text: Long text
634 label_text: Long text
634 label_attribute: Attribute
635 label_attribute: Attribute
635 label_attribute_plural: Attributes
636 label_attribute_plural: Attributes
636 label_no_data: No data to display
637 label_no_data: No data to display
637 label_no_preview: No preview available
638 label_no_preview: No preview available
638 label_change_status: Change status
639 label_change_status: Change status
639 label_history: History
640 label_history: History
640 label_attachment: File
641 label_attachment: File
641 label_attachment_new: New file
642 label_attachment_new: New file
642 label_attachment_delete: Delete file
643 label_attachment_delete: Delete file
643 label_attachment_plural: Files
644 label_attachment_plural: Files
644 label_file_added: File added
645 label_file_added: File added
645 label_report: Report
646 label_report: Report
646 label_report_plural: Reports
647 label_report_plural: Reports
647 label_news: News
648 label_news: News
648 label_news_new: Add news
649 label_news_new: Add news
649 label_news_plural: News
650 label_news_plural: News
650 label_news_latest: Latest news
651 label_news_latest: Latest news
651 label_news_view_all: View all news
652 label_news_view_all: View all news
652 label_news_added: News added
653 label_news_added: News added
653 label_news_comment_added: Comment added to a news
654 label_news_comment_added: Comment added to a news
654 label_settings: Settings
655 label_settings: Settings
655 label_overview: Overview
656 label_overview: Overview
656 label_version: Version
657 label_version: Version
657 label_version_new: New version
658 label_version_new: New version
658 label_version_plural: Versions
659 label_version_plural: Versions
659 label_close_versions: Close completed versions
660 label_close_versions: Close completed versions
660 label_confirmation: Confirmation
661 label_confirmation: Confirmation
661 label_export_to: 'Also available in:'
662 label_export_to: 'Also available in:'
662 label_read: Read...
663 label_read: Read...
663 label_public_projects: Public projects
664 label_public_projects: Public projects
664 label_open_issues: open
665 label_open_issues: open
665 label_open_issues_plural: open
666 label_open_issues_plural: open
666 label_closed_issues: closed
667 label_closed_issues: closed
667 label_closed_issues_plural: closed
668 label_closed_issues_plural: closed
668 label_x_open_issues_abbr:
669 label_x_open_issues_abbr:
669 zero: 0 open
670 zero: 0 open
670 one: 1 open
671 one: 1 open
671 other: "%{count} open"
672 other: "%{count} open"
672 label_x_closed_issues_abbr:
673 label_x_closed_issues_abbr:
673 zero: 0 closed
674 zero: 0 closed
674 one: 1 closed
675 one: 1 closed
675 other: "%{count} closed"
676 other: "%{count} closed"
676 label_x_issues:
677 label_x_issues:
677 zero: 0 issues
678 zero: 0 issues
678 one: 1 issue
679 one: 1 issue
679 other: "%{count} issues"
680 other: "%{count} issues"
680 label_total: Total
681 label_total: Total
681 label_total_plural: Totals
682 label_total_plural: Totals
682 label_total_time: Total time
683 label_total_time: Total time
683 label_permissions: Permissions
684 label_permissions: Permissions
684 label_current_status: Current status
685 label_current_status: Current status
685 label_new_statuses_allowed: New statuses allowed
686 label_new_statuses_allowed: New statuses allowed
686 label_all: all
687 label_all: all
687 label_any: any
688 label_any: any
688 label_none: none
689 label_none: none
689 label_nobody: nobody
690 label_nobody: nobody
690 label_next: Next
691 label_next: Next
691 label_previous: Previous
692 label_previous: Previous
692 label_used_by: Used by
693 label_used_by: Used by
693 label_details: Details
694 label_details: Details
694 label_add_note: Add a note
695 label_add_note: Add a note
695 label_calendar: Calendar
696 label_calendar: Calendar
696 label_months_from: months from
697 label_months_from: months from
697 label_gantt: Gantt
698 label_gantt: Gantt
698 label_internal: Internal
699 label_internal: Internal
699 label_last_changes: "last %{count} changes"
700 label_last_changes: "last %{count} changes"
700 label_change_view_all: View all changes
701 label_change_view_all: View all changes
701 label_personalize_page: Personalize this page
702 label_personalize_page: Personalize this page
702 label_comment: Comment
703 label_comment: Comment
703 label_comment_plural: Comments
704 label_comment_plural: Comments
704 label_x_comments:
705 label_x_comments:
705 zero: no comments
706 zero: no comments
706 one: 1 comment
707 one: 1 comment
707 other: "%{count} comments"
708 other: "%{count} comments"
708 label_comment_add: Add a comment
709 label_comment_add: Add a comment
709 label_comment_added: Comment added
710 label_comment_added: Comment added
710 label_comment_delete: Delete comments
711 label_comment_delete: Delete comments
711 label_query: Custom query
712 label_query: Custom query
712 label_query_plural: Custom queries
713 label_query_plural: Custom queries
713 label_query_new: New query
714 label_query_new: New query
714 label_my_queries: My custom queries
715 label_my_queries: My custom queries
715 label_filter_add: Add filter
716 label_filter_add: Add filter
716 label_filter_plural: Filters
717 label_filter_plural: Filters
717 label_equals: is
718 label_equals: is
718 label_not_equals: is not
719 label_not_equals: is not
719 label_in_less_than: in less than
720 label_in_less_than: in less than
720 label_in_more_than: in more than
721 label_in_more_than: in more than
721 label_in_the_next_days: in the next
722 label_in_the_next_days: in the next
722 label_in_the_past_days: in the past
723 label_in_the_past_days: in the past
723 label_greater_or_equal: '>='
724 label_greater_or_equal: '>='
724 label_less_or_equal: '<='
725 label_less_or_equal: '<='
725 label_between: between
726 label_between: between
726 label_in: in
727 label_in: in
727 label_today: today
728 label_today: today
728 label_all_time: all time
729 label_all_time: all time
729 label_yesterday: yesterday
730 label_yesterday: yesterday
730 label_this_week: this week
731 label_this_week: this week
731 label_last_week: last week
732 label_last_week: last week
732 label_last_n_weeks: "last %{count} weeks"
733 label_last_n_weeks: "last %{count} weeks"
733 label_last_n_days: "last %{count} days"
734 label_last_n_days: "last %{count} days"
734 label_this_month: this month
735 label_this_month: this month
735 label_last_month: last month
736 label_last_month: last month
736 label_this_year: this year
737 label_this_year: this year
737 label_date_range: Date range
738 label_date_range: Date range
738 label_less_than_ago: less than days ago
739 label_less_than_ago: less than days ago
739 label_more_than_ago: more than days ago
740 label_more_than_ago: more than days ago
740 label_ago: days ago
741 label_ago: days ago
741 label_contains: contains
742 label_contains: contains
742 label_not_contains: doesn't contain
743 label_not_contains: doesn't contain
743 label_any_issues_in_project: any issues in project
744 label_any_issues_in_project: any issues in project
744 label_any_issues_not_in_project: any issues not in project
745 label_any_issues_not_in_project: any issues not in project
745 label_no_issues_in_project: no issues in project
746 label_no_issues_in_project: no issues in project
746 label_any_open_issues: any open issues
747 label_any_open_issues: any open issues
747 label_no_open_issues: no open issues
748 label_no_open_issues: no open issues
748 label_day_plural: days
749 label_day_plural: days
749 label_repository: Repository
750 label_repository: Repository
750 label_repository_new: New repository
751 label_repository_new: New repository
751 label_repository_plural: Repositories
752 label_repository_plural: Repositories
752 label_browse: Browse
753 label_browse: Browse
753 label_branch: Branch
754 label_branch: Branch
754 label_tag: Tag
755 label_tag: Tag
755 label_revision: Revision
756 label_revision: Revision
756 label_revision_plural: Revisions
757 label_revision_plural: Revisions
757 label_revision_id: "Revision %{value}"
758 label_revision_id: "Revision %{value}"
758 label_associated_revisions: Associated revisions
759 label_associated_revisions: Associated revisions
759 label_added: added
760 label_added: added
760 label_modified: modified
761 label_modified: modified
761 label_copied: copied
762 label_copied: copied
762 label_renamed: renamed
763 label_renamed: renamed
763 label_deleted: deleted
764 label_deleted: deleted
764 label_latest_revision: Latest revision
765 label_latest_revision: Latest revision
765 label_latest_revision_plural: Latest revisions
766 label_latest_revision_plural: Latest revisions
766 label_view_revisions: View revisions
767 label_view_revisions: View revisions
767 label_view_all_revisions: View all revisions
768 label_view_all_revisions: View all revisions
768 label_max_size: Maximum size
769 label_max_size: Maximum size
769 label_sort_highest: Move to top
770 label_sort_highest: Move to top
770 label_sort_higher: Move up
771 label_sort_higher: Move up
771 label_sort_lower: Move down
772 label_sort_lower: Move down
772 label_sort_lowest: Move to bottom
773 label_sort_lowest: Move to bottom
773 label_roadmap: Roadmap
774 label_roadmap: Roadmap
774 label_roadmap_due_in: "Due in %{value}"
775 label_roadmap_due_in: "Due in %{value}"
775 label_roadmap_overdue: "%{value} late"
776 label_roadmap_overdue: "%{value} late"
776 label_roadmap_no_issues: No issues for this version
777 label_roadmap_no_issues: No issues for this version
777 label_search: Search
778 label_search: Search
778 label_result_plural: Results
779 label_result_plural: Results
779 label_all_words: All words
780 label_all_words: All words
780 label_wiki: Wiki
781 label_wiki: Wiki
781 label_wiki_edit: Wiki edit
782 label_wiki_edit: Wiki edit
782 label_wiki_edit_plural: Wiki edits
783 label_wiki_edit_plural: Wiki edits
783 label_wiki_page: Wiki page
784 label_wiki_page: Wiki page
784 label_wiki_page_plural: Wiki pages
785 label_wiki_page_plural: Wiki pages
785 label_wiki_page_new: New wiki page
786 label_wiki_page_new: New wiki page
786 label_index_by_title: Index by title
787 label_index_by_title: Index by title
787 label_index_by_date: Index by date
788 label_index_by_date: Index by date
788 label_current_version: Current version
789 label_current_version: Current version
789 label_preview: Preview
790 label_preview: Preview
790 label_feed_plural: Feeds
791 label_feed_plural: Feeds
791 label_changes_details: Details of all changes
792 label_changes_details: Details of all changes
792 label_issue_tracking: Issue tracking
793 label_issue_tracking: Issue tracking
793 label_spent_time: Spent time
794 label_spent_time: Spent time
794 label_total_spent_time: Total spent time
795 label_total_spent_time: Total spent time
795 label_overall_spent_time: Overall spent time
796 label_overall_spent_time: Overall spent time
796 label_f_hour: "%{value} hour"
797 label_f_hour: "%{value} hour"
797 label_f_hour_plural: "%{value} hours"
798 label_f_hour_plural: "%{value} hours"
798 label_f_hour_short: "%{value} h"
799 label_f_hour_short: "%{value} h"
799 label_time_tracking: Time tracking
800 label_time_tracking: Time tracking
800 label_change_plural: Changes
801 label_change_plural: Changes
801 label_statistics: Statistics
802 label_statistics: Statistics
802 label_commits_per_month: Commits per month
803 label_commits_per_month: Commits per month
803 label_commits_per_author: Commits per author
804 label_commits_per_author: Commits per author
804 label_diff: diff
805 label_diff: diff
805 label_view_diff: View differences
806 label_view_diff: View differences
806 label_diff_inline: inline
807 label_diff_inline: inline
807 label_diff_side_by_side: side by side
808 label_diff_side_by_side: side by side
808 label_options: Options
809 label_options: Options
809 label_copy_workflow_from: Copy workflow from
810 label_copy_workflow_from: Copy workflow from
810 label_permissions_report: Permissions report
811 label_permissions_report: Permissions report
811 label_watched_issues: Watched issues
812 label_watched_issues: Watched issues
812 label_related_issues: Related issues
813 label_related_issues: Related issues
813 label_applied_status: Applied status
814 label_applied_status: Applied status
814 label_loading: Loading...
815 label_loading: Loading...
815 label_relation_new: New relation
816 label_relation_new: New relation
816 label_relation_delete: Delete relation
817 label_relation_delete: Delete relation
817 label_relates_to: Related to
818 label_relates_to: Related to
818 label_duplicates: Duplicates
819 label_duplicates: Duplicates
819 label_duplicated_by: Duplicated by
820 label_duplicated_by: Duplicated by
820 label_blocks: Blocks
821 label_blocks: Blocks
821 label_blocked_by: Blocked by
822 label_blocked_by: Blocked by
822 label_precedes: Precedes
823 label_precedes: Precedes
823 label_follows: Follows
824 label_follows: Follows
824 label_copied_to: Copied to
825 label_copied_to: Copied to
825 label_copied_from: Copied from
826 label_copied_from: Copied from
826 label_stay_logged_in: Stay logged in
827 label_stay_logged_in: Stay logged in
827 label_disabled: disabled
828 label_disabled: disabled
828 label_show_completed_versions: Show completed versions
829 label_show_completed_versions: Show completed versions
829 label_me: me
830 label_me: me
830 label_board: Forum
831 label_board: Forum
831 label_board_new: New forum
832 label_board_new: New forum
832 label_board_plural: Forums
833 label_board_plural: Forums
833 label_board_locked: Locked
834 label_board_locked: Locked
834 label_board_sticky: Sticky
835 label_board_sticky: Sticky
835 label_topic_plural: Topics
836 label_topic_plural: Topics
836 label_message_plural: Messages
837 label_message_plural: Messages
837 label_message_last: Last message
838 label_message_last: Last message
838 label_message_new: New message
839 label_message_new: New message
839 label_message_posted: Message added
840 label_message_posted: Message added
840 label_reply_plural: Replies
841 label_reply_plural: Replies
841 label_send_information: Send account information to the user
842 label_send_information: Send account information to the user
842 label_year: Year
843 label_year: Year
843 label_month: Month
844 label_month: Month
844 label_week: Week
845 label_week: Week
845 label_date_from: From
846 label_date_from: From
846 label_date_to: To
847 label_date_to: To
847 label_language_based: Based on user's language
848 label_language_based: Based on user's language
848 label_sort_by: "Sort by %{value}"
849 label_sort_by: "Sort by %{value}"
849 label_send_test_email: Send a test email
850 label_send_test_email: Send a test email
850 label_feeds_access_key: Atom access key
851 label_feeds_access_key: Atom access key
851 label_missing_feeds_access_key: Missing a Atom access key
852 label_missing_feeds_access_key: Missing a Atom access key
852 label_feeds_access_key_created_on: "Atom access key created %{value} ago"
853 label_feeds_access_key_created_on: "Atom access key created %{value} ago"
853 label_module_plural: Modules
854 label_module_plural: Modules
854 label_added_time_by: "Added by %{author} %{age} ago"
855 label_added_time_by: "Added by %{author} %{age} ago"
855 label_updated_time_by: "Updated by %{author} %{age} ago"
856 label_updated_time_by: "Updated by %{author} %{age} ago"
856 label_updated_time: "Updated %{value} ago"
857 label_updated_time: "Updated %{value} ago"
857 label_jump_to_a_project: Jump to a project...
858 label_jump_to_a_project: Jump to a project...
858 label_file_plural: Files
859 label_file_plural: Files
859 label_changeset_plural: Changesets
860 label_changeset_plural: Changesets
860 label_default_columns: Default columns
861 label_default_columns: Default columns
861 label_no_change_option: (No change)
862 label_no_change_option: (No change)
862 label_bulk_edit_selected_issues: Bulk edit selected issues
863 label_bulk_edit_selected_issues: Bulk edit selected issues
863 label_bulk_edit_selected_time_entries: Bulk edit selected time entries
864 label_bulk_edit_selected_time_entries: Bulk edit selected time entries
864 label_theme: Theme
865 label_theme: Theme
865 label_default: Default
866 label_default: Default
866 label_search_titles_only: Search titles only
867 label_search_titles_only: Search titles only
867 label_user_mail_option_all: "For any event on all my projects"
868 label_user_mail_option_all: "For any event on all my projects"
868 label_user_mail_option_selected: "For any event on the selected projects only..."
869 label_user_mail_option_selected: "For any event on the selected projects only..."
869 label_user_mail_option_none: "No events"
870 label_user_mail_option_none: "No events"
870 label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in"
871 label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in"
871 label_user_mail_option_only_assigned: "Only for things I watch or I am assigned to"
872 label_user_mail_option_only_assigned: "Only for things I watch or I am assigned to"
872 label_user_mail_option_only_owner: "Only for things I watch or I am the owner of"
873 label_user_mail_option_only_owner: "Only for things I watch or I am the owner of"
873 label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself"
874 label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself"
874 label_registration_activation_by_email: account activation by email
875 label_registration_activation_by_email: account activation by email
875 label_registration_manual_activation: manual account activation
876 label_registration_manual_activation: manual account activation
876 label_registration_automatic_activation: automatic account activation
877 label_registration_automatic_activation: automatic account activation
877 label_display_per_page: "Per page: %{value}"
878 label_display_per_page: "Per page: %{value}"
878 label_age: Age
879 label_age: Age
879 label_change_properties: Change properties
880 label_change_properties: Change properties
880 label_general: General
881 label_general: General
881 label_more: More
882 label_more: More
882 label_scm: SCM
883 label_scm: SCM
883 label_plugins: Plugins
884 label_plugins: Plugins
884 label_ldap_authentication: LDAP authentication
885 label_ldap_authentication: LDAP authentication
885 label_downloads_abbr: D/L
886 label_downloads_abbr: D/L
886 label_optional_description: Optional description
887 label_optional_description: Optional description
887 label_add_another_file: Add another file
888 label_add_another_file: Add another file
888 label_preferences: Preferences
889 label_preferences: Preferences
889 label_chronological_order: In chronological order
890 label_chronological_order: In chronological order
890 label_reverse_chronological_order: In reverse chronological order
891 label_reverse_chronological_order: In reverse chronological order
891 label_planning: Planning
892 label_planning: Planning
892 label_incoming_emails: Incoming emails
893 label_incoming_emails: Incoming emails
893 label_generate_key: Generate a key
894 label_generate_key: Generate a key
894 label_issue_watchers: Watchers
895 label_issue_watchers: Watchers
895 label_example: Example
896 label_example: Example
896 label_display: Display
897 label_display: Display
897 label_sort: Sort
898 label_sort: Sort
898 label_ascending: Ascending
899 label_ascending: Ascending
899 label_descending: Descending
900 label_descending: Descending
900 label_date_from_to: From %{start} to %{end}
901 label_date_from_to: From %{start} to %{end}
901 label_wiki_content_added: Wiki page added
902 label_wiki_content_added: Wiki page added
902 label_wiki_content_updated: Wiki page updated
903 label_wiki_content_updated: Wiki page updated
903 label_group: Group
904 label_group: Group
904 label_group_plural: Groups
905 label_group_plural: Groups
905 label_group_new: New group
906 label_group_new: New group
906 label_group_anonymous: Anonymous users
907 label_group_anonymous: Anonymous users
907 label_group_non_member: Non member users
908 label_group_non_member: Non member users
908 label_time_entry_plural: Spent time
909 label_time_entry_plural: Spent time
909 label_version_sharing_none: Not shared
910 label_version_sharing_none: Not shared
910 label_version_sharing_descendants: With subprojects
911 label_version_sharing_descendants: With subprojects
911 label_version_sharing_hierarchy: With project hierarchy
912 label_version_sharing_hierarchy: With project hierarchy
912 label_version_sharing_tree: With project tree
913 label_version_sharing_tree: With project tree
913 label_version_sharing_system: With all projects
914 label_version_sharing_system: With all projects
914 label_update_issue_done_ratios: Update issue done ratios
915 label_update_issue_done_ratios: Update issue done ratios
915 label_copy_source: Source
916 label_copy_source: Source
916 label_copy_target: Target
917 label_copy_target: Target
917 label_copy_same_as_target: Same as target
918 label_copy_same_as_target: Same as target
918 label_display_used_statuses_only: Only display statuses that are used by this tracker
919 label_display_used_statuses_only: Only display statuses that are used by this tracker
919 label_api_access_key: API access key
920 label_api_access_key: API access key
920 label_missing_api_access_key: Missing an API access key
921 label_missing_api_access_key: Missing an API access key
921 label_api_access_key_created_on: "API access key created %{value} ago"
922 label_api_access_key_created_on: "API access key created %{value} ago"
922 label_profile: Profile
923 label_profile: Profile
923 label_subtask_plural: Subtasks
924 label_subtask_plural: Subtasks
924 label_project_copy_notifications: Send email notifications during the project copy
925 label_project_copy_notifications: Send email notifications during the project copy
925 label_principal_search: "Search for user or group:"
926 label_principal_search: "Search for user or group:"
926 label_user_search: "Search for user:"
927 label_user_search: "Search for user:"
927 label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author
928 label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author
928 label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee
929 label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee
929 label_issues_visibility_all: All issues
930 label_issues_visibility_all: All issues
930 label_issues_visibility_public: All non private issues
931 label_issues_visibility_public: All non private issues
931 label_issues_visibility_own: Issues created by or assigned to the user
932 label_issues_visibility_own: Issues created by or assigned to the user
932 label_git_report_last_commit: Report last commit for files and directories
933 label_git_report_last_commit: Report last commit for files and directories
933 label_parent_revision: Parent
934 label_parent_revision: Parent
934 label_child_revision: Child
935 label_child_revision: Child
935 label_export_options: "%{export_format} export options"
936 label_export_options: "%{export_format} export options"
936 label_copy_attachments: Copy attachments
937 label_copy_attachments: Copy attachments
937 label_copy_subtasks: Copy subtasks
938 label_copy_subtasks: Copy subtasks
938 label_item_position: "%{position} of %{count}"
939 label_item_position: "%{position} of %{count}"
939 label_completed_versions: Completed versions
940 label_completed_versions: Completed versions
940 label_search_for_watchers: Search for watchers to add
941 label_search_for_watchers: Search for watchers to add
941 label_session_expiration: Session expiration
942 label_session_expiration: Session expiration
942 label_show_closed_projects: View closed projects
943 label_show_closed_projects: View closed projects
943 label_status_transitions: Status transitions
944 label_status_transitions: Status transitions
944 label_fields_permissions: Fields permissions
945 label_fields_permissions: Fields permissions
945 label_readonly: Read-only
946 label_readonly: Read-only
946 label_required: Required
947 label_required: Required
947 label_hidden: Hidden
948 label_hidden: Hidden
948 label_attribute_of_project: "Project's %{name}"
949 label_attribute_of_project: "Project's %{name}"
949 label_attribute_of_issue: "Issue's %{name}"
950 label_attribute_of_issue: "Issue's %{name}"
950 label_attribute_of_author: "Author's %{name}"
951 label_attribute_of_author: "Author's %{name}"
951 label_attribute_of_assigned_to: "Assignee's %{name}"
952 label_attribute_of_assigned_to: "Assignee's %{name}"
952 label_attribute_of_user: "User's %{name}"
953 label_attribute_of_user: "User's %{name}"
953 label_attribute_of_fixed_version: "Target version's %{name}"
954 label_attribute_of_fixed_version: "Target version's %{name}"
954 label_attribute_of_object: "%{object_name}'s %{name}"
955 label_attribute_of_object: "%{object_name}'s %{name}"
955 label_cross_project_descendants: With subprojects
956 label_cross_project_descendants: With subprojects
956 label_cross_project_tree: With project tree
957 label_cross_project_tree: With project tree
957 label_cross_project_hierarchy: With project hierarchy
958 label_cross_project_hierarchy: With project hierarchy
958 label_cross_project_system: With all projects
959 label_cross_project_system: With all projects
959 label_gantt_progress_line: Progress line
960 label_gantt_progress_line: Progress line
960 label_visibility_private: to me only
961 label_visibility_private: to me only
961 label_visibility_roles: to these roles only
962 label_visibility_roles: to these roles only
962 label_visibility_public: to any users
963 label_visibility_public: to any users
963 label_link: Link
964 label_link: Link
964 label_only: only
965 label_only: only
965 label_drop_down_list: drop-down list
966 label_drop_down_list: drop-down list
966 label_checkboxes: checkboxes
967 label_checkboxes: checkboxes
967 label_radio_buttons: radio buttons
968 label_radio_buttons: radio buttons
968 label_link_values_to: Link values to URL
969 label_link_values_to: Link values to URL
969 label_custom_field_select_type: Select the type of object to which the custom field is to be attached
970 label_custom_field_select_type: Select the type of object to which the custom field is to be attached
970 label_check_for_updates: Check for updates
971 label_check_for_updates: Check for updates
971 label_latest_compatible_version: Latest compatible version
972 label_latest_compatible_version: Latest compatible version
972 label_unknown_plugin: Unknown plugin
973 label_unknown_plugin: Unknown plugin
973 label_add_projects: Add projects
974 label_add_projects: Add projects
974 label_users_visibility_all: All active users
975 label_users_visibility_all: All active users
975 label_users_visibility_members_of_visible_projects: Members of visible projects
976 label_users_visibility_members_of_visible_projects: Members of visible projects
976 label_edit_attachments: Edit attached files
977 label_edit_attachments: Edit attached files
977 label_link_copied_issue: Link copied issue
978 label_link_copied_issue: Link copied issue
978 label_ask: Ask
979 label_ask: Ask
979 label_search_attachments_yes: Search attachment filenames and descriptions
980 label_search_attachments_yes: Search attachment filenames and descriptions
980 label_search_attachments_no: Do not search attachments
981 label_search_attachments_no: Do not search attachments
981 label_search_attachments_only: Search attachments only
982 label_search_attachments_only: Search attachments only
982 label_search_open_issues_only: Open issues only
983 label_search_open_issues_only: Open issues only
983 label_email_address_plural: Emails
984 label_email_address_plural: Emails
984 label_email_address_add: Add email address
985 label_email_address_add: Add email address
985 label_enable_notifications: Enable notifications
986 label_enable_notifications: Enable notifications
986 label_disable_notifications: Disable notifications
987 label_disable_notifications: Disable notifications
987 label_blank_value: blank
988 label_blank_value: blank
988 label_parent_task_attributes: Parent tasks attributes
989 label_parent_task_attributes: Parent tasks attributes
989 label_parent_task_attributes_derived: Calculated from subtasks
990 label_parent_task_attributes_derived: Calculated from subtasks
990 label_parent_task_attributes_independent: Independent of subtasks
991 label_parent_task_attributes_independent: Independent of subtasks
991 label_time_entries_visibility_all: All time entries
992 label_time_entries_visibility_all: All time entries
992 label_time_entries_visibility_own: Time entries created by the user
993 label_time_entries_visibility_own: Time entries created by the user
993 label_member_management: Member management
994 label_member_management: Member management
994 label_member_management_all_roles: All roles
995 label_member_management_all_roles: All roles
995 label_member_management_selected_roles_only: Only these roles
996 label_member_management_selected_roles_only: Only these roles
996 label_import_issues: Import issues
997 label_import_issues: Import issues
997 label_select_file_to_import: Select the file to import
998 label_select_file_to_import: Select the file to import
998 label_fields_separator: Field separator
999 label_fields_separator: Field separator
999 label_fields_wrapper: Field wrapper
1000 label_fields_wrapper: Field wrapper
1000 label_encoding: Encoding
1001 label_encoding: Encoding
1001 label_comma_char: Comma
1002 label_comma_char: Comma
1002 label_semi_colon_char: Semicolon
1003 label_semi_colon_char: Semicolon
1003 label_quote_char: Quote
1004 label_quote_char: Quote
1004 label_double_quote_char: Double quote
1005 label_double_quote_char: Double quote
1005 label_fields_mapping: Fields mapping
1006 label_fields_mapping: Fields mapping
1006 label_file_content_preview: File content preview
1007 label_file_content_preview: File content preview
1007 label_create_missing_values: Create missing values
1008 label_create_missing_values: Create missing values
1008 label_api: API
1009 label_api: API
1009 label_field_format_enumeration: Key/value list
1010 label_field_format_enumeration: Key/value list
1010 label_default_values_for_new_users: Default values for new users
1011 label_default_values_for_new_users: Default values for new users
1011 label_relations: Relations
1012 label_relations: Relations
1012 label_new_project_issue_tab_enabled: Display the "New issue" tab
1013 label_new_project_issue_tab_enabled: Display the "New issue" tab
1013 label_new_object_tab_enabled: Display the "+" drop-down
1014 label_new_object_tab_enabled: Display the "+" drop-down
1014 label_table_of_contents: Table of contents
1015 label_table_of_contents: Table of contents
1015 label_font_default: Default font
1016 label_font_default: Default font
1016 label_font_monospace: Monospaced font
1017 label_font_monospace: Monospaced font
1017 label_font_proportional: Proportional font
1018 label_font_proportional: Proportional font
1018
1019
1019 button_login: Login
1020 button_login: Login
1020 button_submit: Submit
1021 button_submit: Submit
1021 button_save: Save
1022 button_save: Save
1022 button_check_all: Check all
1023 button_check_all: Check all
1023 button_uncheck_all: Uncheck all
1024 button_uncheck_all: Uncheck all
1024 button_collapse_all: Collapse all
1025 button_collapse_all: Collapse all
1025 button_expand_all: Expand all
1026 button_expand_all: Expand all
1026 button_delete: Delete
1027 button_delete: Delete
1027 button_create: Create
1028 button_create: Create
1028 button_create_and_continue: Create and continue
1029 button_create_and_continue: Create and continue
1029 button_test: Test
1030 button_test: Test
1030 button_edit: Edit
1031 button_edit: Edit
1031 button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}"
1032 button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}"
1032 button_add: Add
1033 button_add: Add
1033 button_change: Change
1034 button_change: Change
1034 button_apply: Apply
1035 button_apply: Apply
1035 button_clear: Clear
1036 button_clear: Clear
1036 button_lock: Lock
1037 button_lock: Lock
1037 button_unlock: Unlock
1038 button_unlock: Unlock
1038 button_download: Download
1039 button_download: Download
1039 button_list: List
1040 button_list: List
1040 button_view: View
1041 button_view: View
1041 button_move: Move
1042 button_move: Move
1042 button_move_and_follow: Move and follow
1043 button_move_and_follow: Move and follow
1043 button_back: Back
1044 button_back: Back
1044 button_cancel: Cancel
1045 button_cancel: Cancel
1045 button_activate: Activate
1046 button_activate: Activate
1046 button_sort: Sort
1047 button_sort: Sort
1047 button_log_time: Log time
1048 button_log_time: Log time
1048 button_rollback: Rollback to this version
1049 button_rollback: Rollback to this version
1049 button_watch: Watch
1050 button_watch: Watch
1050 button_unwatch: Unwatch
1051 button_unwatch: Unwatch
1051 button_reply: Reply
1052 button_reply: Reply
1052 button_archive: Archive
1053 button_archive: Archive
1053 button_unarchive: Unarchive
1054 button_unarchive: Unarchive
1054 button_reset: Reset
1055 button_reset: Reset
1055 button_rename: Rename
1056 button_rename: Rename
1056 button_change_password: Change password
1057 button_change_password: Change password
1057 button_copy: Copy
1058 button_copy: Copy
1058 button_copy_and_follow: Copy and follow
1059 button_copy_and_follow: Copy and follow
1059 button_annotate: Annotate
1060 button_annotate: Annotate
1060 button_update: Update
1061 button_update: Update
1061 button_configure: Configure
1062 button_configure: Configure
1062 button_quote: Quote
1063 button_quote: Quote
1063 button_duplicate: Duplicate
1064 button_duplicate: Duplicate
1064 button_show: Show
1065 button_show: Show
1065 button_hide: Hide
1066 button_hide: Hide
1066 button_edit_section: Edit this section
1067 button_edit_section: Edit this section
1067 button_export: Export
1068 button_export: Export
1068 button_delete_my_account: Delete my account
1069 button_delete_my_account: Delete my account
1069 button_close: Close
1070 button_close: Close
1070 button_reopen: Reopen
1071 button_reopen: Reopen
1071 button_import: Import
1072 button_import: Import
1072 button_filter: Filter
1073 button_filter: Filter
1073
1074
1074 status_active: active
1075 status_active: active
1075 status_registered: registered
1076 status_registered: registered
1076 status_locked: locked
1077 status_locked: locked
1077
1078
1078 project_status_active: active
1079 project_status_active: active
1079 project_status_closed: closed
1080 project_status_closed: closed
1080 project_status_archived: archived
1081 project_status_archived: archived
1081
1082
1082 version_status_open: open
1083 version_status_open: open
1083 version_status_locked: locked
1084 version_status_locked: locked
1084 version_status_closed: closed
1085 version_status_closed: closed
1085
1086
1086 field_active: Active
1087 field_active: Active
1087
1088
1088 text_select_mail_notifications: Select actions for which email notifications should be sent.
1089 text_select_mail_notifications: Select actions for which email notifications should be sent.
1089 text_regexp_info: eg. ^[A-Z0-9]+$
1090 text_regexp_info: eg. ^[A-Z0-9]+$
1090 text_min_max_length_info: 0 means no restriction
1091 text_min_max_length_info: 0 means no restriction
1091 text_project_destroy_confirmation: Are you sure you want to delete this project and related data?
1092 text_project_destroy_confirmation: Are you sure you want to delete this project and related data?
1092 text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted."
1093 text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted."
1093 text_workflow_edit: Select a role and a tracker to edit the workflow
1094 text_workflow_edit: Select a role and a tracker to edit the workflow
1094 text_are_you_sure: Are you sure?
1095 text_are_you_sure: Are you sure?
1095 text_journal_changed: "%{label} changed from %{old} to %{new}"
1096 text_journal_changed: "%{label} changed from %{old} to %{new}"
1096 text_journal_changed_no_detail: "%{label} updated"
1097 text_journal_changed_no_detail: "%{label} updated"
1097 text_journal_set_to: "%{label} set to %{value}"
1098 text_journal_set_to: "%{label} set to %{value}"
1098 text_journal_deleted: "%{label} deleted (%{old})"
1099 text_journal_deleted: "%{label} deleted (%{old})"
1099 text_journal_added: "%{label} %{value} added"
1100 text_journal_added: "%{label} %{value} added"
1100 text_tip_issue_begin_day: issue beginning this day
1101 text_tip_issue_begin_day: issue beginning this day
1101 text_tip_issue_end_day: issue ending this day
1102 text_tip_issue_end_day: issue ending this day
1102 text_tip_issue_begin_end_day: issue beginning and ending this day
1103 text_tip_issue_begin_end_day: issue beginning and ending this day
1103 text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter.<br />Once saved, the identifier cannot be changed.'
1104 text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter.<br />Once saved, the identifier cannot be changed.'
1104 text_caracters_maximum: "%{count} characters maximum."
1105 text_caracters_maximum: "%{count} characters maximum."
1105 text_caracters_minimum: "Must be at least %{count} characters long."
1106 text_caracters_minimum: "Must be at least %{count} characters long."
1106 text_length_between: "Length between %{min} and %{max} characters."
1107 text_length_between: "Length between %{min} and %{max} characters."
1107 text_tracker_no_workflow: No workflow defined for this tracker
1108 text_tracker_no_workflow: No workflow defined for this tracker
1108 text_unallowed_characters: Unallowed characters
1109 text_unallowed_characters: Unallowed characters
1109 text_comma_separated: Multiple values allowed (comma separated).
1110 text_comma_separated: Multiple values allowed (comma separated).
1110 text_line_separated: Multiple values allowed (one line for each value).
1111 text_line_separated: Multiple values allowed (one line for each value).
1111 text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
1112 text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
1112 text_issue_added: "Issue %{id} has been reported by %{author}."
1113 text_issue_added: "Issue %{id} has been reported by %{author}."
1113 text_issue_updated: "Issue %{id} has been updated by %{author}."
1114 text_issue_updated: "Issue %{id} has been updated by %{author}."
1114 text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content?
1115 text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content?
1115 text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?"
1116 text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?"
1116 text_issue_category_destroy_assignments: Remove category assignments
1117 text_issue_category_destroy_assignments: Remove category assignments
1117 text_issue_category_reassign_to: Reassign issues to this category
1118 text_issue_category_reassign_to: Reassign issues to this category
1118 text_user_mail_option: "For unselected projects, you will only receive notifications about things you watch or you're involved in (eg. issues you're the author or assignee)."
1119 text_user_mail_option: "For unselected projects, you will only receive notifications about things you watch or you're involved in (eg. issues you're the author or assignee)."
1119 text_no_configuration_data: "Roles, trackers, issue statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded."
1120 text_no_configuration_data: "Roles, trackers, issue statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded."
1120 text_load_default_configuration: Load the default configuration
1121 text_load_default_configuration: Load the default configuration
1121 text_status_changed_by_changeset: "Applied in changeset %{value}."
1122 text_status_changed_by_changeset: "Applied in changeset %{value}."
1122 text_time_logged_by_changeset: "Applied in changeset %{value}."
1123 text_time_logged_by_changeset: "Applied in changeset %{value}."
1123 text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?'
1124 text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?'
1124 text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)."
1125 text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)."
1125 text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?'
1126 text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?'
1126 text_select_project_modules: 'Select modules to enable for this project:'
1127 text_select_project_modules: 'Select modules to enable for this project:'
1127 text_default_administrator_account_changed: Default administrator account changed
1128 text_default_administrator_account_changed: Default administrator account changed
1128 text_file_repository_writable: Attachments directory writable
1129 text_file_repository_writable: Attachments directory writable
1129 text_plugin_assets_writable: Plugin assets directory writable
1130 text_plugin_assets_writable: Plugin assets directory writable
1130 text_rmagick_available: RMagick available (optional)
1131 text_rmagick_available: RMagick available (optional)
1131 text_convert_available: ImageMagick convert available (optional)
1132 text_convert_available: ImageMagick convert available (optional)
1132 text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?"
1133 text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?"
1133 text_destroy_time_entries: Delete reported hours
1134 text_destroy_time_entries: Delete reported hours
1134 text_assign_time_entries_to_project: Assign reported hours to the project
1135 text_assign_time_entries_to_project: Assign reported hours to the project
1135 text_reassign_time_entries: 'Reassign reported hours to this issue:'
1136 text_reassign_time_entries: 'Reassign reported hours to this issue:'
1136 text_user_wrote: "%{value} wrote:"
1137 text_user_wrote: "%{value} wrote:"
1137 text_enumeration_destroy_question: "%{count} objects are assigned to the value “%{name}”."
1138 text_enumeration_destroy_question: "%{count} objects are assigned to the value “%{name}”."
1138 text_enumeration_category_reassign_to: 'Reassign them to this value:'
1139 text_enumeration_category_reassign_to: 'Reassign them to this value:'
1139 text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/configuration.yml and restart the application to enable them."
1140 text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/configuration.yml and restart the application to enable them."
1140 text_repository_usernames_mapping: "Select or update the Redmine user mapped to each username found in the repository log.\nUsers with the same Redmine and repository username or email are automatically mapped."
1141 text_repository_usernames_mapping: "Select or update the Redmine user mapped to each username found in the repository log.\nUsers with the same Redmine and repository username or email are automatically mapped."
1141 text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.'
1142 text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.'
1142 text_custom_field_possible_values_info: 'One line for each value'
1143 text_custom_field_possible_values_info: 'One line for each value'
1143 text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?"
1144 text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?"
1144 text_wiki_page_nullify_children: "Keep child pages as root pages"
1145 text_wiki_page_nullify_children: "Keep child pages as root pages"
1145 text_wiki_page_destroy_children: "Delete child pages and all their descendants"
1146 text_wiki_page_destroy_children: "Delete child pages and all their descendants"
1146 text_wiki_page_reassign_children: "Reassign child pages to this parent page"
1147 text_wiki_page_reassign_children: "Reassign child pages to this parent page"
1147 text_own_membership_delete_confirmation: "You are about to remove some or all of your permissions and may no longer be able to edit this project after that.\nAre you sure you want to continue?"
1148 text_own_membership_delete_confirmation: "You are about to remove some or all of your permissions and may no longer be able to edit this project after that.\nAre you sure you want to continue?"
1148 text_zoom_in: Zoom in
1149 text_zoom_in: Zoom in
1149 text_zoom_out: Zoom out
1150 text_zoom_out: Zoom out
1150 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
1151 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
1151 text_scm_path_encoding_note: "Default: UTF-8"
1152 text_scm_path_encoding_note: "Default: UTF-8"
1152 text_subversion_repository_note: "Examples: file:///, http://, https://, svn://, svn+[tunnelscheme]://"
1153 text_subversion_repository_note: "Examples: file:///, http://, https://, svn://, svn+[tunnelscheme]://"
1153 text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
1154 text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
1154 text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo)
1155 text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo)
1155 text_scm_command: Command
1156 text_scm_command: Command
1156 text_scm_command_version: Version
1157 text_scm_command_version: Version
1157 text_scm_config: You can configure your SCM commands in config/configuration.yml. Please restart the application after editing it.
1158 text_scm_config: You can configure your SCM commands in config/configuration.yml. Please restart the application after editing it.
1158 text_scm_command_not_available: SCM command is not available. Please check settings on the administration panel.
1159 text_scm_command_not_available: SCM command is not available. Please check settings on the administration panel.
1159 text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)"
1160 text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)"
1160 text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes"
1161 text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes"
1161 text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}"
1162 text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}"
1162 text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it."
1163 text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it."
1163 text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours."
1164 text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours."
1164 text_project_closed: This project is closed and read-only.
1165 text_project_closed: This project is closed and read-only.
1165 text_turning_multiple_off: "If you disable multiple values, multiple values will be removed in order to preserve only one value per item."
1166 text_turning_multiple_off: "If you disable multiple values, multiple values will be removed in order to preserve only one value per item."
1166
1167
1167 default_role_manager: Manager
1168 default_role_manager: Manager
1168 default_role_developer: Developer
1169 default_role_developer: Developer
1169 default_role_reporter: Reporter
1170 default_role_reporter: Reporter
1170 default_tracker_bug: Bug
1171 default_tracker_bug: Bug
1171 default_tracker_feature: Feature
1172 default_tracker_feature: Feature
1172 default_tracker_support: Support
1173 default_tracker_support: Support
1173 default_issue_status_new: New
1174 default_issue_status_new: New
1174 default_issue_status_in_progress: In Progress
1175 default_issue_status_in_progress: In Progress
1175 default_issue_status_resolved: Resolved
1176 default_issue_status_resolved: Resolved
1176 default_issue_status_feedback: Feedback
1177 default_issue_status_feedback: Feedback
1177 default_issue_status_closed: Closed
1178 default_issue_status_closed: Closed
1178 default_issue_status_rejected: Rejected
1179 default_issue_status_rejected: Rejected
1179 default_doc_category_user: User documentation
1180 default_doc_category_user: User documentation
1180 default_doc_category_tech: Technical documentation
1181 default_doc_category_tech: Technical documentation
1181 default_priority_low: Low
1182 default_priority_low: Low
1182 default_priority_normal: Normal
1183 default_priority_normal: Normal
1183 default_priority_high: High
1184 default_priority_high: High
1184 default_priority_urgent: Urgent
1185 default_priority_urgent: Urgent
1185 default_priority_immediate: Immediate
1186 default_priority_immediate: Immediate
1186 default_activity_design: Design
1187 default_activity_design: Design
1187 default_activity_development: Development
1188 default_activity_development: Development
1188
1189
1189 enumeration_issue_priorities: Issue priorities
1190 enumeration_issue_priorities: Issue priorities
1190 enumeration_doc_categories: Document categories
1191 enumeration_doc_categories: Document categories
1191 enumeration_activities: Activities (time tracking)
1192 enumeration_activities: Activities (time tracking)
1192 enumeration_system_activity: System Activity
1193 enumeration_system_activity: System Activity
1193 description_filter: Filter
1194 description_filter: Filter
1194 description_search: Searchfield
1195 description_search: Searchfield
1195 description_choose_project: Projects
1196 description_choose_project: Projects
1196 description_project_scope: Search scope
1197 description_project_scope: Search scope
1197 description_notes: Notes
1198 description_notes: Notes
1198 description_message_content: Message content
1199 description_message_content: Message content
1199 description_query_sort_criteria_attribute: Sort attribute
1200 description_query_sort_criteria_attribute: Sort attribute
1200 description_query_sort_criteria_direction: Sort direction
1201 description_query_sort_criteria_direction: Sort direction
1201 description_user_mail_notification: Mail notification settings
1202 description_user_mail_notification: Mail notification settings
1202 description_available_columns: Available Columns
1203 description_available_columns: Available Columns
1203 description_selected_columns: Selected Columns
1204 description_selected_columns: Selected Columns
1204 description_all_columns: All Columns
1205 description_all_columns: All Columns
1205 description_issue_category_reassign: Choose issue category
1206 description_issue_category_reassign: Choose issue category
1206 description_wiki_subpages_reassign: Choose new parent page
1207 description_wiki_subpages_reassign: Choose new parent page
1207 description_date_range_list: Choose range from list
1208 description_date_range_list: Choose range from list
1208 description_date_range_interval: Choose range by selecting start and end date
1209 description_date_range_interval: Choose range by selecting start and end date
1209 description_date_from: Enter start date
1210 description_date_from: Enter start date
1210 description_date_to: Enter end date
1211 description_date_to: Enter end date
1211 text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.'
1212 text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.'
@@ -1,1231 +1,1232
1 # French translations for Ruby on Rails
1 # French translations for Ruby on Rails
2 # by Christian Lescuyer (christian@flyingcoders.com)
2 # by Christian Lescuyer (christian@flyingcoders.com)
3 # contributor: Sebastien Grosjean - ZenCocoon.com
3 # contributor: Sebastien Grosjean - ZenCocoon.com
4 # contributor: Thibaut Cuvelier - Developpez.com
4 # contributor: Thibaut Cuvelier - Developpez.com
5
5
6 fr:
6 fr:
7 direction: ltr
7 direction: ltr
8 date:
8 date:
9 formats:
9 formats:
10 default: "%d/%m/%Y"
10 default: "%d/%m/%Y"
11 short: "%e %b"
11 short: "%e %b"
12 long: "%e %B %Y"
12 long: "%e %B %Y"
13 long_ordinal: "%e %B %Y"
13 long_ordinal: "%e %B %Y"
14 only_day: "%e"
14 only_day: "%e"
15
15
16 day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
16 day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
17 abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
17 abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
18
18
19 # Don't forget the nil at the beginning; there's no such thing as a 0th month
19 # Don't forget the nil at the beginning; there's no such thing as a 0th month
20 month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre]
20 month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre]
21 abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.]
21 abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.]
22 # Used in date_select and datime_select.
22 # Used in date_select and datime_select.
23 order:
23 order:
24 - :day
24 - :day
25 - :month
25 - :month
26 - :year
26 - :year
27
27
28 time:
28 time:
29 formats:
29 formats:
30 default: "%d/%m/%Y %H:%M"
30 default: "%d/%m/%Y %H:%M"
31 time: "%H:%M"
31 time: "%H:%M"
32 short: "%d %b %H:%M"
32 short: "%d %b %H:%M"
33 long: "%A %d %B %Y %H:%M:%S %Z"
33 long: "%A %d %B %Y %H:%M:%S %Z"
34 long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
34 long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
35 only_second: "%S"
35 only_second: "%S"
36 am: 'am'
36 am: 'am'
37 pm: 'pm'
37 pm: 'pm'
38
38
39 datetime:
39 datetime:
40 distance_in_words:
40 distance_in_words:
41 half_a_minute: "30 secondes"
41 half_a_minute: "30 secondes"
42 less_than_x_seconds:
42 less_than_x_seconds:
43 zero: "moins d'une seconde"
43 zero: "moins d'une seconde"
44 one: "moins d'une seconde"
44 one: "moins d'une seconde"
45 other: "moins de %{count} secondes"
45 other: "moins de %{count} secondes"
46 x_seconds:
46 x_seconds:
47 one: "1 seconde"
47 one: "1 seconde"
48 other: "%{count} secondes"
48 other: "%{count} secondes"
49 less_than_x_minutes:
49 less_than_x_minutes:
50 zero: "moins d'une minute"
50 zero: "moins d'une minute"
51 one: "moins d'une minute"
51 one: "moins d'une minute"
52 other: "moins de %{count} minutes"
52 other: "moins de %{count} minutes"
53 x_minutes:
53 x_minutes:
54 one: "1 minute"
54 one: "1 minute"
55 other: "%{count} minutes"
55 other: "%{count} minutes"
56 about_x_hours:
56 about_x_hours:
57 one: "environ une heure"
57 one: "environ une heure"
58 other: "environ %{count} heures"
58 other: "environ %{count} heures"
59 x_hours:
59 x_hours:
60 one: "une heure"
60 one: "une heure"
61 other: "%{count} heures"
61 other: "%{count} heures"
62 x_days:
62 x_days:
63 one: "un jour"
63 one: "un jour"
64 other: "%{count} jours"
64 other: "%{count} jours"
65 about_x_months:
65 about_x_months:
66 one: "environ un mois"
66 one: "environ un mois"
67 other: "environ %{count} mois"
67 other: "environ %{count} mois"
68 x_months:
68 x_months:
69 one: "un mois"
69 one: "un mois"
70 other: "%{count} mois"
70 other: "%{count} mois"
71 about_x_years:
71 about_x_years:
72 one: "environ un an"
72 one: "environ un an"
73 other: "environ %{count} ans"
73 other: "environ %{count} ans"
74 over_x_years:
74 over_x_years:
75 one: "plus d'un an"
75 one: "plus d'un an"
76 other: "plus de %{count} ans"
76 other: "plus de %{count} ans"
77 almost_x_years:
77 almost_x_years:
78 one: "presqu'un an"
78 one: "presqu'un an"
79 other: "presque %{count} ans"
79 other: "presque %{count} ans"
80 prompts:
80 prompts:
81 year: "Année"
81 year: "Année"
82 month: "Mois"
82 month: "Mois"
83 day: "Jour"
83 day: "Jour"
84 hour: "Heure"
84 hour: "Heure"
85 minute: "Minute"
85 minute: "Minute"
86 second: "Seconde"
86 second: "Seconde"
87
87
88 number:
88 number:
89 format:
89 format:
90 precision: 3
90 precision: 3
91 separator: ','
91 separator: ','
92 delimiter: ' '
92 delimiter: ' '
93 currency:
93 currency:
94 format:
94 format:
95 unit: '€'
95 unit: '€'
96 precision: 2
96 precision: 2
97 format: '%n %u'
97 format: '%n %u'
98 human:
98 human:
99 format:
99 format:
100 precision: 3
100 precision: 3
101 storage_units:
101 storage_units:
102 format: "%n %u"
102 format: "%n %u"
103 units:
103 units:
104 byte:
104 byte:
105 one: "octet"
105 one: "octet"
106 other: "octets"
106 other: "octets"
107 kb: "ko"
107 kb: "ko"
108 mb: "Mo"
108 mb: "Mo"
109 gb: "Go"
109 gb: "Go"
110 tb: "To"
110 tb: "To"
111
111
112 support:
112 support:
113 array:
113 array:
114 sentence_connector: 'et'
114 sentence_connector: 'et'
115 skip_last_comma: true
115 skip_last_comma: true
116 word_connector: ", "
116 word_connector: ", "
117 two_words_connector: " et "
117 two_words_connector: " et "
118 last_word_connector: " et "
118 last_word_connector: " et "
119
119
120 activerecord:
120 activerecord:
121 errors:
121 errors:
122 template:
122 template:
123 header:
123 header:
124 one: "Impossible d'enregistrer %{model} : une erreur"
124 one: "Impossible d'enregistrer %{model} : une erreur"
125 other: "Impossible d'enregistrer %{model} : %{count} erreurs."
125 other: "Impossible d'enregistrer %{model} : %{count} erreurs."
126 body: "Veuillez vérifier les champs suivants :"
126 body: "Veuillez vérifier les champs suivants :"
127 messages:
127 messages:
128 inclusion: "n'est pas inclus(e) dans la liste"
128 inclusion: "n'est pas inclus(e) dans la liste"
129 exclusion: "n'est pas disponible"
129 exclusion: "n'est pas disponible"
130 invalid: "n'est pas valide"
130 invalid: "n'est pas valide"
131 confirmation: "ne concorde pas avec la confirmation"
131 confirmation: "ne concorde pas avec la confirmation"
132 accepted: "doit être accepté(e)"
132 accepted: "doit être accepté(e)"
133 empty: "doit être renseigné(e)"
133 empty: "doit être renseigné(e)"
134 blank: "doit être renseigné(e)"
134 blank: "doit être renseigné(e)"
135 too_long: "est trop long (pas plus de %{count} caractères)"
135 too_long: "est trop long (pas plus de %{count} caractères)"
136 too_short: "est trop court (au moins %{count} caractères)"
136 too_short: "est trop court (au moins %{count} caractères)"
137 wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
137 wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
138 taken: "est déjà utilisé"
138 taken: "est déjà utilisé"
139 not_a_number: "n'est pas un nombre"
139 not_a_number: "n'est pas un nombre"
140 not_a_date: "n'est pas une date valide"
140 not_a_date: "n'est pas une date valide"
141 greater_than: "doit être supérieur à %{count}"
141 greater_than: "doit être supérieur à %{count}"
142 greater_than_or_equal_to: "doit être supérieur ou égal à %{count}"
142 greater_than_or_equal_to: "doit être supérieur ou égal à %{count}"
143 equal_to: "doit être égal à %{count}"
143 equal_to: "doit être égal à %{count}"
144 less_than: "doit être inférieur à %{count}"
144 less_than: "doit être inférieur à %{count}"
145 less_than_or_equal_to: "doit être inférieur ou égal à %{count}"
145 less_than_or_equal_to: "doit être inférieur ou égal à %{count}"
146 odd: "doit être impair"
146 odd: "doit être impair"
147 even: "doit être pair"
147 even: "doit être pair"
148 greater_than_start_date: "doit être postérieure à la date de début"
148 greater_than_start_date: "doit être postérieure à la date de début"
149 not_same_project: "n'appartient pas au même projet"
149 not_same_project: "n'appartient pas au même projet"
150 circular_dependency: "Cette relation créerait une dépendance circulaire"
150 circular_dependency: "Cette relation créerait une dépendance circulaire"
151 cant_link_an_issue_with_a_descendant: "Une demande ne peut pas être liée à l'une de ses sous-tâches"
151 cant_link_an_issue_with_a_descendant: "Une demande ne peut pas être liée à l'une de ses sous-tâches"
152 earlier_than_minimum_start_date: "ne peut pas être antérieure au %{date} à cause des demandes qui précèdent"
152 earlier_than_minimum_start_date: "ne peut pas être antérieure au %{date} à cause des demandes qui précèdent"
153 not_a_regexp: "n'est pas une expression regulière valide"
153 not_a_regexp: "n'est pas une expression regulière valide"
154 open_issue_with_closed_parent: "Une demande ouverte ne peut pas être rattachée à une demande fermée"
154 open_issue_with_closed_parent: "Une demande ouverte ne peut pas être rattachée à une demande fermée"
155
155
156 actionview_instancetag_blank_option: Choisir
156 actionview_instancetag_blank_option: Choisir
157
157
158 general_text_No: 'Non'
158 general_text_No: 'Non'
159 general_text_Yes: 'Oui'
159 general_text_Yes: 'Oui'
160 general_text_no: 'non'
160 general_text_no: 'non'
161 general_text_yes: 'oui'
161 general_text_yes: 'oui'
162 general_lang_name: 'French (Français)'
162 general_lang_name: 'French (Français)'
163 general_csv_separator: ';'
163 general_csv_separator: ';'
164 general_csv_decimal_separator: ','
164 general_csv_decimal_separator: ','
165 general_csv_encoding: ISO-8859-1
165 general_csv_encoding: ISO-8859-1
166 general_pdf_fontname: freesans
166 general_pdf_fontname: freesans
167 general_pdf_monospaced_fontname: freemono
167 general_pdf_monospaced_fontname: freemono
168 general_first_day_of_week: '1'
168 general_first_day_of_week: '1'
169
169
170 notice_account_updated: Le compte a été mis à jour avec succès.
170 notice_account_updated: Le compte a été mis à jour avec succès.
171 notice_account_invalid_credentials: Identifiant ou mot de passe invalide.
171 notice_account_invalid_credentials: Identifiant ou mot de passe invalide.
172 notice_account_password_updated: Mot de passe mis à jour avec succès.
172 notice_account_password_updated: Mot de passe mis à jour avec succès.
173 notice_account_wrong_password: Mot de passe incorrect
173 notice_account_wrong_password: Mot de passe incorrect
174 notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a été envoyé à l'adresse %{email}.
174 notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a été envoyé à l'adresse %{email}.
175 notice_account_unknown_email: Aucun compte ne correspond à cette adresse.
175 notice_account_unknown_email: Aucun compte ne correspond à cette adresse.
176 notice_account_not_activated_yet: Vous n'avez pas encore activé votre compte. Si vous voulez recevoir un nouveau message d'activation, veuillez <a href="%{url}">cliquer sur ce lien</a>.
176 notice_account_not_activated_yet: Vous n'avez pas encore activé votre compte. Si vous voulez recevoir un nouveau message d'activation, veuillez <a href="%{url}">cliquer sur ce lien</a>.
177 notice_account_locked: Votre compte est verrouillé.
177 notice_account_locked: Votre compte est verrouillé.
178 notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe.
178 notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe.
179 notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a été envoyé.
179 notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a été envoyé.
180 notice_account_activated: Votre compte a été activé. Vous pouvez à présent vous connecter.
180 notice_account_activated: Votre compte a été activé. Vous pouvez à présent vous connecter.
181 notice_successful_create: Création effectuée avec succès.
181 notice_successful_create: Création effectuée avec succès.
182 notice_successful_update: Mise à jour effectuée avec succès.
182 notice_successful_update: Mise à jour effectuée avec succès.
183 notice_successful_delete: Suppression effectuée avec succès.
183 notice_successful_delete: Suppression effectuée avec succès.
184 notice_successful_connection: Connexion réussie.
184 notice_successful_connection: Connexion réussie.
185 notice_file_not_found: "La page à laquelle vous souhaitez accéder n'existe pas ou a été supprimée."
185 notice_file_not_found: "La page à laquelle vous souhaitez accéder n'existe pas ou a été supprimée."
186 notice_locking_conflict: Les données ont été mises à jour par un autre utilisateur. Mise à jour impossible.
186 notice_locking_conflict: Les données ont été mises à jour par un autre utilisateur. Mise à jour impossible.
187 notice_not_authorized: "Vous n'êtes pas autorisé à accéder à cette page."
187 notice_not_authorized: "Vous n'êtes pas autorisé à accéder à cette page."
188 notice_not_authorized_archived_project: Le projet auquel vous tentez d'accéder a été archivé.
188 notice_not_authorized_archived_project: Le projet auquel vous tentez d'accéder a été archivé.
189 notice_email_sent: "Un email a été envoyé à %{value}"
189 notice_email_sent: "Un email a été envoyé à %{value}"
190 notice_email_error: "Erreur lors de l'envoi de l'email (%{value})"
190 notice_email_error: "Erreur lors de l'envoi de l'email (%{value})"
191 notice_feeds_access_key_reseted: "Votre clé d'accès aux flux Atom a été réinitialisée."
191 notice_feeds_access_key_reseted: "Votre clé d'accès aux flux Atom a été réinitialisée."
192 notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée.
192 notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée.
193 notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sélectionnées n'ont pas pu être mise(s) à jour : %{ids}."
193 notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sélectionnées n'ont pas pu être mise(s) à jour : %{ids}."
194 notice_failed_to_save_time_entries: "%{count} temps passé(s) sur les %{total} sélectionnés n'ont pas pu être mis à jour: %{ids}."
194 notice_failed_to_save_time_entries: "%{count} temps passé(s) sur les %{total} sélectionnés n'ont pas pu être mis à jour: %{ids}."
195 notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}."
195 notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}."
196 notice_no_issue_selected: "Aucune demande sélectionnée ! Cochez les demandes que vous voulez mettre à jour."
196 notice_no_issue_selected: "Aucune demande sélectionnée ! Cochez les demandes que vous voulez mettre à jour."
197 notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur."
197 notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur."
198 notice_default_data_loaded: Paramétrage par défaut chargé avec succès.
198 notice_default_data_loaded: Paramétrage par défaut chargé avec succès.
199 notice_unable_delete_version: Impossible de supprimer cette version.
199 notice_unable_delete_version: Impossible de supprimer cette version.
200 notice_unable_delete_time_entry: Impossible de supprimer le temps passé.
200 notice_unable_delete_time_entry: Impossible de supprimer le temps passé.
201 notice_issue_done_ratios_updated: L'avancement des demandes a été mis à jour.
201 notice_issue_done_ratios_updated: L'avancement des demandes a été mis à jour.
202 notice_gantt_chart_truncated: "Le diagramme a été tronqué car il excède le nombre maximal d'éléments pouvant être affichés (%{max})"
202 notice_gantt_chart_truncated: "Le diagramme a été tronqué car il excède le nombre maximal d'éléments pouvant être affichés (%{max})"
203 notice_issue_successful_create: "Demande %{id} créée."
203 notice_issue_successful_create: "Demande %{id} créée."
204 notice_issue_update_conflict: "La demande a été mise à jour par un autre utilisateur pendant que vous la modifiez."
204 notice_issue_update_conflict: "La demande a été mise à jour par un autre utilisateur pendant que vous la modifiez."
205 notice_account_deleted: "Votre compte a été définitivement supprimé."
205 notice_account_deleted: "Votre compte a été définitivement supprimé."
206 notice_user_successful_create: "Utilisateur %{id} créé."
206 notice_user_successful_create: "Utilisateur %{id} créé."
207 notice_new_password_must_be_different: Votre nouveau mot de passe doit être différent de votre mot de passe actuel
207 notice_new_password_must_be_different: Votre nouveau mot de passe doit être différent de votre mot de passe actuel
208 notice_import_finished: "%{count} éléments ont été importé(s)"
208 notice_import_finished: "%{count} éléments ont été importé(s)"
209 notice_import_finished_with_errors: "%{count} élément(s) sur %{total} n'ont pas pu être importé(s)"
209 notice_import_finished_with_errors: "%{count} élément(s) sur %{total} n'ont pas pu être importé(s)"
210
210
211 error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramétrage : %{value}"
211 error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramétrage : %{value}"
212 error_scm_not_found: "L'entrée et/ou la révision demandée n'existe pas dans le dépôt."
212 error_scm_not_found: "L'entrée et/ou la révision demandée n'existe pas dans le dépôt."
213 error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}"
213 error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}"
214 error_scm_annotate: "L'entrée n'existe pas ou ne peut pas être annotée."
214 error_scm_annotate: "L'entrée n'existe pas ou ne peut pas être annotée."
215 error_scm_annotate_big_text_file: Cette entrée ne peut pas être annotée car elle excède la taille maximale.
215 error_scm_annotate_big_text_file: Cette entrée ne peut pas être annotée car elle excède la taille maximale.
216 error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas à ce projet"
216 error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas à ce projet"
217 error_no_tracker_in_project: "Aucun tracker n'est associé à ce projet. Vérifier la configuration du projet."
217 error_no_tracker_in_project: "Aucun tracker n'est associé à ce projet. Vérifier la configuration du projet."
218 error_no_default_issue_status: "Aucun statut de demande n'est défini par défaut. Vérifier votre configuration (Administration -> Statuts de demandes)."
218 error_no_default_issue_status: "Aucun statut de demande n'est défini par défaut. Vérifier votre configuration (Administration -> Statuts de demandes)."
219 error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisé
219 error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisé
220 error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas être supprimé.
220 error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas être supprimé.
221 error_can_not_remove_role: Ce rôle est utilisé et ne peut pas être supprimé.
221 error_can_not_remove_role: Ce rôle est utilisé et ne peut pas être supprimé.
222 error_can_not_reopen_issue_on_closed_version: 'Une demande assignée à une version fermée ne peut pas être réouverte'
222 error_can_not_reopen_issue_on_closed_version: 'Une demande assignée à une version fermée ne peut pas être réouverte'
223 error_can_not_archive_project: "Ce projet ne peut pas être archivé"
223 error_can_not_archive_project: "Ce projet ne peut pas être archivé"
224 error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu être mis à jour.
224 error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu être mis à jour.
225 error_workflow_copy_source: 'Veuillez sélectionner un tracker et/ou un rôle source'
225 error_workflow_copy_source: 'Veuillez sélectionner un tracker et/ou un rôle source'
226 error_workflow_copy_target: 'Veuillez sélectionner les trackers et rôles cibles'
226 error_workflow_copy_target: 'Veuillez sélectionner les trackers et rôles cibles'
227 error_unable_delete_issue_status: Impossible de supprimer le statut de demande
227 error_unable_delete_issue_status: Impossible de supprimer le statut de demande
228 error_unable_to_connect: Connexion impossible (%{value})
228 error_unable_to_connect: Connexion impossible (%{value})
229 error_attachment_too_big: Ce fichier ne peut pas être attaché car il excède la taille maximale autorisée (%{max_size})
229 error_attachment_too_big: Ce fichier ne peut pas être attaché car il excède la taille maximale autorisée (%{max_size})
230 error_session_expired: "Votre session a expiré. Veuillez vous reconnecter."
230 error_session_expired: "Votre session a expiré. Veuillez vous reconnecter."
231 warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu être sauvegardés."
231 warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu être sauvegardés."
232 error_password_expired: "Votre mot de passe a expiré ou nécessite d'être changé."
232 error_password_expired: "Votre mot de passe a expiré ou nécessite d'être changé."
233 error_invalid_file_encoding: "Le fichier n'est pas un fichier %{encoding} valide"
233 error_invalid_file_encoding: "Le fichier n'est pas un fichier %{encoding} valide"
234 error_invalid_csv_file_or_settings: "Le fichier n'est pas un fichier CSV ou n'est pas conforme aux paramètres sélectionnés"
234 error_invalid_csv_file_or_settings: "Le fichier n'est pas un fichier CSV ou n'est pas conforme aux paramètres sélectionnés"
235 error_can_not_read_import_file: "Une erreur est survenue lors de la lecture du fichier à importer"
235 error_can_not_read_import_file: "Une erreur est survenue lors de la lecture du fichier à importer"
236 error_attachment_extension_not_allowed: "L'extension %{extension} n'est pas autorisée"
236 error_attachment_extension_not_allowed: "L'extension %{extension} n'est pas autorisée"
237 error_ldap_bind_credentials: "Identifiant ou mot de passe LDAP incorrect"
237 error_ldap_bind_credentials: "Identifiant ou mot de passe LDAP incorrect"
238 error_no_tracker_allowed_for_new_issue_in_project: "Le projet ne dispose d'aucun tracker sur lequel vous pouvez créer une demande"
238 error_no_tracker_allowed_for_new_issue_in_project: "Le projet ne dispose d'aucun tracker sur lequel vous pouvez créer une demande"
239 error_no_projects_with_tracker_allowed_for_new_issue: "Aucun projet ne dispose d'un tracker sur lequel vous pouvez créer une demande"
239 error_no_projects_with_tracker_allowed_for_new_issue: "Aucun projet ne dispose d'un tracker sur lequel vous pouvez créer une demande"
240 error_move_of_child_not_possible: "La sous-tâche %{child} n'a pas pu être déplacée dans le nouveau projet : %{errors}"
240 error_move_of_child_not_possible: "La sous-tâche %{child} n'a pas pu être déplacée dans le nouveau projet : %{errors}"
241 error_cannot_reassign_time_entries_to_an_issue_about_to_be_deleted: "Le temps passé ne peut pas être réaffecté à une demande qui va être supprimée"
241 error_cannot_reassign_time_entries_to_an_issue_about_to_be_deleted: "Le temps passé ne peut pas être réaffecté à une demande qui va être supprimée"
242 warning_fields_cleared_on_bulk_edit: "Les changements apportés entraîneront la suppression automatique des valeurs d'un ou plusieurs champs sur les objets sélectionnés"
242 warning_fields_cleared_on_bulk_edit: "Les changements apportés entraîneront la suppression automatique des valeurs d'un ou plusieurs champs sur les objets sélectionnés"
243
243
244 mail_subject_lost_password: "Votre mot de passe %{value}"
244 mail_subject_lost_password: "Votre mot de passe %{value}"
245 mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :'
245 mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :'
246 mail_subject_register: "Activation de votre compte %{value}"
246 mail_subject_register: "Activation de votre compte %{value}"
247 mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :'
247 mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :'
248 mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter."
248 mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter."
249 mail_body_account_information: Paramètres de connexion de votre compte
249 mail_body_account_information: Paramètres de connexion de votre compte
250 mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}"
250 mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}"
251 mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nécessite votre approbation :"
251 mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nécessite votre approbation :"
252 mail_subject_reminder: "%{count} demande(s) arrivent à échéance (%{days})"
252 mail_subject_reminder: "%{count} demande(s) arrivent à échéance (%{days})"
253 mail_body_reminder: "%{count} demande(s) qui vous sont assignées arrivent à échéance dans les %{days} prochains jours :"
253 mail_body_reminder: "%{count} demande(s) qui vous sont assignées arrivent à échéance dans les %{days} prochains jours :"
254 mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutée"
254 mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutée"
255 mail_body_wiki_content_added: "La page wiki '%{id}' a été ajoutée par %{author}."
255 mail_body_wiki_content_added: "La page wiki '%{id}' a été ajoutée par %{author}."
256 mail_subject_wiki_content_updated: "Page wiki '%{id}' mise à jour"
256 mail_subject_wiki_content_updated: "Page wiki '%{id}' mise à jour"
257 mail_body_wiki_content_updated: "La page wiki '%{id}' a été mise à jour par %{author}."
257 mail_body_wiki_content_updated: "La page wiki '%{id}' a été mise à jour par %{author}."
258 mail_body_settings_updated: "Les paramètres suivants ont été modifiés :"
258 mail_body_settings_updated: "Les paramètres suivants ont été modifiés :"
259 mail_body_password_updated: "Votre mot de passe a été changé."
259 mail_body_password_updated: "Votre mot de passe a été changé."
260
260
261 field_name: Nom
261 field_name: Nom
262 field_description: Description
262 field_description: Description
263 field_summary: Résumé
263 field_summary: Résumé
264 field_is_required: Obligatoire
264 field_is_required: Obligatoire
265 field_firstname: Prénom
265 field_firstname: Prénom
266 field_lastname: Nom
266 field_lastname: Nom
267 field_mail: Email
267 field_mail: Email
268 field_address: Email
268 field_address: Email
269 field_filename: Fichier
269 field_filename: Fichier
270 field_filesize: Taille
270 field_filesize: Taille
271 field_downloads: Téléchargements
271 field_downloads: Téléchargements
272 field_author: Auteur
272 field_author: Auteur
273 field_created_on: Créé
273 field_created_on: Créé
274 field_updated_on: Mis-à-jour
274 field_updated_on: Mis-à-jour
275 field_closed_on: Fermé
275 field_closed_on: Fermé
276 field_field_format: Format
276 field_field_format: Format
277 field_is_for_all: Pour tous les projets
277 field_is_for_all: Pour tous les projets
278 field_possible_values: Valeurs possibles
278 field_possible_values: Valeurs possibles
279 field_regexp: Expression régulière
279 field_regexp: Expression régulière
280 field_min_length: Longueur minimum
280 field_min_length: Longueur minimum
281 field_max_length: Longueur maximum
281 field_max_length: Longueur maximum
282 field_value: Valeur
282 field_value: Valeur
283 field_category: Catégorie
283 field_category: Catégorie
284 field_title: Titre
284 field_title: Titre
285 field_project: Projet
285 field_project: Projet
286 field_issue: Demande
286 field_issue: Demande
287 field_status: Statut
287 field_status: Statut
288 field_notes: Notes
288 field_notes: Notes
289 field_is_closed: Demande fermée
289 field_is_closed: Demande fermée
290 field_is_default: Valeur par défaut
290 field_is_default: Valeur par défaut
291 field_tracker: Tracker
291 field_tracker: Tracker
292 field_subject: Sujet
292 field_subject: Sujet
293 field_due_date: Echéance
293 field_due_date: Echéance
294 field_assigned_to: Assigné à
294 field_assigned_to: Assigné à
295 field_priority: Priorité
295 field_priority: Priorité
296 field_fixed_version: Version cible
296 field_fixed_version: Version cible
297 field_user: Utilisateur
297 field_user: Utilisateur
298 field_principal: Principal
298 field_principal: Principal
299 field_role: Rôle
299 field_role: Rôle
300 field_homepage: Site web
300 field_homepage: Site web
301 field_is_public: Public
301 field_is_public: Public
302 field_parent: Sous-projet de
302 field_parent: Sous-projet de
303 field_is_in_roadmap: Demandes affichées dans la roadmap
303 field_is_in_roadmap: Demandes affichées dans la roadmap
304 field_login: Identifiant
304 field_login: Identifiant
305 field_mail_notification: Notifications par mail
305 field_mail_notification: Notifications par mail
306 field_admin: Administrateur
306 field_admin: Administrateur
307 field_last_login_on: Dernière connexion
307 field_last_login_on: Dernière connexion
308 field_language: Langue
308 field_language: Langue
309 field_effective_date: Date
309 field_effective_date: Date
310 field_password: Mot de passe
310 field_password: Mot de passe
311 field_new_password: Nouveau mot de passe
311 field_new_password: Nouveau mot de passe
312 field_password_confirmation: Confirmation
312 field_password_confirmation: Confirmation
313 field_version: Version
313 field_version: Version
314 field_type: Type
314 field_type: Type
315 field_host: Hôte
315 field_host: Hôte
316 field_port: Port
316 field_port: Port
317 field_account: Compte
317 field_account: Compte
318 field_base_dn: Base DN
318 field_base_dn: Base DN
319 field_attr_login: Attribut Identifiant
319 field_attr_login: Attribut Identifiant
320 field_attr_firstname: Attribut Prénom
320 field_attr_firstname: Attribut Prénom
321 field_attr_lastname: Attribut Nom
321 field_attr_lastname: Attribut Nom
322 field_attr_mail: Attribut Email
322 field_attr_mail: Attribut Email
323 field_onthefly: Création des utilisateurs à la volée
323 field_onthefly: Création des utilisateurs à la volée
324 field_start_date: Début
324 field_start_date: Début
325 field_done_ratio: "% réalisé"
325 field_done_ratio: "% réalisé"
326 field_auth_source: Mode d'authentification
326 field_auth_source: Mode d'authentification
327 field_hide_mail: Cacher mon adresse mail
327 field_hide_mail: Cacher mon adresse mail
328 field_comments: Commentaire
328 field_comments: Commentaire
329 field_url: URL
329 field_url: URL
330 field_start_page: Page de démarrage
330 field_start_page: Page de démarrage
331 field_subproject: Sous-projet
331 field_subproject: Sous-projet
332 field_hours: Heures
332 field_hours: Heures
333 field_activity: Activité
333 field_activity: Activité
334 field_spent_on: Date
334 field_spent_on: Date
335 field_identifier: Identifiant
335 field_identifier: Identifiant
336 field_is_filter: Utilisé comme filtre
336 field_is_filter: Utilisé comme filtre
337 field_issue_to: Demande liée
337 field_issue_to: Demande liée
338 field_delay: Retard
338 field_delay: Retard
339 field_assignable: Demandes assignables à ce rôle
339 field_assignable: Demandes assignables à ce rôle
340 field_redirect_existing_links: Rediriger les liens existants
340 field_redirect_existing_links: Rediriger les liens existants
341 field_estimated_hours: Temps estimé
341 field_estimated_hours: Temps estimé
342 field_column_names: Colonnes
342 field_column_names: Colonnes
343 field_time_entries: Temps passé
343 field_time_entries: Temps passé
344 field_time_zone: Fuseau horaire
344 field_time_zone: Fuseau horaire
345 field_searchable: Utilisé pour les recherches
345 field_searchable: Utilisé pour les recherches
346 field_default_value: Valeur par défaut
346 field_default_value: Valeur par défaut
347 field_comments_sorting: Afficher les commentaires
347 field_comments_sorting: Afficher les commentaires
348 field_parent_title: Page parent
348 field_parent_title: Page parent
349 field_editable: Modifiable
349 field_editable: Modifiable
350 field_watcher: Observateur
350 field_watcher: Observateur
351 field_identity_url: URL OpenID
351 field_identity_url: URL OpenID
352 field_content: Contenu
352 field_content: Contenu
353 field_group_by: Grouper par
353 field_group_by: Grouper par
354 field_sharing: Partage
354 field_sharing: Partage
355 field_parent_issue: Tâche parente
355 field_parent_issue: Tâche parente
356 field_member_of_group: Groupe de l'assigné
356 field_member_of_group: Groupe de l'assigné
357 field_assigned_to_role: Rôle de l'assigné
357 field_assigned_to_role: Rôle de l'assigné
358 field_text: Champ texte
358 field_text: Champ texte
359 field_visible: Visible
359 field_visible: Visible
360 field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardé"
360 field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardé"
361 field_issues_visibility: Visibilité des demandes
361 field_issues_visibility: Visibilité des demandes
362 field_is_private: Privée
362 field_is_private: Privée
363 field_commit_logs_encoding: Encodage des messages de commit
363 field_commit_logs_encoding: Encodage des messages de commit
364 field_scm_path_encoding: Encodage des chemins
364 field_scm_path_encoding: Encodage des chemins
365 field_path_to_repository: Chemin du dépôt
365 field_path_to_repository: Chemin du dépôt
366 field_root_directory: Répertoire racine
366 field_root_directory: Répertoire racine
367 field_cvsroot: CVSROOT
367 field_cvsroot: CVSROOT
368 field_cvs_module: Module
368 field_cvs_module: Module
369 field_repository_is_default: Dépôt principal
369 field_repository_is_default: Dépôt principal
370 field_multiple: Valeurs multiples
370 field_multiple: Valeurs multiples
371 field_auth_source_ldap_filter: Filtre LDAP
371 field_auth_source_ldap_filter: Filtre LDAP
372 field_core_fields: Champs standards
372 field_core_fields: Champs standards
373 field_timeout: "Timeout (en secondes)"
373 field_timeout: "Timeout (en secondes)"
374 field_board_parent: Forum parent
374 field_board_parent: Forum parent
375 field_private_notes: Notes privées
375 field_private_notes: Notes privées
376 field_inherit_members: Hériter les membres
376 field_inherit_members: Hériter les membres
377 field_generate_password: Générer un mot de passe
377 field_generate_password: Générer un mot de passe
378 field_must_change_passwd: Doit changer de mot de passe à la prochaine connexion
378 field_must_change_passwd: Doit changer de mot de passe à la prochaine connexion
379 field_default_status: Statut par défaut
379 field_default_status: Statut par défaut
380 field_users_visibility: Visibilité des utilisateurs
380 field_users_visibility: Visibilité des utilisateurs
381 field_time_entries_visibility: Visibilité du temps passé
381 field_time_entries_visibility: Visibilité du temps passé
382 field_total_estimated_hours: Temps estimé total
382 field_total_estimated_hours: Temps estimé total
383 field_default_version: Version par défaut
383 field_default_version: Version par défaut
384 field_textarea_font: Police utilisée pour les champs texte
384 field_textarea_font: Police utilisée pour les champs texte
385 field_updated_by: Mise à jour par
385 field_updated_by: Mise à jour par
386 field_last_updated_by: Dernière mise à jour par
386 field_last_updated_by: Dernière mise à jour par
387 field_full_width_layout: Afficher sur toute la largeur
387
388
388 setting_app_title: Titre de l'application
389 setting_app_title: Titre de l'application
389 setting_app_subtitle: Sous-titre de l'application
390 setting_app_subtitle: Sous-titre de l'application
390 setting_welcome_text: Texte d'accueil
391 setting_welcome_text: Texte d'accueil
391 setting_default_language: Langue par défaut
392 setting_default_language: Langue par défaut
392 setting_login_required: Authentification obligatoire
393 setting_login_required: Authentification obligatoire
393 setting_self_registration: Inscription des nouveaux utilisateurs
394 setting_self_registration: Inscription des nouveaux utilisateurs
394 setting_attachment_max_size: Taille maximale des fichiers
395 setting_attachment_max_size: Taille maximale des fichiers
395 setting_issues_export_limit: Limite d'exportation des demandes
396 setting_issues_export_limit: Limite d'exportation des demandes
396 setting_mail_from: Adresse d'émission
397 setting_mail_from: Adresse d'émission
397 setting_bcc_recipients: Destinataires en copie cachée (cci)
398 setting_bcc_recipients: Destinataires en copie cachée (cci)
398 setting_plain_text_mail: Mail en texte brut (non HTML)
399 setting_plain_text_mail: Mail en texte brut (non HTML)
399 setting_host_name: Nom d'hôte et chemin
400 setting_host_name: Nom d'hôte et chemin
400 setting_text_formatting: Formatage du texte
401 setting_text_formatting: Formatage du texte
401 setting_wiki_compression: Compression de l'historique des pages wiki
402 setting_wiki_compression: Compression de l'historique des pages wiki
402 setting_feeds_limit: Nombre maximal d'éléments dans les flux Atom
403 setting_feeds_limit: Nombre maximal d'éléments dans les flux Atom
403 setting_default_projects_public: Définir les nouveaux projets comme publics par défaut
404 setting_default_projects_public: Définir les nouveaux projets comme publics par défaut
404 setting_autofetch_changesets: Récupération automatique des commits
405 setting_autofetch_changesets: Récupération automatique des commits
405 setting_sys_api_enabled: Activer les WS pour la gestion des dépôts
406 setting_sys_api_enabled: Activer les WS pour la gestion des dépôts
406 setting_commit_ref_keywords: Mots-clés de référencement
407 setting_commit_ref_keywords: Mots-clés de référencement
407 setting_commit_fix_keywords: Mots-clés de résolution
408 setting_commit_fix_keywords: Mots-clés de résolution
408 setting_autologin: Durée maximale de connexion automatique
409 setting_autologin: Durée maximale de connexion automatique
409 setting_date_format: Format de date
410 setting_date_format: Format de date
410 setting_time_format: Format d'heure
411 setting_time_format: Format d'heure
411 setting_timespan_format: Format des temps en heures
412 setting_timespan_format: Format des temps en heures
412 setting_cross_project_issue_relations: Autoriser les relations entre demandes de différents projets
413 setting_cross_project_issue_relations: Autoriser les relations entre demandes de différents projets
413 setting_cross_project_subtasks: Autoriser les sous-tâches dans des projets différents
414 setting_cross_project_subtasks: Autoriser les sous-tâches dans des projets différents
414 setting_issue_list_default_columns: Colonnes affichées par défaut sur la liste des demandes
415 setting_issue_list_default_columns: Colonnes affichées par défaut sur la liste des demandes
415 setting_repositories_encodings: Encodages des fichiers et des dépôts
416 setting_repositories_encodings: Encodages des fichiers et des dépôts
416 setting_emails_header: En-tête des emails
417 setting_emails_header: En-tête des emails
417 setting_emails_footer: Pied-de-page des emails
418 setting_emails_footer: Pied-de-page des emails
418 setting_protocol: Protocole
419 setting_protocol: Protocole
419 setting_per_page_options: Options d'objets affichés par page
420 setting_per_page_options: Options d'objets affichés par page
420 setting_user_format: Format d'affichage des utilisateurs
421 setting_user_format: Format d'affichage des utilisateurs
421 setting_activity_days_default: Nombre de jours affichés sur l'activité des projets
422 setting_activity_days_default: Nombre de jours affichés sur l'activité des projets
422 setting_display_subprojects_issues: Afficher par défaut les demandes des sous-projets sur les projets principaux
423 setting_display_subprojects_issues: Afficher par défaut les demandes des sous-projets sur les projets principaux
423 setting_enabled_scm: SCM activés
424 setting_enabled_scm: SCM activés
424 setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes"
425 setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes"
425 setting_mail_handler_enable_regex_delimiters: "Utiliser les expressions regulières"
426 setting_mail_handler_enable_regex_delimiters: "Utiliser les expressions regulières"
426 setting_mail_handler_api_enabled: "Activer le WS pour la réception d'emails"
427 setting_mail_handler_api_enabled: "Activer le WS pour la réception d'emails"
427 setting_mail_handler_api_key: Clé de protection de l'API
428 setting_mail_handler_api_key: Clé de protection de l'API
428 setting_sequential_project_identifiers: Générer des identifiants de projet séquentiels
429 setting_sequential_project_identifiers: Générer des identifiants de projet séquentiels
429 setting_gravatar_enabled: Afficher les Gravatar des utilisateurs
430 setting_gravatar_enabled: Afficher les Gravatar des utilisateurs
430 setting_gravatar_default: Image Gravatar par défaut
431 setting_gravatar_default: Image Gravatar par défaut
431 setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichées
432 setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichées
432 setting_file_max_size_displayed: Taille maximum des fichiers texte affichés en ligne
433 setting_file_max_size_displayed: Taille maximum des fichiers texte affichés en ligne
433 setting_repository_log_display_limit: "Nombre maximum de révisions affichées sur l'historique d'un fichier"
434 setting_repository_log_display_limit: "Nombre maximum de révisions affichées sur l'historique d'un fichier"
434 setting_openid: "Autoriser l'authentification et l'enregistrement OpenID"
435 setting_openid: "Autoriser l'authentification et l'enregistrement OpenID"
435 setting_password_max_age: Expiration des mots de passe après
436 setting_password_max_age: Expiration des mots de passe après
436 setting_password_min_length: Longueur minimum des mots de passe
437 setting_password_min_length: Longueur minimum des mots de passe
437 setting_new_project_user_role_id: Rôle donné à un utilisateur non-administrateur qui crée un projet
438 setting_new_project_user_role_id: Rôle donné à un utilisateur non-administrateur qui crée un projet
438 setting_default_projects_modules: Modules activés par défaut pour les nouveaux projets
439 setting_default_projects_modules: Modules activés par défaut pour les nouveaux projets
439 setting_issue_done_ratio: Calcul de l'avancement des demandes
440 setting_issue_done_ratio: Calcul de l'avancement des demandes
440 setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectué'
441 setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectué'
441 setting_issue_done_ratio_issue_status: Utiliser le statut
442 setting_issue_done_ratio_issue_status: Utiliser le statut
442 setting_start_of_week: Jour de début des calendriers
443 setting_start_of_week: Jour de début des calendriers
443 setting_rest_api_enabled: Activer l'API REST
444 setting_rest_api_enabled: Activer l'API REST
444 setting_cache_formatted_text: Mettre en cache le texte formaté
445 setting_cache_formatted_text: Mettre en cache le texte formaté
445 setting_default_notification_option: Option de notification par défaut
446 setting_default_notification_option: Option de notification par défaut
446 setting_commit_logtime_enabled: Permettre la saisie de temps
447 setting_commit_logtime_enabled: Permettre la saisie de temps
447 setting_commit_logtime_activity_id: Activité pour le temps saisi
448 setting_commit_logtime_activity_id: Activité pour le temps saisi
448 setting_gantt_items_limit: Nombre maximum d'éléments affichés sur le gantt
449 setting_gantt_items_limit: Nombre maximum d'éléments affichés sur le gantt
449 setting_issue_group_assignment: Permettre l'assignation des demandes aux groupes
450 setting_issue_group_assignment: Permettre l'assignation des demandes aux groupes
450 setting_default_issue_start_date_to_creation_date: Donner à la date de début d'une nouvelle demande la valeur de la date du jour
451 setting_default_issue_start_date_to_creation_date: Donner à la date de début d'une nouvelle demande la valeur de la date du jour
451 setting_commit_cross_project_ref: Permettre le référencement et la résolution des demandes de tous les autres projets
452 setting_commit_cross_project_ref: Permettre le référencement et la résolution des demandes de tous les autres projets
452 setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte
453 setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte
453 setting_session_lifetime: Durée de vie maximale des sessions
454 setting_session_lifetime: Durée de vie maximale des sessions
454 setting_session_timeout: Durée maximale d'inactivité
455 setting_session_timeout: Durée maximale d'inactivité
455 setting_thumbnails_enabled: Afficher les vignettes des images
456 setting_thumbnails_enabled: Afficher les vignettes des images
456 setting_thumbnails_size: Taille des vignettes (en pixels)
457 setting_thumbnails_size: Taille des vignettes (en pixels)
457 setting_non_working_week_days: Jours non travaillés
458 setting_non_working_week_days: Jours non travaillés
458 setting_jsonp_enabled: Activer le support JSONP
459 setting_jsonp_enabled: Activer le support JSONP
459 setting_default_projects_tracker_ids: Trackers par défaut pour les nouveaux projets
460 setting_default_projects_tracker_ids: Trackers par défaut pour les nouveaux projets
460 setting_mail_handler_excluded_filenames: Exclure les fichiers attachés par leur nom
461 setting_mail_handler_excluded_filenames: Exclure les fichiers attachés par leur nom
461 setting_force_default_language_for_anonymous: Forcer la langue par défault pour les utilisateurs anonymes
462 setting_force_default_language_for_anonymous: Forcer la langue par défault pour les utilisateurs anonymes
462 setting_force_default_language_for_loggedin: Forcer la langue par défault pour les utilisateurs identifiés
463 setting_force_default_language_for_loggedin: Forcer la langue par défault pour les utilisateurs identifiés
463 setting_link_copied_issue: Lier les demandes lors de la copie
464 setting_link_copied_issue: Lier les demandes lors de la copie
464 setting_max_additional_emails: Nombre maximal d'adresses email additionnelles
465 setting_max_additional_emails: Nombre maximal d'adresses email additionnelles
465 setting_search_results_per_page: Résultats de recherche affichés par page
466 setting_search_results_per_page: Résultats de recherche affichés par page
466 setting_attachment_extensions_allowed: Extensions autorisées
467 setting_attachment_extensions_allowed: Extensions autorisées
467 setting_attachment_extensions_denied: Extensions non autorisées
468 setting_attachment_extensions_denied: Extensions non autorisées
468 setting_sys_api_key: Clé de protection de l'API
469 setting_sys_api_key: Clé de protection de l'API
469 setting_lost_password: Autoriser la réinitialisation par email de mot de passe perdu
470 setting_lost_password: Autoriser la réinitialisation par email de mot de passe perdu
470 setting_new_item_menu_tab: Onglet de création d'objets dans le menu du project
471 setting_new_item_menu_tab: Onglet de création d'objets dans le menu du project
471 setting_commit_logs_formatting: Appliquer le formattage de texte aux messages de commit
472 setting_commit_logs_formatting: Appliquer le formattage de texte aux messages de commit
472 setting_timelog_required_fields: Champs obligatoire pour les temps passés
473 setting_timelog_required_fields: Champs obligatoire pour les temps passés
473
474
474 permission_add_project: Créer un projet
475 permission_add_project: Créer un projet
475 permission_add_subprojects: Créer des sous-projets
476 permission_add_subprojects: Créer des sous-projets
476 permission_edit_project: Modifier le projet
477 permission_edit_project: Modifier le projet
477 permission_close_project: Fermer / réouvrir le projet
478 permission_close_project: Fermer / réouvrir le projet
478 permission_select_project_modules: Choisir les modules
479 permission_select_project_modules: Choisir les modules
479 permission_manage_members: Gérer les membres
480 permission_manage_members: Gérer les membres
480 permission_manage_project_activities: Gérer les activités
481 permission_manage_project_activities: Gérer les activités
481 permission_manage_versions: Gérer les versions
482 permission_manage_versions: Gérer les versions
482 permission_manage_categories: Gérer les catégories de demandes
483 permission_manage_categories: Gérer les catégories de demandes
483 permission_view_issues: Voir les demandes
484 permission_view_issues: Voir les demandes
484 permission_add_issues: Créer des demandes
485 permission_add_issues: Créer des demandes
485 permission_edit_issues: Modifier les demandes
486 permission_edit_issues: Modifier les demandes
486 permission_copy_issues: Copier les demandes
487 permission_copy_issues: Copier les demandes
487 permission_manage_issue_relations: Gérer les relations
488 permission_manage_issue_relations: Gérer les relations
488 permission_set_issues_private: Rendre les demandes publiques ou privées
489 permission_set_issues_private: Rendre les demandes publiques ou privées
489 permission_set_own_issues_private: Rendre ses propres demandes publiques ou privées
490 permission_set_own_issues_private: Rendre ses propres demandes publiques ou privées
490 permission_add_issue_notes: Ajouter des notes
491 permission_add_issue_notes: Ajouter des notes
491 permission_edit_issue_notes: Modifier les notes
492 permission_edit_issue_notes: Modifier les notes
492 permission_edit_own_issue_notes: Modifier ses propres notes
493 permission_edit_own_issue_notes: Modifier ses propres notes
493 permission_view_private_notes: Voir les notes privées
494 permission_view_private_notes: Voir les notes privées
494 permission_set_notes_private: Rendre les notes privées
495 permission_set_notes_private: Rendre les notes privées
495 permission_move_issues: Déplacer les demandes
496 permission_move_issues: Déplacer les demandes
496 permission_delete_issues: Supprimer les demandes
497 permission_delete_issues: Supprimer les demandes
497 permission_manage_public_queries: Gérer les requêtes publiques
498 permission_manage_public_queries: Gérer les requêtes publiques
498 permission_save_queries: Sauvegarder les requêtes
499 permission_save_queries: Sauvegarder les requêtes
499 permission_view_gantt: Voir le gantt
500 permission_view_gantt: Voir le gantt
500 permission_view_calendar: Voir le calendrier
501 permission_view_calendar: Voir le calendrier
501 permission_view_issue_watchers: Voir la liste des observateurs
502 permission_view_issue_watchers: Voir la liste des observateurs
502 permission_add_issue_watchers: Ajouter des observateurs
503 permission_add_issue_watchers: Ajouter des observateurs
503 permission_delete_issue_watchers: Supprimer des observateurs
504 permission_delete_issue_watchers: Supprimer des observateurs
504 permission_log_time: Saisir le temps passé
505 permission_log_time: Saisir le temps passé
505 permission_view_time_entries: Voir le temps passé
506 permission_view_time_entries: Voir le temps passé
506 permission_edit_time_entries: Modifier les temps passés
507 permission_edit_time_entries: Modifier les temps passés
507 permission_edit_own_time_entries: Modifier son propre temps passé
508 permission_edit_own_time_entries: Modifier son propre temps passé
508 permission_manage_news: Gérer les annonces
509 permission_manage_news: Gérer les annonces
509 permission_comment_news: Commenter les annonces
510 permission_comment_news: Commenter les annonces
510 permission_view_documents: Voir les documents
511 permission_view_documents: Voir les documents
511 permission_add_documents: Ajouter des documents
512 permission_add_documents: Ajouter des documents
512 permission_edit_documents: Modifier les documents
513 permission_edit_documents: Modifier les documents
513 permission_delete_documents: Supprimer les documents
514 permission_delete_documents: Supprimer les documents
514 permission_manage_files: Gérer les fichiers
515 permission_manage_files: Gérer les fichiers
515 permission_view_files: Voir les fichiers
516 permission_view_files: Voir les fichiers
516 permission_manage_wiki: Gérer le wiki
517 permission_manage_wiki: Gérer le wiki
517 permission_rename_wiki_pages: Renommer les pages
518 permission_rename_wiki_pages: Renommer les pages
518 permission_delete_wiki_pages: Supprimer les pages
519 permission_delete_wiki_pages: Supprimer les pages
519 permission_view_wiki_pages: Voir le wiki
520 permission_view_wiki_pages: Voir le wiki
520 permission_view_wiki_edits: "Voir l'historique des modifications"
521 permission_view_wiki_edits: "Voir l'historique des modifications"
521 permission_edit_wiki_pages: Modifier les pages
522 permission_edit_wiki_pages: Modifier les pages
522 permission_delete_wiki_pages_attachments: Supprimer les fichiers joints
523 permission_delete_wiki_pages_attachments: Supprimer les fichiers joints
523 permission_protect_wiki_pages: Protéger les pages
524 permission_protect_wiki_pages: Protéger les pages
524 permission_manage_repository: Gérer le dépôt de sources
525 permission_manage_repository: Gérer le dépôt de sources
525 permission_browse_repository: Parcourir les sources
526 permission_browse_repository: Parcourir les sources
526 permission_view_changesets: Voir les révisions
527 permission_view_changesets: Voir les révisions
527 permission_commit_access: Droit de commit
528 permission_commit_access: Droit de commit
528 permission_manage_boards: Gérer les forums
529 permission_manage_boards: Gérer les forums
529 permission_view_messages: Voir les messages
530 permission_view_messages: Voir les messages
530 permission_add_messages: Poster un message
531 permission_add_messages: Poster un message
531 permission_edit_messages: Modifier les messages
532 permission_edit_messages: Modifier les messages
532 permission_edit_own_messages: Modifier ses propres messages
533 permission_edit_own_messages: Modifier ses propres messages
533 permission_delete_messages: Supprimer les messages
534 permission_delete_messages: Supprimer les messages
534 permission_delete_own_messages: Supprimer ses propres messages
535 permission_delete_own_messages: Supprimer ses propres messages
535 permission_export_wiki_pages: Exporter les pages
536 permission_export_wiki_pages: Exporter les pages
536 permission_manage_subtasks: Gérer les sous-tâches
537 permission_manage_subtasks: Gérer les sous-tâches
537 permission_manage_related_issues: Gérer les demandes associées
538 permission_manage_related_issues: Gérer les demandes associées
538 permission_import_issues: Importer des demandes
539 permission_import_issues: Importer des demandes
539
540
540 project_module_issue_tracking: Suivi des demandes
541 project_module_issue_tracking: Suivi des demandes
541 project_module_time_tracking: Suivi du temps passé
542 project_module_time_tracking: Suivi du temps passé
542 project_module_news: Publication d'annonces
543 project_module_news: Publication d'annonces
543 project_module_documents: Publication de documents
544 project_module_documents: Publication de documents
544 project_module_files: Publication de fichiers
545 project_module_files: Publication de fichiers
545 project_module_wiki: Wiki
546 project_module_wiki: Wiki
546 project_module_repository: Dépôt de sources
547 project_module_repository: Dépôt de sources
547 project_module_boards: Forums de discussion
548 project_module_boards: Forums de discussion
548 project_module_calendar: Calendrier
549 project_module_calendar: Calendrier
549 project_module_gantt: Gantt
550 project_module_gantt: Gantt
550
551
551 label_user: Utilisateur
552 label_user: Utilisateur
552 label_user_plural: Utilisateurs
553 label_user_plural: Utilisateurs
553 label_user_new: Nouvel utilisateur
554 label_user_new: Nouvel utilisateur
554 label_user_anonymous: Anonyme
555 label_user_anonymous: Anonyme
555 label_project: Projet
556 label_project: Projet
556 label_project_new: Nouveau projet
557 label_project_new: Nouveau projet
557 label_project_plural: Projets
558 label_project_plural: Projets
558 label_x_projects:
559 label_x_projects:
559 zero: aucun projet
560 zero: aucun projet
560 one: un projet
561 one: un projet
561 other: "%{count} projets"
562 other: "%{count} projets"
562 label_project_all: Tous les projets
563 label_project_all: Tous les projets
563 label_project_latest: Derniers projets
564 label_project_latest: Derniers projets
564 label_issue: Demande
565 label_issue: Demande
565 label_issue_new: Nouvelle demande
566 label_issue_new: Nouvelle demande
566 label_issue_plural: Demandes
567 label_issue_plural: Demandes
567 label_issue_view_all: Voir toutes les demandes
568 label_issue_view_all: Voir toutes les demandes
568 label_issues_by: "Demandes par %{value}"
569 label_issues_by: "Demandes par %{value}"
569 label_issue_added: Demande ajoutée
570 label_issue_added: Demande ajoutée
570 label_issue_updated: Demande mise à jour
571 label_issue_updated: Demande mise à jour
571 label_issue_note_added: Note ajoutée
572 label_issue_note_added: Note ajoutée
572 label_issue_status_updated: Statut changé
573 label_issue_status_updated: Statut changé
573 label_issue_assigned_to_updated: Assigné changé
574 label_issue_assigned_to_updated: Assigné changé
574 label_issue_priority_updated: Priorité changée
575 label_issue_priority_updated: Priorité changée
575 label_document: Document
576 label_document: Document
576 label_document_new: Nouveau document
577 label_document_new: Nouveau document
577 label_document_plural: Documents
578 label_document_plural: Documents
578 label_document_added: Document ajouté
579 label_document_added: Document ajouté
579 label_role: Rôle
580 label_role: Rôle
580 label_role_plural: Rôles
581 label_role_plural: Rôles
581 label_role_new: Nouveau rôle
582 label_role_new: Nouveau rôle
582 label_role_and_permissions: Rôles et permissions
583 label_role_and_permissions: Rôles et permissions
583 label_role_anonymous: Anonyme
584 label_role_anonymous: Anonyme
584 label_role_non_member: Non membre
585 label_role_non_member: Non membre
585 label_member: Membre
586 label_member: Membre
586 label_member_new: Nouveau membre
587 label_member_new: Nouveau membre
587 label_member_plural: Membres
588 label_member_plural: Membres
588 label_tracker: Tracker
589 label_tracker: Tracker
589 label_tracker_plural: Trackers
590 label_tracker_plural: Trackers
590 label_tracker_all: Tous les trackers
591 label_tracker_all: Tous les trackers
591 label_tracker_new: Nouveau tracker
592 label_tracker_new: Nouveau tracker
592 label_workflow: Workflow
593 label_workflow: Workflow
593 label_issue_status: Statut de demandes
594 label_issue_status: Statut de demandes
594 label_issue_status_plural: Statuts de demandes
595 label_issue_status_plural: Statuts de demandes
595 label_issue_status_new: Nouveau statut
596 label_issue_status_new: Nouveau statut
596 label_issue_category: Catégorie de demandes
597 label_issue_category: Catégorie de demandes
597 label_issue_category_plural: Catégories de demandes
598 label_issue_category_plural: Catégories de demandes
598 label_issue_category_new: Nouvelle catégorie
599 label_issue_category_new: Nouvelle catégorie
599 label_custom_field: Champ personnalisé
600 label_custom_field: Champ personnalisé
600 label_custom_field_plural: Champs personnalisés
601 label_custom_field_plural: Champs personnalisés
601 label_custom_field_new: Nouveau champ personnalisé
602 label_custom_field_new: Nouveau champ personnalisé
602 label_enumerations: Listes de valeurs
603 label_enumerations: Listes de valeurs
603 label_enumeration_new: Nouvelle valeur
604 label_enumeration_new: Nouvelle valeur
604 label_information: Information
605 label_information: Information
605 label_information_plural: Informations
606 label_information_plural: Informations
606 label_please_login: Identification
607 label_please_login: Identification
607 label_register: S'enregistrer
608 label_register: S'enregistrer
608 label_login_with_open_id_option: S'authentifier avec OpenID
609 label_login_with_open_id_option: S'authentifier avec OpenID
609 label_password_lost: Mot de passe perdu
610 label_password_lost: Mot de passe perdu
610 label_password_required: Confirmez votre mot de passe pour continuer
611 label_password_required: Confirmez votre mot de passe pour continuer
611 label_home: Accueil
612 label_home: Accueil
612 label_my_page: Ma page
613 label_my_page: Ma page
613 label_my_account: Mon compte
614 label_my_account: Mon compte
614 label_my_projects: Mes projets
615 label_my_projects: Mes projets
615 label_my_page_block: Blocs disponibles
616 label_my_page_block: Blocs disponibles
616 label_administration: Administration
617 label_administration: Administration
617 label_login: Connexion
618 label_login: Connexion
618 label_logout: Déconnexion
619 label_logout: Déconnexion
619 label_help: Aide
620 label_help: Aide
620 label_reported_issues: Demandes soumises
621 label_reported_issues: Demandes soumises
621 label_assigned_issues: Demandes assignées
622 label_assigned_issues: Demandes assignées
622 label_assigned_to_me_issues: Demandes qui me sont assignées
623 label_assigned_to_me_issues: Demandes qui me sont assignées
623 label_last_login: Dernière connexion
624 label_last_login: Dernière connexion
624 label_registered_on: Inscrit le
625 label_registered_on: Inscrit le
625 label_activity: Activité
626 label_activity: Activité
626 label_overall_activity: Activité globale
627 label_overall_activity: Activité globale
627 label_user_activity: "Activité de %{value}"
628 label_user_activity: "Activité de %{value}"
628 label_new: Nouveau
629 label_new: Nouveau
629 label_logged_as: Connecté en tant que
630 label_logged_as: Connecté en tant que
630 label_environment: Environnement
631 label_environment: Environnement
631 label_authentication: Authentification
632 label_authentication: Authentification
632 label_auth_source: Mode d'authentification
633 label_auth_source: Mode d'authentification
633 label_auth_source_new: Nouveau mode d'authentification
634 label_auth_source_new: Nouveau mode d'authentification
634 label_auth_source_plural: Modes d'authentification
635 label_auth_source_plural: Modes d'authentification
635 label_subproject_plural: Sous-projets
636 label_subproject_plural: Sous-projets
636 label_subproject_new: Nouveau sous-projet
637 label_subproject_new: Nouveau sous-projet
637 label_and_its_subprojects: "%{value} et ses sous-projets"
638 label_and_its_subprojects: "%{value} et ses sous-projets"
638 label_min_max_length: Longueurs mini - maxi
639 label_min_max_length: Longueurs mini - maxi
639 label_list: Liste
640 label_list: Liste
640 label_date: Date
641 label_date: Date
641 label_integer: Entier
642 label_integer: Entier
642 label_float: Nombre décimal
643 label_float: Nombre décimal
643 label_boolean: Booléen
644 label_boolean: Booléen
644 label_string: Texte
645 label_string: Texte
645 label_text: Texte long
646 label_text: Texte long
646 label_attribute: Attribut
647 label_attribute: Attribut
647 label_attribute_plural: Attributs
648 label_attribute_plural: Attributs
648 label_no_data: Aucune donnée à afficher
649 label_no_data: Aucune donnée à afficher
649 label_change_status: Changer le statut
650 label_change_status: Changer le statut
650 label_history: Historique
651 label_history: Historique
651 label_attachment: Fichier
652 label_attachment: Fichier
652 label_attachment_new: Nouveau fichier
653 label_attachment_new: Nouveau fichier
653 label_attachment_delete: Supprimer le fichier
654 label_attachment_delete: Supprimer le fichier
654 label_attachment_plural: Fichiers
655 label_attachment_plural: Fichiers
655 label_file_added: Fichier ajouté
656 label_file_added: Fichier ajouté
656 label_report: Rapport
657 label_report: Rapport
657 label_report_plural: Rapports
658 label_report_plural: Rapports
658 label_news: Annonce
659 label_news: Annonce
659 label_news_new: Nouvelle annonce
660 label_news_new: Nouvelle annonce
660 label_news_plural: Annonces
661 label_news_plural: Annonces
661 label_news_latest: Dernières annonces
662 label_news_latest: Dernières annonces
662 label_news_view_all: Voir toutes les annonces
663 label_news_view_all: Voir toutes les annonces
663 label_news_added: Annonce ajoutée
664 label_news_added: Annonce ajoutée
664 label_news_comment_added: Commentaire ajouté à une annonce
665 label_news_comment_added: Commentaire ajouté à une annonce
665 label_settings: Configuration
666 label_settings: Configuration
666 label_overview: Aperçu
667 label_overview: Aperçu
667 label_version: Version
668 label_version: Version
668 label_version_new: Nouvelle version
669 label_version_new: Nouvelle version
669 label_version_plural: Versions
670 label_version_plural: Versions
670 label_close_versions: Fermer les versions terminées
671 label_close_versions: Fermer les versions terminées
671 label_confirmation: Confirmation
672 label_confirmation: Confirmation
672 label_export_to: 'Formats disponibles :'
673 label_export_to: 'Formats disponibles :'
673 label_read: Lire...
674 label_read: Lire...
674 label_public_projects: Projets publics
675 label_public_projects: Projets publics
675 label_open_issues: ouvert
676 label_open_issues: ouvert
676 label_open_issues_plural: ouverts
677 label_open_issues_plural: ouverts
677 label_closed_issues: fermé
678 label_closed_issues: fermé
678 label_closed_issues_plural: fermés
679 label_closed_issues_plural: fermés
679 label_x_open_issues_abbr:
680 label_x_open_issues_abbr:
680 zero: 0 ouverte
681 zero: 0 ouverte
681 one: 1 ouverte
682 one: 1 ouverte
682 other: "%{count} ouvertes"
683 other: "%{count} ouvertes"
683 label_x_closed_issues_abbr:
684 label_x_closed_issues_abbr:
684 zero: 0 fermée
685 zero: 0 fermée
685 one: 1 fermée
686 one: 1 fermée
686 other: "%{count} fermées"
687 other: "%{count} fermées"
687 label_x_issues:
688 label_x_issues:
688 zero: 0 demande
689 zero: 0 demande
689 one: 1 demande
690 one: 1 demande
690 other: "%{count} demandes"
691 other: "%{count} demandes"
691 label_total: Total
692 label_total: Total
692 label_total_plural: Totaux
693 label_total_plural: Totaux
693 label_total_time: Temps total
694 label_total_time: Temps total
694 label_permissions: Permissions
695 label_permissions: Permissions
695 label_current_status: Statut actuel
696 label_current_status: Statut actuel
696 label_new_statuses_allowed: Nouveaux statuts autorisés
697 label_new_statuses_allowed: Nouveaux statuts autorisés
697 label_all: tous
698 label_all: tous
698 label_any: tous
699 label_any: tous
699 label_none: aucun
700 label_none: aucun
700 label_nobody: personne
701 label_nobody: personne
701 label_next: Suivant
702 label_next: Suivant
702 label_previous: Précédent
703 label_previous: Précédent
703 label_used_by: Utilisé par
704 label_used_by: Utilisé par
704 label_details: Détails
705 label_details: Détails
705 label_add_note: Ajouter une note
706 label_add_note: Ajouter une note
706 label_calendar: Calendrier
707 label_calendar: Calendrier
707 label_months_from: mois depuis
708 label_months_from: mois depuis
708 label_gantt: Gantt
709 label_gantt: Gantt
709 label_internal: Interne
710 label_internal: Interne
710 label_last_changes: "%{count} derniers changements"
711 label_last_changes: "%{count} derniers changements"
711 label_change_view_all: Voir tous les changements
712 label_change_view_all: Voir tous les changements
712 label_personalize_page: Personnaliser cette page
713 label_personalize_page: Personnaliser cette page
713 label_comment: Commentaire
714 label_comment: Commentaire
714 label_comment_plural: Commentaires
715 label_comment_plural: Commentaires
715 label_x_comments:
716 label_x_comments:
716 zero: aucun commentaire
717 zero: aucun commentaire
717 one: un commentaire
718 one: un commentaire
718 other: "%{count} commentaires"
719 other: "%{count} commentaires"
719 label_comment_add: Ajouter un commentaire
720 label_comment_add: Ajouter un commentaire
720 label_comment_added: Commentaire ajouté
721 label_comment_added: Commentaire ajouté
721 label_comment_delete: Supprimer les commentaires
722 label_comment_delete: Supprimer les commentaires
722 label_query: Rapport personnalisé
723 label_query: Rapport personnalisé
723 label_query_plural: Rapports personnalisés
724 label_query_plural: Rapports personnalisés
724 label_query_new: Nouveau rapport
725 label_query_new: Nouveau rapport
725 label_my_queries: Mes rapports personnalisés
726 label_my_queries: Mes rapports personnalisés
726 label_filter_add: Ajouter le filtre
727 label_filter_add: Ajouter le filtre
727 label_filter_plural: Filtres
728 label_filter_plural: Filtres
728 label_equals: égal
729 label_equals: égal
729 label_not_equals: différent
730 label_not_equals: différent
730 label_in_less_than: dans moins de
731 label_in_less_than: dans moins de
731 label_in_more_than: dans plus de
732 label_in_more_than: dans plus de
732 label_in_the_next_days: dans les prochains jours
733 label_in_the_next_days: dans les prochains jours
733 label_in_the_past_days: dans les derniers jours
734 label_in_the_past_days: dans les derniers jours
734 label_greater_or_equal: '>='
735 label_greater_or_equal: '>='
735 label_less_or_equal: '<='
736 label_less_or_equal: '<='
736 label_between: entre
737 label_between: entre
737 label_in: dans
738 label_in: dans
738 label_today: aujourd'hui
739 label_today: aujourd'hui
739 label_all_time: toute la période
740 label_all_time: toute la période
740 label_yesterday: hier
741 label_yesterday: hier
741 label_this_week: cette semaine
742 label_this_week: cette semaine
742 label_last_week: la semaine dernière
743 label_last_week: la semaine dernière
743 label_last_n_weeks: "les %{count} dernières semaines"
744 label_last_n_weeks: "les %{count} dernières semaines"
744 label_last_n_days: "les %{count} derniers jours"
745 label_last_n_days: "les %{count} derniers jours"
745 label_this_month: ce mois-ci
746 label_this_month: ce mois-ci
746 label_last_month: le mois dernier
747 label_last_month: le mois dernier
747 label_this_year: cette année
748 label_this_year: cette année
748 label_date_range: Période
749 label_date_range: Période
749 label_less_than_ago: il y a moins de
750 label_less_than_ago: il y a moins de
750 label_more_than_ago: il y a plus de
751 label_more_than_ago: il y a plus de
751 label_ago: il y a
752 label_ago: il y a
752 label_contains: contient
753 label_contains: contient
753 label_not_contains: ne contient pas
754 label_not_contains: ne contient pas
754 label_any_issues_in_project: une demande du projet
755 label_any_issues_in_project: une demande du projet
755 label_any_issues_not_in_project: une demande hors du projet
756 label_any_issues_not_in_project: une demande hors du projet
756 label_no_issues_in_project: aucune demande du projet
757 label_no_issues_in_project: aucune demande du projet
757 label_any_open_issues: une demande ouverte
758 label_any_open_issues: une demande ouverte
758 label_no_open_issues: aucune demande ouverte
759 label_no_open_issues: aucune demande ouverte
759 label_day_plural: jours
760 label_day_plural: jours
760 label_repository: Dépôt
761 label_repository: Dépôt
761 label_repository_new: Nouveau dépôt
762 label_repository_new: Nouveau dépôt
762 label_repository_plural: Dépôts
763 label_repository_plural: Dépôts
763 label_browse: Parcourir
764 label_browse: Parcourir
764 label_branch: Branche
765 label_branch: Branche
765 label_tag: Tag
766 label_tag: Tag
766 label_revision: Révision
767 label_revision: Révision
767 label_revision_plural: Révisions
768 label_revision_plural: Révisions
768 label_revision_id: "Révision %{value}"
769 label_revision_id: "Révision %{value}"
769 label_associated_revisions: Révisions associées
770 label_associated_revisions: Révisions associées
770 label_added: ajouté
771 label_added: ajouté
771 label_modified: modifié
772 label_modified: modifié
772 label_copied: copié
773 label_copied: copié
773 label_renamed: renommé
774 label_renamed: renommé
774 label_deleted: supprimé
775 label_deleted: supprimé
775 label_latest_revision: Dernière révision
776 label_latest_revision: Dernière révision
776 label_latest_revision_plural: Dernières révisions
777 label_latest_revision_plural: Dernières révisions
777 label_view_revisions: Voir les révisions
778 label_view_revisions: Voir les révisions
778 label_view_all_revisions: Voir toutes les révisions
779 label_view_all_revisions: Voir toutes les révisions
779 label_max_size: Taille maximale
780 label_max_size: Taille maximale
780 label_sort_highest: Remonter en premier
781 label_sort_highest: Remonter en premier
781 label_sort_higher: Remonter
782 label_sort_higher: Remonter
782 label_sort_lower: Descendre
783 label_sort_lower: Descendre
783 label_sort_lowest: Descendre en dernier
784 label_sort_lowest: Descendre en dernier
784 label_roadmap: Roadmap
785 label_roadmap: Roadmap
785 label_roadmap_due_in: "Échéance dans %{value}"
786 label_roadmap_due_in: "Échéance dans %{value}"
786 label_roadmap_overdue: "En retard de %{value}"
787 label_roadmap_overdue: "En retard de %{value}"
787 label_roadmap_no_issues: Aucune demande pour cette version
788 label_roadmap_no_issues: Aucune demande pour cette version
788 label_search: Recherche
789 label_search: Recherche
789 label_result_plural: Résultats
790 label_result_plural: Résultats
790 label_all_words: Tous les mots
791 label_all_words: Tous les mots
791 label_wiki: Wiki
792 label_wiki: Wiki
792 label_wiki_edit: Révision wiki
793 label_wiki_edit: Révision wiki
793 label_wiki_edit_plural: Révisions wiki
794 label_wiki_edit_plural: Révisions wiki
794 label_wiki_page: Page wiki
795 label_wiki_page: Page wiki
795 label_wiki_page_plural: Pages wiki
796 label_wiki_page_plural: Pages wiki
796 label_wiki_page_new: Nouvelle page wiki
797 label_wiki_page_new: Nouvelle page wiki
797 label_index_by_title: Index par titre
798 label_index_by_title: Index par titre
798 label_index_by_date: Index par date
799 label_index_by_date: Index par date
799 label_current_version: Version actuelle
800 label_current_version: Version actuelle
800 label_preview: Prévisualisation
801 label_preview: Prévisualisation
801 label_feed_plural: Flux Atom
802 label_feed_plural: Flux Atom
802 label_changes_details: Détails de tous les changements
803 label_changes_details: Détails de tous les changements
803 label_issue_tracking: Suivi des demandes
804 label_issue_tracking: Suivi des demandes
804 label_spent_time: Temps passé
805 label_spent_time: Temps passé
805 label_total_spent_time: Temps passé total
806 label_total_spent_time: Temps passé total
806 label_overall_spent_time: Temps passé global
807 label_overall_spent_time: Temps passé global
807 label_f_hour: "%{value} heure"
808 label_f_hour: "%{value} heure"
808 label_f_hour_plural: "%{value} heures"
809 label_f_hour_plural: "%{value} heures"
809 label_f_hour_short: "%{value} h"
810 label_f_hour_short: "%{value} h"
810 label_time_tracking: Suivi du temps
811 label_time_tracking: Suivi du temps
811 label_change_plural: Changements
812 label_change_plural: Changements
812 label_statistics: Statistiques
813 label_statistics: Statistiques
813 label_commits_per_month: Commits par mois
814 label_commits_per_month: Commits par mois
814 label_commits_per_author: Commits par auteur
815 label_commits_per_author: Commits par auteur
815 label_diff: diff
816 label_diff: diff
816 label_view_diff: Voir les différences
817 label_view_diff: Voir les différences
817 label_diff_inline: en ligne
818 label_diff_inline: en ligne
818 label_diff_side_by_side: côte à côte
819 label_diff_side_by_side: côte à côte
819 label_options: Options
820 label_options: Options
820 label_copy_workflow_from: Copier le workflow de
821 label_copy_workflow_from: Copier le workflow de
821 label_permissions_report: Synthèse des permissions
822 label_permissions_report: Synthèse des permissions
822 label_watched_issues: Demandes surveillées
823 label_watched_issues: Demandes surveillées
823 label_related_issues: Demandes liées
824 label_related_issues: Demandes liées
824 label_applied_status: Statut appliqué
825 label_applied_status: Statut appliqué
825 label_loading: Chargement...
826 label_loading: Chargement...
826 label_relation_new: Nouvelle relation
827 label_relation_new: Nouvelle relation
827 label_relation_delete: Supprimer la relation
828 label_relation_delete: Supprimer la relation
828 label_relates_to: Lié à
829 label_relates_to: Lié à
829 label_duplicates: Duplique
830 label_duplicates: Duplique
830 label_duplicated_by: Dupliqué par
831 label_duplicated_by: Dupliqué par
831 label_blocks: Bloque
832 label_blocks: Bloque
832 label_blocked_by: Bloqué par
833 label_blocked_by: Bloqué par
833 label_precedes: Précède
834 label_precedes: Précède
834 label_follows: Suit
835 label_follows: Suit
835 label_copied_to: Copié vers
836 label_copied_to: Copié vers
836 label_copied_from: Copié depuis
837 label_copied_from: Copié depuis
837 label_stay_logged_in: Rester connecté
838 label_stay_logged_in: Rester connecté
838 label_disabled: désactivé
839 label_disabled: désactivé
839 label_show_completed_versions: Voir les versions passées
840 label_show_completed_versions: Voir les versions passées
840 label_me: moi
841 label_me: moi
841 label_board: Forum
842 label_board: Forum
842 label_board_new: Nouveau forum
843 label_board_new: Nouveau forum
843 label_board_plural: Forums
844 label_board_plural: Forums
844 label_board_locked: Verrouillé
845 label_board_locked: Verrouillé
845 label_board_sticky: Sticky
846 label_board_sticky: Sticky
846 label_topic_plural: Discussions
847 label_topic_plural: Discussions
847 label_message_plural: Messages
848 label_message_plural: Messages
848 label_message_last: Dernier message
849 label_message_last: Dernier message
849 label_message_new: Nouveau message
850 label_message_new: Nouveau message
850 label_message_posted: Message ajouté
851 label_message_posted: Message ajouté
851 label_reply_plural: Réponses
852 label_reply_plural: Réponses
852 label_send_information: Envoyer les informations à l'utilisateur
853 label_send_information: Envoyer les informations à l'utilisateur
853 label_year: Année
854 label_year: Année
854 label_month: Mois
855 label_month: Mois
855 label_week: Semaine
856 label_week: Semaine
856 label_date_from: Du
857 label_date_from: Du
857 label_date_to: Au
858 label_date_to: Au
858 label_language_based: Basé sur la langue de l'utilisateur
859 label_language_based: Basé sur la langue de l'utilisateur
859 label_sort_by: "Trier par %{value}"
860 label_sort_by: "Trier par %{value}"
860 label_send_test_email: Envoyer un email de test
861 label_send_test_email: Envoyer un email de test
861 label_feeds_access_key: Clé d'accès Atom
862 label_feeds_access_key: Clé d'accès Atom
862 label_missing_feeds_access_key: Clé d'accès Atom manquante
863 label_missing_feeds_access_key: Clé d'accès Atom manquante
863 label_feeds_access_key_created_on: "Clé d'accès Atom créée il y a %{value}"
864 label_feeds_access_key_created_on: "Clé d'accès Atom créée il y a %{value}"
864 label_module_plural: Modules
865 label_module_plural: Modules
865 label_added_time_by: "Ajouté par %{author} il y a %{age}"
866 label_added_time_by: "Ajouté par %{author} il y a %{age}"
866 label_updated_time_by: "Mis à jour par %{author} il y a %{age}"
867 label_updated_time_by: "Mis à jour par %{author} il y a %{age}"
867 label_updated_time: "Mis à jour il y a %{value}"
868 label_updated_time: "Mis à jour il y a %{value}"
868 label_jump_to_a_project: Aller à un projet...
869 label_jump_to_a_project: Aller à un projet...
869 label_file_plural: Fichiers
870 label_file_plural: Fichiers
870 label_changeset_plural: Révisions
871 label_changeset_plural: Révisions
871 label_default_columns: Colonnes par défaut
872 label_default_columns: Colonnes par défaut
872 label_no_change_option: (Pas de changement)
873 label_no_change_option: (Pas de changement)
873 label_bulk_edit_selected_issues: Modifier les demandes sélectionnées
874 label_bulk_edit_selected_issues: Modifier les demandes sélectionnées
874 label_bulk_edit_selected_time_entries: Modifier les temps passés sélectionnés
875 label_bulk_edit_selected_time_entries: Modifier les temps passés sélectionnés
875 label_theme: Thème
876 label_theme: Thème
876 label_default: Défaut
877 label_default: Défaut
877 label_search_titles_only: Uniquement dans les titres
878 label_search_titles_only: Uniquement dans les titres
878 label_user_mail_option_all: "Pour tous les événements de tous mes projets"
879 label_user_mail_option_all: "Pour tous les événements de tous mes projets"
879 label_user_mail_option_selected: "Pour tous les événements des projets sélectionnés..."
880 label_user_mail_option_selected: "Pour tous les événements des projets sélectionnés..."
880 label_user_mail_option_none: Aucune notification
881 label_user_mail_option_none: Aucune notification
881 label_user_mail_option_only_my_events: Seulement pour ce que je surveille
882 label_user_mail_option_only_my_events: Seulement pour ce que je surveille
882 label_user_mail_no_self_notified: "Je ne veux pas être notifié des changements que j'effectue"
883 label_user_mail_no_self_notified: "Je ne veux pas être notifié des changements que j'effectue"
883 label_registration_activation_by_email: activation du compte par email
884 label_registration_activation_by_email: activation du compte par email
884 label_registration_manual_activation: activation manuelle du compte
885 label_registration_manual_activation: activation manuelle du compte
885 label_registration_automatic_activation: activation automatique du compte
886 label_registration_automatic_activation: activation automatique du compte
886 label_display_per_page: "Par page : %{value}"
887 label_display_per_page: "Par page : %{value}"
887 label_age: Âge
888 label_age: Âge
888 label_change_properties: Changer les propriétés
889 label_change_properties: Changer les propriétés
889 label_general: Général
890 label_general: Général
890 label_more: Plus
891 label_more: Plus
891 label_scm: SCM
892 label_scm: SCM
892 label_plugins: Plugins
893 label_plugins: Plugins
893 label_ldap_authentication: Authentification LDAP
894 label_ldap_authentication: Authentification LDAP
894 label_downloads_abbr: D/L
895 label_downloads_abbr: D/L
895 label_optional_description: Description facultative
896 label_optional_description: Description facultative
896 label_add_another_file: Ajouter un autre fichier
897 label_add_another_file: Ajouter un autre fichier
897 label_preferences: Préférences
898 label_preferences: Préférences
898 label_chronological_order: Dans l'ordre chronologique
899 label_chronological_order: Dans l'ordre chronologique
899 label_reverse_chronological_order: Dans l'ordre chronologique inverse
900 label_reverse_chronological_order: Dans l'ordre chronologique inverse
900 label_planning: Planning
901 label_planning: Planning
901 label_incoming_emails: Emails entrants
902 label_incoming_emails: Emails entrants
902 label_generate_key: Générer une clé
903 label_generate_key: Générer une clé
903 label_issue_watchers: Observateurs
904 label_issue_watchers: Observateurs
904 label_example: Exemple
905 label_example: Exemple
905 label_display: Affichage
906 label_display: Affichage
906 label_sort: Tri
907 label_sort: Tri
907 label_ascending: Croissant
908 label_ascending: Croissant
908 label_descending: Décroissant
909 label_descending: Décroissant
909 label_date_from_to: Du %{start} au %{end}
910 label_date_from_to: Du %{start} au %{end}
910 label_wiki_content_added: Page wiki ajoutée
911 label_wiki_content_added: Page wiki ajoutée
911 label_wiki_content_updated: Page wiki mise à jour
912 label_wiki_content_updated: Page wiki mise à jour
912 label_group: Groupe
913 label_group: Groupe
913 label_group_plural: Groupes
914 label_group_plural: Groupes
914 label_group_new: Nouveau groupe
915 label_group_new: Nouveau groupe
915 label_group_anonymous: Utilisateurs anonymes
916 label_group_anonymous: Utilisateurs anonymes
916 label_group_non_member: Utilisateurs non membres
917 label_group_non_member: Utilisateurs non membres
917 label_time_entry_plural: Temps passé
918 label_time_entry_plural: Temps passé
918 label_version_sharing_none: Non partagé
919 label_version_sharing_none: Non partagé
919 label_version_sharing_descendants: Avec les sous-projets
920 label_version_sharing_descendants: Avec les sous-projets
920 label_version_sharing_hierarchy: Avec toute la hiérarchie
921 label_version_sharing_hierarchy: Avec toute la hiérarchie
921 label_version_sharing_tree: Avec tout l'arbre
922 label_version_sharing_tree: Avec tout l'arbre
922 label_version_sharing_system: Avec tous les projets
923 label_version_sharing_system: Avec tous les projets
923 label_update_issue_done_ratios: Mettre à jour l'avancement des demandes
924 label_update_issue_done_ratios: Mettre à jour l'avancement des demandes
924 label_copy_source: Source
925 label_copy_source: Source
925 label_copy_target: Cible
926 label_copy_target: Cible
926 label_copy_same_as_target: Comme la cible
927 label_copy_same_as_target: Comme la cible
927 label_display_used_statuses_only: N'afficher que les statuts utilisés dans ce tracker
928 label_display_used_statuses_only: N'afficher que les statuts utilisés dans ce tracker
928 label_api_access_key: Clé d'accès API
929 label_api_access_key: Clé d'accès API
929 label_missing_api_access_key: Clé d'accès API manquante
930 label_missing_api_access_key: Clé d'accès API manquante
930 label_api_access_key_created_on: Clé d'accès API créée il y a %{value}
931 label_api_access_key_created_on: Clé d'accès API créée il y a %{value}
931 label_profile: Profil
932 label_profile: Profil
932 label_subtask_plural: Sous-tâches
933 label_subtask_plural: Sous-tâches
933 label_project_copy_notifications: Envoyer les notifications durant la copie du projet
934 label_project_copy_notifications: Envoyer les notifications durant la copie du projet
934 label_principal_search: "Rechercher un utilisateur ou un groupe :"
935 label_principal_search: "Rechercher un utilisateur ou un groupe :"
935 label_user_search: "Rechercher un utilisateur :"
936 label_user_search: "Rechercher un utilisateur :"
936 label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande
937 label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande
937 label_additional_workflow_transitions_for_assignee: Autorisations supplémentaires lorsque la demande est assignée à l'utilisateur
938 label_additional_workflow_transitions_for_assignee: Autorisations supplémentaires lorsque la demande est assignée à l'utilisateur
938 label_issues_visibility_all: Toutes les demandes
939 label_issues_visibility_all: Toutes les demandes
939 label_issues_visibility_public: Toutes les demandes non privées
940 label_issues_visibility_public: Toutes les demandes non privées
940 label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur
941 label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur
941 label_git_report_last_commit: Afficher le dernier commit des fichiers et répertoires
942 label_git_report_last_commit: Afficher le dernier commit des fichiers et répertoires
942 label_parent_revision: Parent
943 label_parent_revision: Parent
943 label_child_revision: Enfant
944 label_child_revision: Enfant
944 label_export_options: Options d'exportation %{export_format}
945 label_export_options: Options d'exportation %{export_format}
945 label_copy_attachments: Copier les fichiers
946 label_copy_attachments: Copier les fichiers
946 label_copy_subtasks: Copier les sous-tâches
947 label_copy_subtasks: Copier les sous-tâches
947 label_item_position: "%{position} sur %{count}"
948 label_item_position: "%{position} sur %{count}"
948 label_completed_versions: Versions passées
949 label_completed_versions: Versions passées
949 label_search_for_watchers: Rechercher des observateurs
950 label_search_for_watchers: Rechercher des observateurs
950 label_session_expiration: Expiration des sessions
951 label_session_expiration: Expiration des sessions
951 label_show_closed_projects: Voir les projets fermés
952 label_show_closed_projects: Voir les projets fermés
952 label_status_transitions: Changements de statut
953 label_status_transitions: Changements de statut
953 label_fields_permissions: Permissions sur les champs
954 label_fields_permissions: Permissions sur les champs
954 label_readonly: Lecture
955 label_readonly: Lecture
955 label_required: Obligatoire
956 label_required: Obligatoire
956 label_hidden: Caché
957 label_hidden: Caché
957 label_attribute_of_project: "%{name} du projet"
958 label_attribute_of_project: "%{name} du projet"
958 label_attribute_of_issue: "%{name} de la demande"
959 label_attribute_of_issue: "%{name} de la demande"
959 label_attribute_of_author: "%{name} de l'auteur"
960 label_attribute_of_author: "%{name} de l'auteur"
960 label_attribute_of_assigned_to: "%{name} de l'assigné"
961 label_attribute_of_assigned_to: "%{name} de l'assigné"
961 label_attribute_of_user: "%{name} de l'utilisateur"
962 label_attribute_of_user: "%{name} de l'utilisateur"
962 label_attribute_of_fixed_version: "%{name} de la version cible"
963 label_attribute_of_fixed_version: "%{name} de la version cible"
963 label_attribute_of_object: "%{name} de \"%{object_name}\""
964 label_attribute_of_object: "%{name} de \"%{object_name}\""
964 label_cross_project_descendants: Avec les sous-projets
965 label_cross_project_descendants: Avec les sous-projets
965 label_cross_project_tree: Avec tout l'arbre
966 label_cross_project_tree: Avec tout l'arbre
966 label_cross_project_hierarchy: Avec toute la hiérarchie
967 label_cross_project_hierarchy: Avec toute la hiérarchie
967 label_cross_project_system: Avec tous les projets
968 label_cross_project_system: Avec tous les projets
968 label_gantt_progress_line: Ligne de progression
969 label_gantt_progress_line: Ligne de progression
969 label_visibility_private: par moi uniquement
970 label_visibility_private: par moi uniquement
970 label_visibility_roles: par ces rôles uniquement
971 label_visibility_roles: par ces rôles uniquement
971 label_visibility_public: par tout le monde
972 label_visibility_public: par tout le monde
972 label_link: Lien
973 label_link: Lien
973 label_only: seulement
974 label_only: seulement
974 label_drop_down_list: liste déroulante
975 label_drop_down_list: liste déroulante
975 label_checkboxes: cases à cocher
976 label_checkboxes: cases à cocher
976 label_radio_buttons: boutons radio
977 label_radio_buttons: boutons radio
977 label_link_values_to: Lier les valeurs vers l'URL
978 label_link_values_to: Lier les valeurs vers l'URL
978 label_custom_field_select_type: Selectionner le type d'objet auquel attacher le champ personnalisé
979 label_custom_field_select_type: Selectionner le type d'objet auquel attacher le champ personnalisé
979 label_check_for_updates: Vérifier les mises à jour
980 label_check_for_updates: Vérifier les mises à jour
980 label_latest_compatible_version: Dernière version compatible
981 label_latest_compatible_version: Dernière version compatible
981 label_unknown_plugin: Plugin inconnu
982 label_unknown_plugin: Plugin inconnu
982 label_add_projects: Ajouter des projets
983 label_add_projects: Ajouter des projets
983 label_users_visibility_all: Tous les utilisateurs actifs
984 label_users_visibility_all: Tous les utilisateurs actifs
984 label_users_visibility_members_of_visible_projects: Membres des projets visibles
985 label_users_visibility_members_of_visible_projects: Membres des projets visibles
985 label_edit_attachments: Modifier les fichiers attachés
986 label_edit_attachments: Modifier les fichiers attachés
986 label_link_copied_issue: Lier la demande copiée
987 label_link_copied_issue: Lier la demande copiée
987 label_ask: Demander
988 label_ask: Demander
988 label_search_attachments_yes: Rechercher les noms et descriptions de fichiers
989 label_search_attachments_yes: Rechercher les noms et descriptions de fichiers
989 label_search_attachments_no: Ne pas rechercher les fichiers
990 label_search_attachments_no: Ne pas rechercher les fichiers
990 label_search_attachments_only: Rechercher les fichiers uniquement
991 label_search_attachments_only: Rechercher les fichiers uniquement
991 label_search_open_issues_only: Demandes ouvertes uniquement
992 label_search_open_issues_only: Demandes ouvertes uniquement
992 label_email_address_plural: Emails
993 label_email_address_plural: Emails
993 label_email_address_add: Ajouter une adresse email
994 label_email_address_add: Ajouter une adresse email
994 label_enable_notifications: Activer les notifications
995 label_enable_notifications: Activer les notifications
995 label_disable_notifications: Désactiver les notifications
996 label_disable_notifications: Désactiver les notifications
996 label_blank_value: non renseigné
997 label_blank_value: non renseigné
997 label_parent_task_attributes: Attributs des tâches parentes
998 label_parent_task_attributes: Attributs des tâches parentes
998 label_time_entries_visibility_all: Tous les temps passés
999 label_time_entries_visibility_all: Tous les temps passés
999 label_time_entries_visibility_own: Ses propres temps passés
1000 label_time_entries_visibility_own: Ses propres temps passés
1000 label_member_management: Gestion des membres
1001 label_member_management: Gestion des membres
1001 label_member_management_all_roles: Tous les rôles
1002 label_member_management_all_roles: Tous les rôles
1002 label_member_management_selected_roles_only: Ces rôles uniquement
1003 label_member_management_selected_roles_only: Ces rôles uniquement
1003 label_import_issues: Importer des demandes
1004 label_import_issues: Importer des demandes
1004 label_select_file_to_import: Sélectionner le fichier à importer
1005 label_select_file_to_import: Sélectionner le fichier à importer
1005 label_fields_separator: Séparateur de champs
1006 label_fields_separator: Séparateur de champs
1006 label_fields_wrapper: Délimiteur de texte
1007 label_fields_wrapper: Délimiteur de texte
1007 label_encoding: Encodage
1008 label_encoding: Encodage
1008 label_comma_char: Virgule
1009 label_comma_char: Virgule
1009 label_semi_colon_char: Point virgule
1010 label_semi_colon_char: Point virgule
1010 label_quote_char: Apostrophe
1011 label_quote_char: Apostrophe
1011 label_double_quote_char: Double apostrophe
1012 label_double_quote_char: Double apostrophe
1012 label_fields_mapping: Correspondance des champs
1013 label_fields_mapping: Correspondance des champs
1013 label_file_content_preview: Aperçu du contenu du fichier
1014 label_file_content_preview: Aperçu du contenu du fichier
1014 label_create_missing_values: Créer les valeurs manquantes
1015 label_create_missing_values: Créer les valeurs manquantes
1015 label_api: API
1016 label_api: API
1016 label_field_format_enumeration: Liste clé/valeur
1017 label_field_format_enumeration: Liste clé/valeur
1017 label_default_values_for_new_users: Valeurs par défaut pour les nouveaux utilisateurs
1018 label_default_values_for_new_users: Valeurs par défaut pour les nouveaux utilisateurs
1018 label_relations: Relations
1019 label_relations: Relations
1019 label_new_project_issue_tab_enabled: Afficher l'onglet "Nouvelle demande"
1020 label_new_project_issue_tab_enabled: Afficher l'onglet "Nouvelle demande"
1020 label_new_object_tab_enabled: Afficher le menu déroulant "+"
1021 label_new_object_tab_enabled: Afficher le menu déroulant "+"
1021 label_table_of_contents: Contenu
1022 label_table_of_contents: Contenu
1022 label_font_default: Police par défaut
1023 label_font_default: Police par défaut
1023 label_font_monospace: Police non proportionnelle
1024 label_font_monospace: Police non proportionnelle
1024 label_font_proportional: Police proportionnelle
1025 label_font_proportional: Police proportionnelle
1025
1026
1026 button_login: Connexion
1027 button_login: Connexion
1027 button_submit: Soumettre
1028 button_submit: Soumettre
1028 button_save: Sauvegarder
1029 button_save: Sauvegarder
1029 button_check_all: Tout cocher
1030 button_check_all: Tout cocher
1030 button_uncheck_all: Tout décocher
1031 button_uncheck_all: Tout décocher
1031 button_collapse_all: Plier tout
1032 button_collapse_all: Plier tout
1032 button_expand_all: Déplier tout
1033 button_expand_all: Déplier tout
1033 button_delete: Supprimer
1034 button_delete: Supprimer
1034 button_create: Créer
1035 button_create: Créer
1035 button_create_and_continue: Créer et continuer
1036 button_create_and_continue: Créer et continuer
1036 button_test: Tester
1037 button_test: Tester
1037 button_edit: Modifier
1038 button_edit: Modifier
1038 button_edit_associated_wikipage: "Modifier la page wiki associée: %{page_title}"
1039 button_edit_associated_wikipage: "Modifier la page wiki associée: %{page_title}"
1039 button_add: Ajouter
1040 button_add: Ajouter
1040 button_change: Changer
1041 button_change: Changer
1041 button_apply: Appliquer
1042 button_apply: Appliquer
1042 button_clear: Effacer
1043 button_clear: Effacer
1043 button_lock: Verrouiller
1044 button_lock: Verrouiller
1044 button_unlock: Déverrouiller
1045 button_unlock: Déverrouiller
1045 button_download: Télécharger
1046 button_download: Télécharger
1046 button_list: Lister
1047 button_list: Lister
1047 button_view: Voir
1048 button_view: Voir
1048 button_move: Déplacer
1049 button_move: Déplacer
1049 button_move_and_follow: Déplacer et suivre
1050 button_move_and_follow: Déplacer et suivre
1050 button_back: Retour
1051 button_back: Retour
1051 button_cancel: Annuler
1052 button_cancel: Annuler
1052 button_activate: Activer
1053 button_activate: Activer
1053 button_sort: Trier
1054 button_sort: Trier
1054 button_log_time: Saisir temps
1055 button_log_time: Saisir temps
1055 button_rollback: Revenir à cette version
1056 button_rollback: Revenir à cette version
1056 button_watch: Surveiller
1057 button_watch: Surveiller
1057 button_unwatch: Ne plus surveiller
1058 button_unwatch: Ne plus surveiller
1058 button_reply: Répondre
1059 button_reply: Répondre
1059 button_archive: Archiver
1060 button_archive: Archiver
1060 button_unarchive: Désarchiver
1061 button_unarchive: Désarchiver
1061 button_reset: Réinitialiser
1062 button_reset: Réinitialiser
1062 button_rename: Renommer
1063 button_rename: Renommer
1063 button_change_password: Changer de mot de passe
1064 button_change_password: Changer de mot de passe
1064 button_copy: Copier
1065 button_copy: Copier
1065 button_copy_and_follow: Copier et suivre
1066 button_copy_and_follow: Copier et suivre
1066 button_annotate: Annoter
1067 button_annotate: Annoter
1067 button_update: Mettre à jour
1068 button_update: Mettre à jour
1068 button_configure: Configurer
1069 button_configure: Configurer
1069 button_quote: Citer
1070 button_quote: Citer
1070 button_duplicate: Dupliquer
1071 button_duplicate: Dupliquer
1071 button_show: Afficher
1072 button_show: Afficher
1072 button_hide: Cacher
1073 button_hide: Cacher
1073 button_edit_section: Modifier cette section
1074 button_edit_section: Modifier cette section
1074 button_export: Exporter
1075 button_export: Exporter
1075 button_delete_my_account: Supprimer mon compte
1076 button_delete_my_account: Supprimer mon compte
1076 button_close: Fermer
1077 button_close: Fermer
1077 button_reopen: Réouvrir
1078 button_reopen: Réouvrir
1078 button_import: Importer
1079 button_import: Importer
1079 button_filter: Filtrer
1080 button_filter: Filtrer
1080
1081
1081 status_active: actif
1082 status_active: actif
1082 status_registered: enregistré
1083 status_registered: enregistré
1083 status_locked: verrouillé
1084 status_locked: verrouillé
1084
1085
1085 project_status_active: actif
1086 project_status_active: actif
1086 project_status_closed: fermé
1087 project_status_closed: fermé
1087 project_status_archived: archivé
1088 project_status_archived: archivé
1088
1089
1089 version_status_open: ouvert
1090 version_status_open: ouvert
1090 version_status_locked: verrouillé
1091 version_status_locked: verrouillé
1091 version_status_closed: fermé
1092 version_status_closed: fermé
1092
1093
1093 field_active: Actif
1094 field_active: Actif
1094
1095
1095 text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyée
1096 text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyée
1096 text_regexp_info: ex. ^[A-Z0-9]+$
1097 text_regexp_info: ex. ^[A-Z0-9]+$
1097 text_min_max_length_info: 0 pour aucune restriction
1098 text_min_max_length_info: 0 pour aucune restriction
1098 text_project_destroy_confirmation: Êtes-vous sûr de vouloir supprimer ce projet et toutes ses données ?
1099 text_project_destroy_confirmation: Êtes-vous sûr de vouloir supprimer ce projet et toutes ses données ?
1099 text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront également supprimés."
1100 text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront également supprimés."
1100 text_workflow_edit: Sélectionner un tracker et un rôle pour éditer le workflow
1101 text_workflow_edit: Sélectionner un tracker et un rôle pour éditer le workflow
1101 text_are_you_sure: Êtes-vous sûr ?
1102 text_are_you_sure: Êtes-vous sûr ?
1102 text_journal_changed: "%{label} changé de %{old} à %{new}"
1103 text_journal_changed: "%{label} changé de %{old} à %{new}"
1103 text_journal_changed_no_detail: "%{label} mis à jour"
1104 text_journal_changed_no_detail: "%{label} mis à jour"
1104 text_journal_set_to: "%{label} mis à %{value}"
1105 text_journal_set_to: "%{label} mis à %{value}"
1105 text_journal_deleted: "%{label} %{old} supprimé"
1106 text_journal_deleted: "%{label} %{old} supprimé"
1106 text_journal_added: "%{label} %{value} ajouté"
1107 text_journal_added: "%{label} %{value} ajouté"
1107 text_tip_issue_begin_day: tâche commençant ce jour
1108 text_tip_issue_begin_day: tâche commençant ce jour
1108 text_tip_issue_end_day: tâche finissant ce jour
1109 text_tip_issue_end_day: tâche finissant ce jour
1109 text_tip_issue_begin_end_day: tâche commençant et finissant ce jour
1110 text_tip_issue_begin_end_day: tâche commençant et finissant ce jour
1110 text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisés, doit commencer par une minuscule.<br />Un fois sauvegardé, l''identifiant ne pourra plus être modifié.'
1111 text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisés, doit commencer par une minuscule.<br />Un fois sauvegardé, l''identifiant ne pourra plus être modifié.'
1111 text_caracters_maximum: "%{count} caractères maximum."
1112 text_caracters_maximum: "%{count} caractères maximum."
1112 text_caracters_minimum: "%{count} caractères minimum."
1113 text_caracters_minimum: "%{count} caractères minimum."
1113 text_length_between: "Longueur comprise entre %{min} et %{max} caractères."
1114 text_length_between: "Longueur comprise entre %{min} et %{max} caractères."
1114 text_tracker_no_workflow: Aucun worflow n'est défini pour ce tracker
1115 text_tracker_no_workflow: Aucun worflow n'est défini pour ce tracker
1115 text_unallowed_characters: Caractères non autorisés
1116 text_unallowed_characters: Caractères non autorisés
1116 text_comma_separated: Plusieurs valeurs possibles (séparées par des virgules).
1117 text_comma_separated: Plusieurs valeurs possibles (séparées par des virgules).
1117 text_line_separated: Plusieurs valeurs possibles (une valeur par ligne).
1118 text_line_separated: Plusieurs valeurs possibles (une valeur par ligne).
1118 text_issues_ref_in_commit_messages: Référencement et résolution des demandes dans les commentaires de commits
1119 text_issues_ref_in_commit_messages: Référencement et résolution des demandes dans les commentaires de commits
1119 text_issue_added: "La demande %{id} a été soumise par %{author}."
1120 text_issue_added: "La demande %{id} a été soumise par %{author}."
1120 text_issue_updated: "La demande %{id} a été mise à jour par %{author}."
1121 text_issue_updated: "La demande %{id} a été mise à jour par %{author}."
1121 text_wiki_destroy_confirmation: Etes-vous sûr de vouloir supprimer ce wiki et tout son contenu ?
1122 text_wiki_destroy_confirmation: Etes-vous sûr de vouloir supprimer ce wiki et tout son contenu ?
1122 text_issue_category_destroy_question: "%{count} demandes sont affectées à cette catégorie. Que voulez-vous faire ?"
1123 text_issue_category_destroy_question: "%{count} demandes sont affectées à cette catégorie. Que voulez-vous faire ?"
1123 text_issue_category_destroy_assignments: N'affecter les demandes à aucune autre catégorie
1124 text_issue_category_destroy_assignments: N'affecter les demandes à aucune autre catégorie
1124 text_issue_category_reassign_to: Réaffecter les demandes à cette catégorie
1125 text_issue_category_reassign_to: Réaffecter les demandes à cette catégorie
1125 text_user_mail_option: "Pour les projets non sélectionnés, vous recevrez seulement des notifications pour ce que vous surveillez ou à quoi vous participez (exemple: demandes dont vous êtes l'auteur ou la personne assignée)."
1126 text_user_mail_option: "Pour les projets non sélectionnés, vous recevrez seulement des notifications pour ce que vous surveillez ou à quoi vous participez (exemple: demandes dont vous êtes l'auteur ou la personne assignée)."
1126 text_no_configuration_data: "Les rôles, trackers, statuts et le workflow ne sont pas encore paramétrés.\nIl est vivement recommandé de charger le paramétrage par defaut. Vous pourrez le modifier une fois chargé."
1127 text_no_configuration_data: "Les rôles, trackers, statuts et le workflow ne sont pas encore paramétrés.\nIl est vivement recommandé de charger le paramétrage par defaut. Vous pourrez le modifier une fois chargé."
1127 text_load_default_configuration: Charger le paramétrage par défaut
1128 text_load_default_configuration: Charger le paramétrage par défaut
1128 text_status_changed_by_changeset: "Appliqué par commit %{value}."
1129 text_status_changed_by_changeset: "Appliqué par commit %{value}."
1129 text_time_logged_by_changeset: "Appliqué par commit %{value}"
1130 text_time_logged_by_changeset: "Appliqué par commit %{value}"
1130 text_issues_destroy_confirmation: 'Êtes-vous sûr de vouloir supprimer la ou les demandes(s) selectionnée(s) ?'
1131 text_issues_destroy_confirmation: 'Êtes-vous sûr de vouloir supprimer la ou les demandes(s) selectionnée(s) ?'
1131 text_issues_destroy_descendants_confirmation: "Cela entrainera également la suppression de %{count} sous-tâche(s)."
1132 text_issues_destroy_descendants_confirmation: "Cela entrainera également la suppression de %{count} sous-tâche(s)."
1132 text_time_entries_destroy_confirmation: "Etes-vous sûr de vouloir supprimer les temps passés sélectionnés ?"
1133 text_time_entries_destroy_confirmation: "Etes-vous sûr de vouloir supprimer les temps passés sélectionnés ?"
1133 text_select_project_modules: 'Sélectionner les modules à activer pour ce projet :'
1134 text_select_project_modules: 'Sélectionner les modules à activer pour ce projet :'
1134 text_default_administrator_account_changed: Compte administrateur par défaut changé
1135 text_default_administrator_account_changed: Compte administrateur par défaut changé
1135 text_file_repository_writable: Répertoire de stockage des fichiers accessible en écriture
1136 text_file_repository_writable: Répertoire de stockage des fichiers accessible en écriture
1136 text_plugin_assets_writable: Répertoire public des plugins accessible en écriture
1137 text_plugin_assets_writable: Répertoire public des plugins accessible en écriture
1137 text_rmagick_available: Bibliothèque RMagick présente (optionnelle)
1138 text_rmagick_available: Bibliothèque RMagick présente (optionnelle)
1138 text_convert_available: Binaire convert de ImageMagick présent (optionel)
1139 text_convert_available: Binaire convert de ImageMagick présent (optionel)
1139 text_destroy_time_entries_question: "%{hours} heures ont été enregistrées sur les demandes à supprimer. Que voulez-vous faire ?"
1140 text_destroy_time_entries_question: "%{hours} heures ont été enregistrées sur les demandes à supprimer. Que voulez-vous faire ?"
1140 text_destroy_time_entries: Supprimer les heures
1141 text_destroy_time_entries: Supprimer les heures
1141 text_assign_time_entries_to_project: Reporter les heures sur le projet
1142 text_assign_time_entries_to_project: Reporter les heures sur le projet
1142 text_reassign_time_entries: 'Reporter les heures sur cette demande:'
1143 text_reassign_time_entries: 'Reporter les heures sur cette demande:'
1143 text_user_wrote: "%{value} a écrit :"
1144 text_user_wrote: "%{value} a écrit :"
1144 text_enumeration_destroy_question: "La valeur « %{name} » est affectée à %{count} objet(s)."
1145 text_enumeration_destroy_question: "La valeur « %{name} » est affectée à %{count} objet(s)."
1145 text_enumeration_category_reassign_to: 'Réaffecter les objets à cette valeur:'
1146 text_enumeration_category_reassign_to: 'Réaffecter les objets à cette valeur:'
1146 text_email_delivery_not_configured: "L'envoi de mail n'est pas configuré, les notifications sont désactivées.\nConfigurez votre serveur SMTP dans config/configuration.yml et redémarrez l'application pour les activer."
1147 text_email_delivery_not_configured: "L'envoi de mail n'est pas configuré, les notifications sont désactivées.\nConfigurez votre serveur SMTP dans config/configuration.yml et redémarrez l'application pour les activer."
1147 text_repository_usernames_mapping: "Vous pouvez sélectionner ou modifier l'utilisateur Redmine associé à chaque nom d'utilisateur figurant dans l'historique du dépôt.\nLes utilisateurs avec le même identifiant ou la même adresse mail seront automatiquement associés."
1148 text_repository_usernames_mapping: "Vous pouvez sélectionner ou modifier l'utilisateur Redmine associé à chaque nom d'utilisateur figurant dans l'historique du dépôt.\nLes utilisateurs avec le même identifiant ou la même adresse mail seront automatiquement associés."
1148 text_diff_truncated: '... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.'
1149 text_diff_truncated: '... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.'
1149 text_custom_field_possible_values_info: 'Une ligne par valeur'
1150 text_custom_field_possible_values_info: 'Une ligne par valeur'
1150 text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?"
1151 text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?"
1151 text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines"
1152 text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines"
1152 text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes"
1153 text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes"
1153 text_wiki_page_reassign_children: "Réaffecter les sous-pages à cette page"
1154 text_wiki_page_reassign_children: "Réaffecter les sous-pages à cette page"
1154 text_own_membership_delete_confirmation: "Vous allez supprimer tout ou partie de vos permissions sur ce projet et ne serez peut-être plus autorisé à modifier ce projet.\nEtes-vous sûr de vouloir continuer ?"
1155 text_own_membership_delete_confirmation: "Vous allez supprimer tout ou partie de vos permissions sur ce projet et ne serez peut-être plus autorisé à modifier ce projet.\nEtes-vous sûr de vouloir continuer ?"
1155 text_zoom_in: Zoom avant
1156 text_zoom_in: Zoom avant
1156 text_zoom_out: Zoom arrière
1157 text_zoom_out: Zoom arrière
1157 text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardé qui sera perdu si vous quittez la page."
1158 text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardé qui sera perdu si vous quittez la page."
1158 text_scm_path_encoding_note: "Défaut : UTF-8"
1159 text_scm_path_encoding_note: "Défaut : UTF-8"
1159 text_subversion_repository_note: "Exemples (en fonction des protocoles supportés) : file:///, http://, https://, svn://, svn+[tunnelscheme]://"
1160 text_subversion_repository_note: "Exemples (en fonction des protocoles supportés) : file:///, http://, https://, svn://, svn+[tunnelscheme]://"
1160 text_git_repository_note: "Chemin vers un dépôt vide et local (exemples : /gitrepo, c:\\gitrepo)"
1161 text_git_repository_note: "Chemin vers un dépôt vide et local (exemples : /gitrepo, c:\\gitrepo)"
1161 text_mercurial_repository_note: "Chemin vers un dépôt local (exemples : /hgrepo, c:\\hgrepo)"
1162 text_mercurial_repository_note: "Chemin vers un dépôt local (exemples : /hgrepo, c:\\hgrepo)"
1162 text_scm_command: Commande
1163 text_scm_command: Commande
1163 text_scm_command_version: Version
1164 text_scm_command_version: Version
1164 text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification.
1165 text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification.
1165 text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration.
1166 text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration.
1166 text_issue_conflict_resolution_overwrite: "Appliquer quand même ma mise à jour (les notes précédentes seront conservées mais des changements pourront être écrasés)"
1167 text_issue_conflict_resolution_overwrite: "Appliquer quand même ma mise à jour (les notes précédentes seront conservées mais des changements pourront être écrasés)"
1167 text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements"
1168 text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements"
1168 text_issue_conflict_resolution_cancel: "Annuler ma mise à jour et réafficher %{link}"
1169 text_issue_conflict_resolution_cancel: "Annuler ma mise à jour et réafficher %{link}"
1169 text_account_destroy_confirmation: "Êtes-vous sûr de vouloir continuer ?\nVotre compte sera définitivement supprimé, sans aucune possibilité de le réactiver."
1170 text_account_destroy_confirmation: "Êtes-vous sûr de vouloir continuer ?\nVotre compte sera définitivement supprimé, sans aucune possibilité de le réactiver."
1170 text_session_expiration_settings: "Attention : le changement de ces paramètres peut entrainer l'expiration des sessions utilisateurs en cours, y compris la vôtre."
1171 text_session_expiration_settings: "Attention : le changement de ces paramètres peut entrainer l'expiration des sessions utilisateurs en cours, y compris la vôtre."
1171 text_project_closed: Ce projet est fermé et accessible en lecture seule.
1172 text_project_closed: Ce projet est fermé et accessible en lecture seule.
1172 text_turning_multiple_off: "Si vous désactivez les valeurs multiples, les valeurs multiples seront supprimées pour n'en conserver qu'une par objet."
1173 text_turning_multiple_off: "Si vous désactivez les valeurs multiples, les valeurs multiples seront supprimées pour n'en conserver qu'une par objet."
1173
1174
1174 default_role_manager: Manager
1175 default_role_manager: Manager
1175 default_role_developer: Développeur
1176 default_role_developer: Développeur
1176 default_role_reporter: Rapporteur
1177 default_role_reporter: Rapporteur
1177 default_tracker_bug: Anomalie
1178 default_tracker_bug: Anomalie
1178 default_tracker_feature: Evolution
1179 default_tracker_feature: Evolution
1179 default_tracker_support: Assistance
1180 default_tracker_support: Assistance
1180 default_issue_status_new: Nouveau
1181 default_issue_status_new: Nouveau
1181 default_issue_status_in_progress: En cours
1182 default_issue_status_in_progress: En cours
1182 default_issue_status_resolved: Résolu
1183 default_issue_status_resolved: Résolu
1183 default_issue_status_feedback: Commentaire
1184 default_issue_status_feedback: Commentaire
1184 default_issue_status_closed: Fermé
1185 default_issue_status_closed: Fermé
1185 default_issue_status_rejected: Rejeté
1186 default_issue_status_rejected: Rejeté
1186 default_doc_category_user: Documentation utilisateur
1187 default_doc_category_user: Documentation utilisateur
1187 default_doc_category_tech: Documentation technique
1188 default_doc_category_tech: Documentation technique
1188 default_priority_low: Bas
1189 default_priority_low: Bas
1189 default_priority_normal: Normal
1190 default_priority_normal: Normal
1190 default_priority_high: Haut
1191 default_priority_high: Haut
1191 default_priority_urgent: Urgent
1192 default_priority_urgent: Urgent
1192 default_priority_immediate: Immédiat
1193 default_priority_immediate: Immédiat
1193 default_activity_design: Conception
1194 default_activity_design: Conception
1194 default_activity_development: Développement
1195 default_activity_development: Développement
1195
1196
1196 enumeration_issue_priorities: Priorités des demandes
1197 enumeration_issue_priorities: Priorités des demandes
1197 enumeration_doc_categories: Catégories des documents
1198 enumeration_doc_categories: Catégories des documents
1198 enumeration_activities: Activités (suivi du temps)
1199 enumeration_activities: Activités (suivi du temps)
1199 enumeration_system_activity: Activité système
1200 enumeration_system_activity: Activité système
1200 description_filter: Filtre
1201 description_filter: Filtre
1201 description_search: Champ de recherche
1202 description_search: Champ de recherche
1202 description_choose_project: Projets
1203 description_choose_project: Projets
1203 description_project_scope: Périmètre de recherche
1204 description_project_scope: Périmètre de recherche
1204 description_notes: Notes
1205 description_notes: Notes
1205 description_message_content: Contenu du message
1206 description_message_content: Contenu du message
1206 description_query_sort_criteria_attribute: Critère de tri
1207 description_query_sort_criteria_attribute: Critère de tri
1207 description_query_sort_criteria_direction: Ordre de tri
1208 description_query_sort_criteria_direction: Ordre de tri
1208 description_user_mail_notification: Option de notification
1209 description_user_mail_notification: Option de notification
1209 description_available_columns: Colonnes disponibles
1210 description_available_columns: Colonnes disponibles
1210 description_selected_columns: Colonnes sélectionnées
1211 description_selected_columns: Colonnes sélectionnées
1211 description_all_columns: Toutes les colonnes
1212 description_all_columns: Toutes les colonnes
1212 description_issue_category_reassign: Choisir une catégorie
1213 description_issue_category_reassign: Choisir une catégorie
1213 description_wiki_subpages_reassign: Choisir une nouvelle page parent
1214 description_wiki_subpages_reassign: Choisir une nouvelle page parent
1214 description_date_range_list: Choisir une période prédéfinie
1215 description_date_range_list: Choisir une période prédéfinie
1215 description_date_range_interval: Choisir une période
1216 description_date_range_interval: Choisir une période
1216 description_date_from: Date de début
1217 description_date_from: Date de début
1217 description_date_to: Date de fin
1218 description_date_to: Date de fin
1218 text_repository_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisés.<br />Un fois sauvegardé, l''identifiant ne pourra plus être modifié.'
1219 text_repository_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisés.<br />Un fois sauvegardé, l''identifiant ne pourra plus être modifié.'
1219 label_parent_task_attributes_derived: Calculé à partir des sous-tâches
1220 label_parent_task_attributes_derived: Calculé à partir des sous-tâches
1220 label_parent_task_attributes_independent: Indépendent des sous-tâches
1221 label_parent_task_attributes_independent: Indépendent des sous-tâches
1221 mail_subject_security_notification: Notification de sécurité
1222 mail_subject_security_notification: Notification de sécurité
1222 mail_body_security_notification_change: ! '%{field} modifié(e).'
1223 mail_body_security_notification_change: ! '%{field} modifié(e).'
1223 mail_body_security_notification_change_to: ! '%{field} changé(e) en %{value}.'
1224 mail_body_security_notification_change_to: ! '%{field} changé(e) en %{value}.'
1224 mail_body_security_notification_add: ! '%{field} %{value} ajouté(e).'
1225 mail_body_security_notification_add: ! '%{field} %{value} ajouté(e).'
1225 mail_body_security_notification_remove: ! '%{field} %{value} supprimé(e).'
1226 mail_body_security_notification_remove: ! '%{field} %{value} supprimé(e).'
1226 mail_body_security_notification_notify_enabled: Les notifications ont été activées pour l'adresse %{value}
1227 mail_body_security_notification_notify_enabled: Les notifications ont été activées pour l'adresse %{value}
1227 mail_body_security_notification_notify_disabled: Les notifications ont été désactivées pour l'adresse %{value}
1228 mail_body_security_notification_notify_disabled: Les notifications ont été désactivées pour l'adresse %{value}
1228 field_remote_ip: Adresse IP
1229 field_remote_ip: Adresse IP
1229 label_no_preview: No preview available
1230 label_no_preview: No preview available
1230 label_user_mail_option_only_assigned: Only for things I watch or I am assigned to
1231 label_user_mail_option_only_assigned: Only for things I watch or I am assigned to
1231 label_user_mail_option_only_owner: Only for things I watch or I am the owner of
1232 label_user_mail_option_only_owner: Only for things I watch or I am the owner of
@@ -1,988 +1,988
1 # Redmine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2016 Jean-Philippe Lang
2 # Copyright (C) 2006-2016 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 require 'uri'
18 require 'uri'
19
19
20 module Redmine
20 module Redmine
21 module FieldFormat
21 module FieldFormat
22 def self.add(name, klass)
22 def self.add(name, klass)
23 all[name.to_s] = klass.instance
23 all[name.to_s] = klass.instance
24 end
24 end
25
25
26 def self.delete(name)
26 def self.delete(name)
27 all.delete(name.to_s)
27 all.delete(name.to_s)
28 end
28 end
29
29
30 def self.all
30 def self.all
31 @formats ||= Hash.new(Base.instance)
31 @formats ||= Hash.new(Base.instance)
32 end
32 end
33
33
34 def self.available_formats
34 def self.available_formats
35 all.keys
35 all.keys
36 end
36 end
37
37
38 def self.find(name)
38 def self.find(name)
39 all[name.to_s]
39 all[name.to_s]
40 end
40 end
41
41
42 # Return an array of custom field formats which can be used in select_tag
42 # Return an array of custom field formats which can be used in select_tag
43 def self.as_select(class_name=nil)
43 def self.as_select(class_name=nil)
44 formats = all.values.select do |format|
44 formats = all.values.select do |format|
45 format.class.customized_class_names.nil? || format.class.customized_class_names.include?(class_name)
45 format.class.customized_class_names.nil? || format.class.customized_class_names.include?(class_name)
46 end
46 end
47 formats.map {|format| [::I18n.t(format.label), format.name] }.sort_by(&:first)
47 formats.map {|format| [::I18n.t(format.label), format.name] }.sort_by(&:first)
48 end
48 end
49
49
50 # Returns an array of formats that can be used for a custom field class
50 # Returns an array of formats that can be used for a custom field class
51 def self.formats_for_custom_field_class(klass=nil)
51 def self.formats_for_custom_field_class(klass=nil)
52 all.values.select do |format|
52 all.values.select do |format|
53 format.class.customized_class_names.nil? || format.class.customized_class_names.include?(klass.name)
53 format.class.customized_class_names.nil? || format.class.customized_class_names.include?(klass.name)
54 end
54 end
55 end
55 end
56
56
57 class Base
57 class Base
58 include Singleton
58 include Singleton
59 include Redmine::I18n
59 include Redmine::I18n
60 include Redmine::Helpers::URL
60 include Redmine::Helpers::URL
61 include ERB::Util
61 include ERB::Util
62
62
63 class_attribute :format_name
63 class_attribute :format_name
64 self.format_name = nil
64 self.format_name = nil
65
65
66 # Set this to true if the format supports multiple values
66 # Set this to true if the format supports multiple values
67 class_attribute :multiple_supported
67 class_attribute :multiple_supported
68 self.multiple_supported = false
68 self.multiple_supported = false
69
69
70 # Set this to true if the format supports filtering on custom values
70 # Set this to true if the format supports filtering on custom values
71 class_attribute :is_filter_supported
71 class_attribute :is_filter_supported
72 self.is_filter_supported = true
72 self.is_filter_supported = true
73
73
74 # Set this to true if the format supports textual search on custom values
74 # Set this to true if the format supports textual search on custom values
75 class_attribute :searchable_supported
75 class_attribute :searchable_supported
76 self.searchable_supported = false
76 self.searchable_supported = false
77
77
78 # Set this to true if field values can be summed up
78 # Set this to true if field values can be summed up
79 class_attribute :totalable_supported
79 class_attribute :totalable_supported
80 self.totalable_supported = false
80 self.totalable_supported = false
81
81
82 # Set this to false if field cannot be bulk edited
82 # Set this to false if field cannot be bulk edited
83 class_attribute :bulk_edit_supported
83 class_attribute :bulk_edit_supported
84 self.bulk_edit_supported = true
84 self.bulk_edit_supported = true
85
85
86 # Restricts the classes that the custom field can be added to
86 # Restricts the classes that the custom field can be added to
87 # Set to nil for no restrictions
87 # Set to nil for no restrictions
88 class_attribute :customized_class_names
88 class_attribute :customized_class_names
89 self.customized_class_names = nil
89 self.customized_class_names = nil
90
90
91 # Name of the partial for editing the custom field
91 # Name of the partial for editing the custom field
92 class_attribute :form_partial
92 class_attribute :form_partial
93 self.form_partial = nil
93 self.form_partial = nil
94
94
95 class_attribute :change_as_diff
95 class_attribute :change_as_diff
96 self.change_as_diff = false
96 self.change_as_diff = false
97
97
98 class_attribute :change_no_details
98 class_attribute :change_no_details
99 self.change_no_details = false
99 self.change_no_details = false
100
100
101 def self.add(name)
101 def self.add(name)
102 self.format_name = name
102 self.format_name = name
103 Redmine::FieldFormat.add(name, self)
103 Redmine::FieldFormat.add(name, self)
104 end
104 end
105 private_class_method :add
105 private_class_method :add
106
106
107 def self.field_attributes(*args)
107 def self.field_attributes(*args)
108 CustomField.store_accessor :format_store, *args
108 CustomField.store_accessor :format_store, *args
109 end
109 end
110
110
111 field_attributes :url_pattern
111 field_attributes :url_pattern, :full_width_layout
112
112
113 def name
113 def name
114 self.class.format_name
114 self.class.format_name
115 end
115 end
116
116
117 def label
117 def label
118 "label_#{name}"
118 "label_#{name}"
119 end
119 end
120
120
121 def set_custom_field_value(custom_field, custom_field_value, value)
121 def set_custom_field_value(custom_field, custom_field_value, value)
122 if value.is_a?(Array)
122 if value.is_a?(Array)
123 value = value.map(&:to_s).reject{|v| v==''}.uniq
123 value = value.map(&:to_s).reject{|v| v==''}.uniq
124 if value.empty?
124 if value.empty?
125 value << ''
125 value << ''
126 end
126 end
127 else
127 else
128 value = value.to_s
128 value = value.to_s
129 end
129 end
130
130
131 value
131 value
132 end
132 end
133
133
134 def cast_custom_value(custom_value)
134 def cast_custom_value(custom_value)
135 cast_value(custom_value.custom_field, custom_value.value, custom_value.customized)
135 cast_value(custom_value.custom_field, custom_value.value, custom_value.customized)
136 end
136 end
137
137
138 def cast_value(custom_field, value, customized=nil)
138 def cast_value(custom_field, value, customized=nil)
139 if value.blank?
139 if value.blank?
140 nil
140 nil
141 elsif value.is_a?(Array)
141 elsif value.is_a?(Array)
142 casted = value.map do |v|
142 casted = value.map do |v|
143 cast_single_value(custom_field, v, customized)
143 cast_single_value(custom_field, v, customized)
144 end
144 end
145 casted.compact.sort
145 casted.compact.sort
146 else
146 else
147 cast_single_value(custom_field, value, customized)
147 cast_single_value(custom_field, value, customized)
148 end
148 end
149 end
149 end
150
150
151 def cast_single_value(custom_field, value, customized=nil)
151 def cast_single_value(custom_field, value, customized=nil)
152 value.to_s
152 value.to_s
153 end
153 end
154
154
155 def target_class
155 def target_class
156 nil
156 nil
157 end
157 end
158
158
159 def possible_custom_value_options(custom_value)
159 def possible_custom_value_options(custom_value)
160 possible_values_options(custom_value.custom_field, custom_value.customized)
160 possible_values_options(custom_value.custom_field, custom_value.customized)
161 end
161 end
162
162
163 def possible_values_options(custom_field, object=nil)
163 def possible_values_options(custom_field, object=nil)
164 []
164 []
165 end
165 end
166
166
167 def value_from_keyword(custom_field, keyword, object)
167 def value_from_keyword(custom_field, keyword, object)
168 possible_values_options = possible_values_options(custom_field, object)
168 possible_values_options = possible_values_options(custom_field, object)
169 if possible_values_options.present?
169 if possible_values_options.present?
170 keyword = keyword.to_s
170 keyword = keyword.to_s
171 if v = possible_values_options.detect {|text, id| keyword.casecmp(text) == 0}
171 if v = possible_values_options.detect {|text, id| keyword.casecmp(text) == 0}
172 if v.is_a?(Array)
172 if v.is_a?(Array)
173 v.last
173 v.last
174 else
174 else
175 v
175 v
176 end
176 end
177 end
177 end
178 else
178 else
179 keyword
179 keyword
180 end
180 end
181 end
181 end
182
182
183 # Returns the validation errors for custom_field
183 # Returns the validation errors for custom_field
184 # Should return an empty array if custom_field is valid
184 # Should return an empty array if custom_field is valid
185 def validate_custom_field(custom_field)
185 def validate_custom_field(custom_field)
186 errors = []
186 errors = []
187 pattern = custom_field.url_pattern
187 pattern = custom_field.url_pattern
188 if pattern.present? && !uri_with_safe_scheme?(url_pattern_without_tokens(pattern))
188 if pattern.present? && !uri_with_safe_scheme?(url_pattern_without_tokens(pattern))
189 errors << [:url_pattern, :invalid]
189 errors << [:url_pattern, :invalid]
190 end
190 end
191 errors
191 errors
192 end
192 end
193
193
194 # Returns the validation error messages for custom_value
194 # Returns the validation error messages for custom_value
195 # Should return an empty array if custom_value is valid
195 # Should return an empty array if custom_value is valid
196 # custom_value is a CustomFieldValue.
196 # custom_value is a CustomFieldValue.
197 def validate_custom_value(custom_value)
197 def validate_custom_value(custom_value)
198 values = Array.wrap(custom_value.value).reject {|value| value.to_s == ''}
198 values = Array.wrap(custom_value.value).reject {|value| value.to_s == ''}
199 errors = values.map do |value|
199 errors = values.map do |value|
200 validate_single_value(custom_value.custom_field, value, custom_value.customized)
200 validate_single_value(custom_value.custom_field, value, custom_value.customized)
201 end
201 end
202 errors.flatten.uniq
202 errors.flatten.uniq
203 end
203 end
204
204
205 def validate_single_value(custom_field, value, customized=nil)
205 def validate_single_value(custom_field, value, customized=nil)
206 []
206 []
207 end
207 end
208
208
209 # CustomValue after_save callback
209 # CustomValue after_save callback
210 def after_save_custom_value(custom_field, custom_value)
210 def after_save_custom_value(custom_field, custom_value)
211 end
211 end
212
212
213 def formatted_custom_value(view, custom_value, html=false)
213 def formatted_custom_value(view, custom_value, html=false)
214 formatted_value(view, custom_value.custom_field, custom_value.value, custom_value.customized, html)
214 formatted_value(view, custom_value.custom_field, custom_value.value, custom_value.customized, html)
215 end
215 end
216
216
217 def formatted_value(view, custom_field, value, customized=nil, html=false)
217 def formatted_value(view, custom_field, value, customized=nil, html=false)
218 casted = cast_value(custom_field, value, customized)
218 casted = cast_value(custom_field, value, customized)
219 if html && custom_field.url_pattern.present?
219 if html && custom_field.url_pattern.present?
220 texts_and_urls = Array.wrap(casted).map do |single_value|
220 texts_and_urls = Array.wrap(casted).map do |single_value|
221 text = view.format_object(single_value, false).to_s
221 text = view.format_object(single_value, false).to_s
222 url = url_from_pattern(custom_field, single_value, customized)
222 url = url_from_pattern(custom_field, single_value, customized)
223 [text, url]
223 [text, url]
224 end
224 end
225 links = texts_and_urls.sort_by(&:first).map {|text, url| view.link_to_if uri_with_safe_scheme?(url), text, url}
225 links = texts_and_urls.sort_by(&:first).map {|text, url| view.link_to_if uri_with_safe_scheme?(url), text, url}
226 links.join(', ').html_safe
226 links.join(', ').html_safe
227 else
227 else
228 casted
228 casted
229 end
229 end
230 end
230 end
231
231
232 # Returns an URL generated with the custom field URL pattern
232 # Returns an URL generated with the custom field URL pattern
233 # and variables substitution:
233 # and variables substitution:
234 # %value% => the custom field value
234 # %value% => the custom field value
235 # %id% => id of the customized object
235 # %id% => id of the customized object
236 # %project_id% => id of the project of the customized object if defined
236 # %project_id% => id of the project of the customized object if defined
237 # %project_identifier% => identifier of the project of the customized object if defined
237 # %project_identifier% => identifier of the project of the customized object if defined
238 # %m1%, %m2%... => capture groups matches of the custom field regexp if defined
238 # %m1%, %m2%... => capture groups matches of the custom field regexp if defined
239 def url_from_pattern(custom_field, value, customized)
239 def url_from_pattern(custom_field, value, customized)
240 url = custom_field.url_pattern.to_s.dup
240 url = custom_field.url_pattern.to_s.dup
241 url.gsub!('%value%') {URI.encode value.to_s}
241 url.gsub!('%value%') {URI.encode value.to_s}
242 url.gsub!('%id%') {URI.encode customized.id.to_s}
242 url.gsub!('%id%') {URI.encode customized.id.to_s}
243 url.gsub!('%project_id%') {URI.encode (customized.respond_to?(:project) ? customized.project.try(:id) : nil).to_s}
243 url.gsub!('%project_id%') {URI.encode (customized.respond_to?(:project) ? customized.project.try(:id) : nil).to_s}
244 url.gsub!('%project_identifier%') {URI.encode (customized.respond_to?(:project) ? customized.project.try(:identifier) : nil).to_s}
244 url.gsub!('%project_identifier%') {URI.encode (customized.respond_to?(:project) ? customized.project.try(:identifier) : nil).to_s}
245 if custom_field.regexp.present?
245 if custom_field.regexp.present?
246 url.gsub!(%r{%m(\d+)%}) do
246 url.gsub!(%r{%m(\d+)%}) do
247 m = $1.to_i
247 m = $1.to_i
248 if matches ||= value.to_s.match(Regexp.new(custom_field.regexp))
248 if matches ||= value.to_s.match(Regexp.new(custom_field.regexp))
249 URI.encode matches[m].to_s
249 URI.encode matches[m].to_s
250 end
250 end
251 end
251 end
252 end
252 end
253 url
253 url
254 end
254 end
255 protected :url_from_pattern
255 protected :url_from_pattern
256
256
257 # Returns the URL pattern with substitution tokens removed,
257 # Returns the URL pattern with substitution tokens removed,
258 # for validation purpose
258 # for validation purpose
259 def url_pattern_without_tokens(url_pattern)
259 def url_pattern_without_tokens(url_pattern)
260 url_pattern.to_s.gsub(/%(value|id|project_id|project_identifier|m\d+)%/, '')
260 url_pattern.to_s.gsub(/%(value|id|project_id|project_identifier|m\d+)%/, '')
261 end
261 end
262 protected :url_pattern_without_tokens
262 protected :url_pattern_without_tokens
263
263
264 def edit_tag(view, tag_id, tag_name, custom_value, options={})
264 def edit_tag(view, tag_id, tag_name, custom_value, options={})
265 view.text_field_tag(tag_name, custom_value.value, options.merge(:id => tag_id))
265 view.text_field_tag(tag_name, custom_value.value, options.merge(:id => tag_id))
266 end
266 end
267
267
268 def bulk_edit_tag(view, tag_id, tag_name, custom_field, objects, value, options={})
268 def bulk_edit_tag(view, tag_id, tag_name, custom_field, objects, value, options={})
269 view.text_field_tag(tag_name, value, options.merge(:id => tag_id)) +
269 view.text_field_tag(tag_name, value, options.merge(:id => tag_id)) +
270 bulk_clear_tag(view, tag_id, tag_name, custom_field, value)
270 bulk_clear_tag(view, tag_id, tag_name, custom_field, value)
271 end
271 end
272
272
273 def bulk_clear_tag(view, tag_id, tag_name, custom_field, value)
273 def bulk_clear_tag(view, tag_id, tag_name, custom_field, value)
274 if custom_field.is_required?
274 if custom_field.is_required?
275 ''.html_safe
275 ''.html_safe
276 else
276 else
277 view.content_tag('label',
277 view.content_tag('label',
278 view.check_box_tag(tag_name, '__none__', (value == '__none__'), :id => nil, :data => {:disables => "##{tag_id}"}) + l(:button_clear),
278 view.check_box_tag(tag_name, '__none__', (value == '__none__'), :id => nil, :data => {:disables => "##{tag_id}"}) + l(:button_clear),
279 :class => 'inline'
279 :class => 'inline'
280 )
280 )
281 end
281 end
282 end
282 end
283 protected :bulk_clear_tag
283 protected :bulk_clear_tag
284
284
285 def query_filter_options(custom_field, query)
285 def query_filter_options(custom_field, query)
286 {:type => :string}
286 {:type => :string}
287 end
287 end
288
288
289 def before_custom_field_save(custom_field)
289 def before_custom_field_save(custom_field)
290 end
290 end
291
291
292 # Returns a ORDER BY clause that can used to sort customized
292 # Returns a ORDER BY clause that can used to sort customized
293 # objects by their value of the custom field.
293 # objects by their value of the custom field.
294 # Returns nil if the custom field can not be used for sorting.
294 # Returns nil if the custom field can not be used for sorting.
295 def order_statement(custom_field)
295 def order_statement(custom_field)
296 # COALESCE is here to make sure that blank and NULL values are sorted equally
296 # COALESCE is here to make sure that blank and NULL values are sorted equally
297 "COALESCE(#{join_alias custom_field}.value, '')"
297 "COALESCE(#{join_alias custom_field}.value, '')"
298 end
298 end
299
299
300 # Returns a GROUP BY clause that can used to group by custom value
300 # Returns a GROUP BY clause that can used to group by custom value
301 # Returns nil if the custom field can not be used for grouping.
301 # Returns nil if the custom field can not be used for grouping.
302 def group_statement(custom_field)
302 def group_statement(custom_field)
303 nil
303 nil
304 end
304 end
305
305
306 # Returns a JOIN clause that is added to the query when sorting by custom values
306 # Returns a JOIN clause that is added to the query when sorting by custom values
307 def join_for_order_statement(custom_field)
307 def join_for_order_statement(custom_field)
308 alias_name = join_alias(custom_field)
308 alias_name = join_alias(custom_field)
309
309
310 "LEFT OUTER JOIN #{CustomValue.table_name} #{alias_name}" +
310 "LEFT OUTER JOIN #{CustomValue.table_name} #{alias_name}" +
311 " ON #{alias_name}.customized_type = '#{custom_field.class.customized_class.base_class.name}'" +
311 " ON #{alias_name}.customized_type = '#{custom_field.class.customized_class.base_class.name}'" +
312 " AND #{alias_name}.customized_id = #{custom_field.class.customized_class.table_name}.id" +
312 " AND #{alias_name}.customized_id = #{custom_field.class.customized_class.table_name}.id" +
313 " AND #{alias_name}.custom_field_id = #{custom_field.id}" +
313 " AND #{alias_name}.custom_field_id = #{custom_field.id}" +
314 " AND (#{custom_field.visibility_by_project_condition})" +
314 " AND (#{custom_field.visibility_by_project_condition})" +
315 " AND #{alias_name}.value <> ''" +
315 " AND #{alias_name}.value <> ''" +
316 " AND #{alias_name}.id = (SELECT max(#{alias_name}_2.id) FROM #{CustomValue.table_name} #{alias_name}_2" +
316 " AND #{alias_name}.id = (SELECT max(#{alias_name}_2.id) FROM #{CustomValue.table_name} #{alias_name}_2" +
317 " WHERE #{alias_name}_2.customized_type = #{alias_name}.customized_type" +
317 " WHERE #{alias_name}_2.customized_type = #{alias_name}.customized_type" +
318 " AND #{alias_name}_2.customized_id = #{alias_name}.customized_id" +
318 " AND #{alias_name}_2.customized_id = #{alias_name}.customized_id" +
319 " AND #{alias_name}_2.custom_field_id = #{alias_name}.custom_field_id)"
319 " AND #{alias_name}_2.custom_field_id = #{alias_name}.custom_field_id)"
320 end
320 end
321
321
322 def join_alias(custom_field)
322 def join_alias(custom_field)
323 "cf_#{custom_field.id}"
323 "cf_#{custom_field.id}"
324 end
324 end
325 protected :join_alias
325 protected :join_alias
326 end
326 end
327
327
328 class Unbounded < Base
328 class Unbounded < Base
329 def validate_single_value(custom_field, value, customized=nil)
329 def validate_single_value(custom_field, value, customized=nil)
330 errs = super
330 errs = super
331 value = value.to_s
331 value = value.to_s
332 unless custom_field.regexp.blank? or value =~ Regexp.new(custom_field.regexp)
332 unless custom_field.regexp.blank? or value =~ Regexp.new(custom_field.regexp)
333 errs << ::I18n.t('activerecord.errors.messages.invalid')
333 errs << ::I18n.t('activerecord.errors.messages.invalid')
334 end
334 end
335 if custom_field.min_length && value.length < custom_field.min_length
335 if custom_field.min_length && value.length < custom_field.min_length
336 errs << ::I18n.t('activerecord.errors.messages.too_short', :count => custom_field.min_length)
336 errs << ::I18n.t('activerecord.errors.messages.too_short', :count => custom_field.min_length)
337 end
337 end
338 if custom_field.max_length && custom_field.max_length > 0 && value.length > custom_field.max_length
338 if custom_field.max_length && custom_field.max_length > 0 && value.length > custom_field.max_length
339 errs << ::I18n.t('activerecord.errors.messages.too_long', :count => custom_field.max_length)
339 errs << ::I18n.t('activerecord.errors.messages.too_long', :count => custom_field.max_length)
340 end
340 end
341 errs
341 errs
342 end
342 end
343 end
343 end
344
344
345 class StringFormat < Unbounded
345 class StringFormat < Unbounded
346 add 'string'
346 add 'string'
347 self.searchable_supported = true
347 self.searchable_supported = true
348 self.form_partial = 'custom_fields/formats/string'
348 self.form_partial = 'custom_fields/formats/string'
349 field_attributes :text_formatting
349 field_attributes :text_formatting
350
350
351 def formatted_value(view, custom_field, value, customized=nil, html=false)
351 def formatted_value(view, custom_field, value, customized=nil, html=false)
352 if html
352 if html
353 if custom_field.url_pattern.present?
353 if custom_field.url_pattern.present?
354 super
354 super
355 elsif custom_field.text_formatting == 'full'
355 elsif custom_field.text_formatting == 'full'
356 view.textilizable(value, :object => customized)
356 view.textilizable(value, :object => customized)
357 else
357 else
358 value.to_s
358 value.to_s
359 end
359 end
360 else
360 else
361 value.to_s
361 value.to_s
362 end
362 end
363 end
363 end
364 end
364 end
365
365
366 class TextFormat < Unbounded
366 class TextFormat < Unbounded
367 add 'text'
367 add 'text'
368 self.searchable_supported = true
368 self.searchable_supported = true
369 self.form_partial = 'custom_fields/formats/text'
369 self.form_partial = 'custom_fields/formats/text'
370 self.change_as_diff = true
370 self.change_as_diff = true
371
371
372 def formatted_value(view, custom_field, value, customized=nil, html=false)
372 def formatted_value(view, custom_field, value, customized=nil, html=false)
373 if html
373 if html
374 if value.present?
374 if value.present?
375 if custom_field.text_formatting == 'full'
375 if custom_field.text_formatting == 'full'
376 view.textilizable(value, :object => customized)
376 view.textilizable(value, :object => customized)
377 else
377 else
378 view.simple_format(html_escape(value))
378 view.simple_format(html_escape(value))
379 end
379 end
380 else
380 else
381 ''
381 ''
382 end
382 end
383 else
383 else
384 value.to_s
384 value.to_s
385 end
385 end
386 end
386 end
387
387
388 def edit_tag(view, tag_id, tag_name, custom_value, options={})
388 def edit_tag(view, tag_id, tag_name, custom_value, options={})
389 view.text_area_tag(tag_name, custom_value.value, options.merge(:id => tag_id, :rows => 3))
389 view.text_area_tag(tag_name, custom_value.value, options.merge(:id => tag_id, :rows => 3))
390 end
390 end
391
391
392 def bulk_edit_tag(view, tag_id, tag_name, custom_field, objects, value, options={})
392 def bulk_edit_tag(view, tag_id, tag_name, custom_field, objects, value, options={})
393 view.text_area_tag(tag_name, value, options.merge(:id => tag_id, :rows => 3)) +
393 view.text_area_tag(tag_name, value, options.merge(:id => tag_id, :rows => 3)) +
394 '<br />'.html_safe +
394 '<br />'.html_safe +
395 bulk_clear_tag(view, tag_id, tag_name, custom_field, value)
395 bulk_clear_tag(view, tag_id, tag_name, custom_field, value)
396 end
396 end
397
397
398 def query_filter_options(custom_field, query)
398 def query_filter_options(custom_field, query)
399 {:type => :text}
399 {:type => :text}
400 end
400 end
401 end
401 end
402
402
403 class LinkFormat < StringFormat
403 class LinkFormat < StringFormat
404 add 'link'
404 add 'link'
405 self.searchable_supported = false
405 self.searchable_supported = false
406 self.form_partial = 'custom_fields/formats/link'
406 self.form_partial = 'custom_fields/formats/link'
407
407
408 def formatted_value(view, custom_field, value, customized=nil, html=false)
408 def formatted_value(view, custom_field, value, customized=nil, html=false)
409 if html && value.present?
409 if html && value.present?
410 if custom_field.url_pattern.present?
410 if custom_field.url_pattern.present?
411 url = url_from_pattern(custom_field, value, customized)
411 url = url_from_pattern(custom_field, value, customized)
412 else
412 else
413 url = value.to_s
413 url = value.to_s
414 unless url =~ %r{\A[a-z]+://}i
414 unless url =~ %r{\A[a-z]+://}i
415 # no protocol found, use http by default
415 # no protocol found, use http by default
416 url = "http://" + url
416 url = "http://" + url
417 end
417 end
418 end
418 end
419 view.link_to value.to_s.truncate(40), url
419 view.link_to value.to_s.truncate(40), url
420 else
420 else
421 value.to_s
421 value.to_s
422 end
422 end
423 end
423 end
424 end
424 end
425
425
426 class Numeric < Unbounded
426 class Numeric < Unbounded
427 self.form_partial = 'custom_fields/formats/numeric'
427 self.form_partial = 'custom_fields/formats/numeric'
428 self.totalable_supported = true
428 self.totalable_supported = true
429
429
430 def order_statement(custom_field)
430 def order_statement(custom_field)
431 # Make the database cast values into numeric
431 # Make the database cast values into numeric
432 # Postgresql will raise an error if a value can not be casted!
432 # Postgresql will raise an error if a value can not be casted!
433 # CustomValue validations should ensure that it doesn't occur
433 # CustomValue validations should ensure that it doesn't occur
434 "CAST(CASE #{join_alias custom_field}.value WHEN '' THEN '0' ELSE #{join_alias custom_field}.value END AS decimal(30,3))"
434 "CAST(CASE #{join_alias custom_field}.value WHEN '' THEN '0' ELSE #{join_alias custom_field}.value END AS decimal(30,3))"
435 end
435 end
436
436
437 # Returns totals for the given scope
437 # Returns totals for the given scope
438 def total_for_scope(custom_field, scope)
438 def total_for_scope(custom_field, scope)
439 scope.joins(:custom_values).
439 scope.joins(:custom_values).
440 where(:custom_values => {:custom_field_id => custom_field.id}).
440 where(:custom_values => {:custom_field_id => custom_field.id}).
441 where.not(:custom_values => {:value => ''}).
441 where.not(:custom_values => {:value => ''}).
442 sum("CAST(#{CustomValue.table_name}.value AS decimal(30,3))")
442 sum("CAST(#{CustomValue.table_name}.value AS decimal(30,3))")
443 end
443 end
444
444
445 def cast_total_value(custom_field, value)
445 def cast_total_value(custom_field, value)
446 cast_single_value(custom_field, value)
446 cast_single_value(custom_field, value)
447 end
447 end
448 end
448 end
449
449
450 class IntFormat < Numeric
450 class IntFormat < Numeric
451 add 'int'
451 add 'int'
452
452
453 def label
453 def label
454 "label_integer"
454 "label_integer"
455 end
455 end
456
456
457 def cast_single_value(custom_field, value, customized=nil)
457 def cast_single_value(custom_field, value, customized=nil)
458 value.to_i
458 value.to_i
459 end
459 end
460
460
461 def validate_single_value(custom_field, value, customized=nil)
461 def validate_single_value(custom_field, value, customized=nil)
462 errs = super
462 errs = super
463 errs << ::I18n.t('activerecord.errors.messages.not_a_number') unless value.to_s =~ /^[+-]?\d+$/
463 errs << ::I18n.t('activerecord.errors.messages.not_a_number') unless value.to_s =~ /^[+-]?\d+$/
464 errs
464 errs
465 end
465 end
466
466
467 def query_filter_options(custom_field, query)
467 def query_filter_options(custom_field, query)
468 {:type => :integer}
468 {:type => :integer}
469 end
469 end
470
470
471 def group_statement(custom_field)
471 def group_statement(custom_field)
472 order_statement(custom_field)
472 order_statement(custom_field)
473 end
473 end
474 end
474 end
475
475
476 class FloatFormat < Numeric
476 class FloatFormat < Numeric
477 add 'float'
477 add 'float'
478
478
479 def cast_single_value(custom_field, value, customized=nil)
479 def cast_single_value(custom_field, value, customized=nil)
480 value.to_f
480 value.to_f
481 end
481 end
482
482
483 def cast_total_value(custom_field, value)
483 def cast_total_value(custom_field, value)
484 value.to_f.round(2)
484 value.to_f.round(2)
485 end
485 end
486
486
487 def validate_single_value(custom_field, value, customized=nil)
487 def validate_single_value(custom_field, value, customized=nil)
488 errs = super
488 errs = super
489 errs << ::I18n.t('activerecord.errors.messages.invalid') unless (Kernel.Float(value) rescue nil)
489 errs << ::I18n.t('activerecord.errors.messages.invalid') unless (Kernel.Float(value) rescue nil)
490 errs
490 errs
491 end
491 end
492
492
493 def query_filter_options(custom_field, query)
493 def query_filter_options(custom_field, query)
494 {:type => :float}
494 {:type => :float}
495 end
495 end
496 end
496 end
497
497
498 class DateFormat < Unbounded
498 class DateFormat < Unbounded
499 add 'date'
499 add 'date'
500 self.form_partial = 'custom_fields/formats/date'
500 self.form_partial = 'custom_fields/formats/date'
501
501
502 def cast_single_value(custom_field, value, customized=nil)
502 def cast_single_value(custom_field, value, customized=nil)
503 value.to_date rescue nil
503 value.to_date rescue nil
504 end
504 end
505
505
506 def validate_single_value(custom_field, value, customized=nil)
506 def validate_single_value(custom_field, value, customized=nil)
507 if value =~ /^\d{4}-\d{2}-\d{2}$/ && (value.to_date rescue false)
507 if value =~ /^\d{4}-\d{2}-\d{2}$/ && (value.to_date rescue false)
508 []
508 []
509 else
509 else
510 [::I18n.t('activerecord.errors.messages.not_a_date')]
510 [::I18n.t('activerecord.errors.messages.not_a_date')]
511 end
511 end
512 end
512 end
513
513
514 def edit_tag(view, tag_id, tag_name, custom_value, options={})
514 def edit_tag(view, tag_id, tag_name, custom_value, options={})
515 view.date_field_tag(tag_name, custom_value.value, options.merge(:id => tag_id, :size => 10)) +
515 view.date_field_tag(tag_name, custom_value.value, options.merge(:id => tag_id, :size => 10)) +
516 view.calendar_for(tag_id)
516 view.calendar_for(tag_id)
517 end
517 end
518
518
519 def bulk_edit_tag(view, tag_id, tag_name, custom_field, objects, value, options={})
519 def bulk_edit_tag(view, tag_id, tag_name, custom_field, objects, value, options={})
520 view.date_field_tag(tag_name, value, options.merge(:id => tag_id, :size => 10)) +
520 view.date_field_tag(tag_name, value, options.merge(:id => tag_id, :size => 10)) +
521 view.calendar_for(tag_id) +
521 view.calendar_for(tag_id) +
522 bulk_clear_tag(view, tag_id, tag_name, custom_field, value)
522 bulk_clear_tag(view, tag_id, tag_name, custom_field, value)
523 end
523 end
524
524
525 def query_filter_options(custom_field, query)
525 def query_filter_options(custom_field, query)
526 {:type => :date}
526 {:type => :date}
527 end
527 end
528
528
529 def group_statement(custom_field)
529 def group_statement(custom_field)
530 order_statement(custom_field)
530 order_statement(custom_field)
531 end
531 end
532 end
532 end
533
533
534 class List < Base
534 class List < Base
535 self.multiple_supported = true
535 self.multiple_supported = true
536 field_attributes :edit_tag_style
536 field_attributes :edit_tag_style
537
537
538 def edit_tag(view, tag_id, tag_name, custom_value, options={})
538 def edit_tag(view, tag_id, tag_name, custom_value, options={})
539 if custom_value.custom_field.edit_tag_style == 'check_box'
539 if custom_value.custom_field.edit_tag_style == 'check_box'
540 check_box_edit_tag(view, tag_id, tag_name, custom_value, options)
540 check_box_edit_tag(view, tag_id, tag_name, custom_value, options)
541 else
541 else
542 select_edit_tag(view, tag_id, tag_name, custom_value, options)
542 select_edit_tag(view, tag_id, tag_name, custom_value, options)
543 end
543 end
544 end
544 end
545
545
546 def bulk_edit_tag(view, tag_id, tag_name, custom_field, objects, value, options={})
546 def bulk_edit_tag(view, tag_id, tag_name, custom_field, objects, value, options={})
547 opts = []
547 opts = []
548 opts << [l(:label_no_change_option), ''] unless custom_field.multiple?
548 opts << [l(:label_no_change_option), ''] unless custom_field.multiple?
549 opts << [l(:label_none), '__none__'] unless custom_field.is_required?
549 opts << [l(:label_none), '__none__'] unless custom_field.is_required?
550 opts += possible_values_options(custom_field, objects)
550 opts += possible_values_options(custom_field, objects)
551 view.select_tag(tag_name, view.options_for_select(opts, value), options.merge(:multiple => custom_field.multiple?))
551 view.select_tag(tag_name, view.options_for_select(opts, value), options.merge(:multiple => custom_field.multiple?))
552 end
552 end
553
553
554 def query_filter_options(custom_field, query)
554 def query_filter_options(custom_field, query)
555 {:type => :list_optional, :values => lambda { query_filter_values(custom_field, query) }}
555 {:type => :list_optional, :values => lambda { query_filter_values(custom_field, query) }}
556 end
556 end
557
557
558 protected
558 protected
559
559
560 # Returns the values that are available in the field filter
560 # Returns the values that are available in the field filter
561 def query_filter_values(custom_field, query)
561 def query_filter_values(custom_field, query)
562 possible_values_options(custom_field, query.project)
562 possible_values_options(custom_field, query.project)
563 end
563 end
564
564
565 # Renders the edit tag as a select tag
565 # Renders the edit tag as a select tag
566 def select_edit_tag(view, tag_id, tag_name, custom_value, options={})
566 def select_edit_tag(view, tag_id, tag_name, custom_value, options={})
567 blank_option = ''.html_safe
567 blank_option = ''.html_safe
568 unless custom_value.custom_field.multiple?
568 unless custom_value.custom_field.multiple?
569 if custom_value.custom_field.is_required?
569 if custom_value.custom_field.is_required?
570 unless custom_value.custom_field.default_value.present?
570 unless custom_value.custom_field.default_value.present?
571 blank_option = view.content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---", :value => '')
571 blank_option = view.content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---", :value => '')
572 end
572 end
573 else
573 else
574 blank_option = view.content_tag('option', '&nbsp;'.html_safe, :value => '')
574 blank_option = view.content_tag('option', '&nbsp;'.html_safe, :value => '')
575 end
575 end
576 end
576 end
577 options_tags = blank_option + view.options_for_select(possible_custom_value_options(custom_value), custom_value.value)
577 options_tags = blank_option + view.options_for_select(possible_custom_value_options(custom_value), custom_value.value)
578 s = view.select_tag(tag_name, options_tags, options.merge(:id => tag_id, :multiple => custom_value.custom_field.multiple?))
578 s = view.select_tag(tag_name, options_tags, options.merge(:id => tag_id, :multiple => custom_value.custom_field.multiple?))
579 if custom_value.custom_field.multiple?
579 if custom_value.custom_field.multiple?
580 s << view.hidden_field_tag(tag_name, '')
580 s << view.hidden_field_tag(tag_name, '')
581 end
581 end
582 s
582 s
583 end
583 end
584
584
585 # Renders the edit tag as check box or radio tags
585 # Renders the edit tag as check box or radio tags
586 def check_box_edit_tag(view, tag_id, tag_name, custom_value, options={})
586 def check_box_edit_tag(view, tag_id, tag_name, custom_value, options={})
587 opts = []
587 opts = []
588 unless custom_value.custom_field.multiple? || custom_value.custom_field.is_required?
588 unless custom_value.custom_field.multiple? || custom_value.custom_field.is_required?
589 opts << ["(#{l(:label_none)})", '']
589 opts << ["(#{l(:label_none)})", '']
590 end
590 end
591 opts += possible_custom_value_options(custom_value)
591 opts += possible_custom_value_options(custom_value)
592 s = ''.html_safe
592 s = ''.html_safe
593 tag_method = custom_value.custom_field.multiple? ? :check_box_tag : :radio_button_tag
593 tag_method = custom_value.custom_field.multiple? ? :check_box_tag : :radio_button_tag
594 opts.each do |label, value|
594 opts.each do |label, value|
595 value ||= label
595 value ||= label
596 checked = (custom_value.value.is_a?(Array) && custom_value.value.include?(value)) || custom_value.value.to_s == value
596 checked = (custom_value.value.is_a?(Array) && custom_value.value.include?(value)) || custom_value.value.to_s == value
597 tag = view.send(tag_method, tag_name, value, checked, :id => tag_id)
597 tag = view.send(tag_method, tag_name, value, checked, :id => tag_id)
598 # set the id on the first tag only
598 # set the id on the first tag only
599 tag_id = nil
599 tag_id = nil
600 s << view.content_tag('label', tag + ' ' + label)
600 s << view.content_tag('label', tag + ' ' + label)
601 end
601 end
602 if custom_value.custom_field.multiple?
602 if custom_value.custom_field.multiple?
603 s << view.hidden_field_tag(tag_name, '')
603 s << view.hidden_field_tag(tag_name, '')
604 end
604 end
605 css = "#{options[:class]} check_box_group"
605 css = "#{options[:class]} check_box_group"
606 view.content_tag('span', s, options.merge(:class => css))
606 view.content_tag('span', s, options.merge(:class => css))
607 end
607 end
608 end
608 end
609
609
610 class ListFormat < List
610 class ListFormat < List
611 add 'list'
611 add 'list'
612 self.searchable_supported = true
612 self.searchable_supported = true
613 self.form_partial = 'custom_fields/formats/list'
613 self.form_partial = 'custom_fields/formats/list'
614
614
615 def possible_custom_value_options(custom_value)
615 def possible_custom_value_options(custom_value)
616 options = possible_values_options(custom_value.custom_field)
616 options = possible_values_options(custom_value.custom_field)
617 missing = [custom_value.value].flatten.reject(&:blank?) - options
617 missing = [custom_value.value].flatten.reject(&:blank?) - options
618 if missing.any?
618 if missing.any?
619 options += missing
619 options += missing
620 end
620 end
621 options
621 options
622 end
622 end
623
623
624 def possible_values_options(custom_field, object=nil)
624 def possible_values_options(custom_field, object=nil)
625 custom_field.possible_values
625 custom_field.possible_values
626 end
626 end
627
627
628 def validate_custom_field(custom_field)
628 def validate_custom_field(custom_field)
629 errors = []
629 errors = []
630 errors << [:possible_values, :blank] if custom_field.possible_values.blank?
630 errors << [:possible_values, :blank] if custom_field.possible_values.blank?
631 errors << [:possible_values, :invalid] unless custom_field.possible_values.is_a? Array
631 errors << [:possible_values, :invalid] unless custom_field.possible_values.is_a? Array
632 errors
632 errors
633 end
633 end
634
634
635 def validate_custom_value(custom_value)
635 def validate_custom_value(custom_value)
636 values = Array.wrap(custom_value.value).reject {|value| value.to_s == ''}
636 values = Array.wrap(custom_value.value).reject {|value| value.to_s == ''}
637 invalid_values = values - Array.wrap(custom_value.value_was) - custom_value.custom_field.possible_values
637 invalid_values = values - Array.wrap(custom_value.value_was) - custom_value.custom_field.possible_values
638 if invalid_values.any?
638 if invalid_values.any?
639 [::I18n.t('activerecord.errors.messages.inclusion')]
639 [::I18n.t('activerecord.errors.messages.inclusion')]
640 else
640 else
641 []
641 []
642 end
642 end
643 end
643 end
644
644
645 def group_statement(custom_field)
645 def group_statement(custom_field)
646 order_statement(custom_field)
646 order_statement(custom_field)
647 end
647 end
648 end
648 end
649
649
650 class BoolFormat < List
650 class BoolFormat < List
651 add 'bool'
651 add 'bool'
652 self.multiple_supported = false
652 self.multiple_supported = false
653 self.form_partial = 'custom_fields/formats/bool'
653 self.form_partial = 'custom_fields/formats/bool'
654
654
655 def label
655 def label
656 "label_boolean"
656 "label_boolean"
657 end
657 end
658
658
659 def cast_single_value(custom_field, value, customized=nil)
659 def cast_single_value(custom_field, value, customized=nil)
660 value == '1' ? true : false
660 value == '1' ? true : false
661 end
661 end
662
662
663 def possible_values_options(custom_field, object=nil)
663 def possible_values_options(custom_field, object=nil)
664 [[::I18n.t(:general_text_Yes), '1'], [::I18n.t(:general_text_No), '0']]
664 [[::I18n.t(:general_text_Yes), '1'], [::I18n.t(:general_text_No), '0']]
665 end
665 end
666
666
667 def group_statement(custom_field)
667 def group_statement(custom_field)
668 order_statement(custom_field)
668 order_statement(custom_field)
669 end
669 end
670
670
671 def edit_tag(view, tag_id, tag_name, custom_value, options={})
671 def edit_tag(view, tag_id, tag_name, custom_value, options={})
672 case custom_value.custom_field.edit_tag_style
672 case custom_value.custom_field.edit_tag_style
673 when 'check_box'
673 when 'check_box'
674 single_check_box_edit_tag(view, tag_id, tag_name, custom_value, options)
674 single_check_box_edit_tag(view, tag_id, tag_name, custom_value, options)
675 when 'radio'
675 when 'radio'
676 check_box_edit_tag(view, tag_id, tag_name, custom_value, options)
676 check_box_edit_tag(view, tag_id, tag_name, custom_value, options)
677 else
677 else
678 select_edit_tag(view, tag_id, tag_name, custom_value, options)
678 select_edit_tag(view, tag_id, tag_name, custom_value, options)
679 end
679 end
680 end
680 end
681
681
682 # Renders the edit tag as a simple check box
682 # Renders the edit tag as a simple check box
683 def single_check_box_edit_tag(view, tag_id, tag_name, custom_value, options={})
683 def single_check_box_edit_tag(view, tag_id, tag_name, custom_value, options={})
684 s = ''.html_safe
684 s = ''.html_safe
685 s << view.hidden_field_tag(tag_name, '0', :id => nil)
685 s << view.hidden_field_tag(tag_name, '0', :id => nil)
686 s << view.check_box_tag(tag_name, '1', custom_value.value.to_s == '1', :id => tag_id)
686 s << view.check_box_tag(tag_name, '1', custom_value.value.to_s == '1', :id => tag_id)
687 view.content_tag('span', s, options)
687 view.content_tag('span', s, options)
688 end
688 end
689 end
689 end
690
690
691 class RecordList < List
691 class RecordList < List
692 self.customized_class_names = %w(Issue TimeEntry Version Document Project)
692 self.customized_class_names = %w(Issue TimeEntry Version Document Project)
693
693
694 def cast_single_value(custom_field, value, customized=nil)
694 def cast_single_value(custom_field, value, customized=nil)
695 target_class.find_by_id(value.to_i) if value.present?
695 target_class.find_by_id(value.to_i) if value.present?
696 end
696 end
697
697
698 def target_class
698 def target_class
699 @target_class ||= self.class.name[/^(.*::)?(.+)Format$/, 2].constantize rescue nil
699 @target_class ||= self.class.name[/^(.*::)?(.+)Format$/, 2].constantize rescue nil
700 end
700 end
701
701
702 def reset_target_class
702 def reset_target_class
703 @target_class = nil
703 @target_class = nil
704 end
704 end
705
705
706 def possible_custom_value_options(custom_value)
706 def possible_custom_value_options(custom_value)
707 options = possible_values_options(custom_value.custom_field, custom_value.customized)
707 options = possible_values_options(custom_value.custom_field, custom_value.customized)
708 missing = [custom_value.value_was].flatten.reject(&:blank?) - options.map(&:last)
708 missing = [custom_value.value_was].flatten.reject(&:blank?) - options.map(&:last)
709 if missing.any?
709 if missing.any?
710 options += target_class.where(:id => missing.map(&:to_i)).map {|o| [o.to_s, o.id.to_s]}
710 options += target_class.where(:id => missing.map(&:to_i)).map {|o| [o.to_s, o.id.to_s]}
711 end
711 end
712 options
712 options
713 end
713 end
714
714
715 def order_statement(custom_field)
715 def order_statement(custom_field)
716 if target_class.respond_to?(:fields_for_order_statement)
716 if target_class.respond_to?(:fields_for_order_statement)
717 target_class.fields_for_order_statement(value_join_alias(custom_field))
717 target_class.fields_for_order_statement(value_join_alias(custom_field))
718 end
718 end
719 end
719 end
720
720
721 def group_statement(custom_field)
721 def group_statement(custom_field)
722 "COALESCE(#{join_alias custom_field}.value, '')"
722 "COALESCE(#{join_alias custom_field}.value, '')"
723 end
723 end
724
724
725 def join_for_order_statement(custom_field)
725 def join_for_order_statement(custom_field)
726 alias_name = join_alias(custom_field)
726 alias_name = join_alias(custom_field)
727
727
728 "LEFT OUTER JOIN #{CustomValue.table_name} #{alias_name}" +
728 "LEFT OUTER JOIN #{CustomValue.table_name} #{alias_name}" +
729 " ON #{alias_name}.customized_type = '#{custom_field.class.customized_class.base_class.name}'" +
729 " ON #{alias_name}.customized_type = '#{custom_field.class.customized_class.base_class.name}'" +
730 " AND #{alias_name}.customized_id = #{custom_field.class.customized_class.table_name}.id" +
730 " AND #{alias_name}.customized_id = #{custom_field.class.customized_class.table_name}.id" +
731 " AND #{alias_name}.custom_field_id = #{custom_field.id}" +
731 " AND #{alias_name}.custom_field_id = #{custom_field.id}" +
732 " AND (#{custom_field.visibility_by_project_condition})" +
732 " AND (#{custom_field.visibility_by_project_condition})" +
733 " AND #{alias_name}.value <> ''" +
733 " AND #{alias_name}.value <> ''" +
734 " AND #{alias_name}.id = (SELECT max(#{alias_name}_2.id) FROM #{CustomValue.table_name} #{alias_name}_2" +
734 " AND #{alias_name}.id = (SELECT max(#{alias_name}_2.id) FROM #{CustomValue.table_name} #{alias_name}_2" +
735 " WHERE #{alias_name}_2.customized_type = #{alias_name}.customized_type" +
735 " WHERE #{alias_name}_2.customized_type = #{alias_name}.customized_type" +
736 " AND #{alias_name}_2.customized_id = #{alias_name}.customized_id" +
736 " AND #{alias_name}_2.customized_id = #{alias_name}.customized_id" +
737 " AND #{alias_name}_2.custom_field_id = #{alias_name}.custom_field_id)" +
737 " AND #{alias_name}_2.custom_field_id = #{alias_name}.custom_field_id)" +
738 " LEFT OUTER JOIN #{target_class.table_name} #{value_join_alias custom_field}" +
738 " LEFT OUTER JOIN #{target_class.table_name} #{value_join_alias custom_field}" +
739 " ON CAST(CASE #{alias_name}.value WHEN '' THEN '0' ELSE #{alias_name}.value END AS decimal(30,0)) = #{value_join_alias custom_field}.id"
739 " ON CAST(CASE #{alias_name}.value WHEN '' THEN '0' ELSE #{alias_name}.value END AS decimal(30,0)) = #{value_join_alias custom_field}.id"
740 end
740 end
741
741
742 def value_join_alias(custom_field)
742 def value_join_alias(custom_field)
743 join_alias(custom_field) + "_" + custom_field.field_format
743 join_alias(custom_field) + "_" + custom_field.field_format
744 end
744 end
745 protected :value_join_alias
745 protected :value_join_alias
746 end
746 end
747
747
748 class EnumerationFormat < RecordList
748 class EnumerationFormat < RecordList
749 add 'enumeration'
749 add 'enumeration'
750 self.form_partial = 'custom_fields/formats/enumeration'
750 self.form_partial = 'custom_fields/formats/enumeration'
751
751
752 def label
752 def label
753 "label_field_format_enumeration"
753 "label_field_format_enumeration"
754 end
754 end
755
755
756 def target_class
756 def target_class
757 @target_class ||= CustomFieldEnumeration
757 @target_class ||= CustomFieldEnumeration
758 end
758 end
759
759
760 def possible_values_options(custom_field, object=nil)
760 def possible_values_options(custom_field, object=nil)
761 possible_values_records(custom_field, object).map {|u| [u.name, u.id.to_s]}
761 possible_values_records(custom_field, object).map {|u| [u.name, u.id.to_s]}
762 end
762 end
763
763
764 def possible_values_records(custom_field, object=nil)
764 def possible_values_records(custom_field, object=nil)
765 custom_field.enumerations.active
765 custom_field.enumerations.active
766 end
766 end
767
767
768 def value_from_keyword(custom_field, keyword, object)
768 def value_from_keyword(custom_field, keyword, object)
769 value = custom_field.enumerations.where("LOWER(name) LIKE LOWER(?)", keyword).first
769 value = custom_field.enumerations.where("LOWER(name) LIKE LOWER(?)", keyword).first
770 value ? value.id : nil
770 value ? value.id : nil
771 end
771 end
772 end
772 end
773
773
774 class UserFormat < RecordList
774 class UserFormat < RecordList
775 add 'user'
775 add 'user'
776 self.form_partial = 'custom_fields/formats/user'
776 self.form_partial = 'custom_fields/formats/user'
777 field_attributes :user_role
777 field_attributes :user_role
778
778
779 def possible_values_options(custom_field, object=nil)
779 def possible_values_options(custom_field, object=nil)
780 possible_values_records(custom_field, object).map {|u| [u.name, u.id.to_s]}
780 possible_values_records(custom_field, object).map {|u| [u.name, u.id.to_s]}
781 end
781 end
782
782
783 def possible_values_records(custom_field, object=nil)
783 def possible_values_records(custom_field, object=nil)
784 if object.is_a?(Array)
784 if object.is_a?(Array)
785 projects = object.map {|o| o.respond_to?(:project) ? o.project : nil}.compact.uniq
785 projects = object.map {|o| o.respond_to?(:project) ? o.project : nil}.compact.uniq
786 projects.map {|project| possible_values_records(custom_field, project)}.reduce(:&) || []
786 projects.map {|project| possible_values_records(custom_field, project)}.reduce(:&) || []
787 elsif object.respond_to?(:project) && object.project
787 elsif object.respond_to?(:project) && object.project
788 scope = object.project.users
788 scope = object.project.users
789 if custom_field.user_role.is_a?(Array)
789 if custom_field.user_role.is_a?(Array)
790 role_ids = custom_field.user_role.map(&:to_s).reject(&:blank?).map(&:to_i)
790 role_ids = custom_field.user_role.map(&:to_s).reject(&:blank?).map(&:to_i)
791 if role_ids.any?
791 if role_ids.any?
792 scope = scope.where("#{Member.table_name}.id IN (SELECT DISTINCT member_id FROM #{MemberRole.table_name} WHERE role_id IN (?))", role_ids)
792 scope = scope.where("#{Member.table_name}.id IN (SELECT DISTINCT member_id FROM #{MemberRole.table_name} WHERE role_id IN (?))", role_ids)
793 end
793 end
794 end
794 end
795 scope.sorted
795 scope.sorted
796 else
796 else
797 []
797 []
798 end
798 end
799 end
799 end
800
800
801 def value_from_keyword(custom_field, keyword, object)
801 def value_from_keyword(custom_field, keyword, object)
802 users = possible_values_records(custom_field, object).to_a
802 users = possible_values_records(custom_field, object).to_a
803 user = Principal.detect_by_keyword(users, keyword)
803 user = Principal.detect_by_keyword(users, keyword)
804 user ? user.id : nil
804 user ? user.id : nil
805 end
805 end
806
806
807 def before_custom_field_save(custom_field)
807 def before_custom_field_save(custom_field)
808 super
808 super
809 if custom_field.user_role.is_a?(Array)
809 if custom_field.user_role.is_a?(Array)
810 custom_field.user_role.map!(&:to_s).reject!(&:blank?)
810 custom_field.user_role.map!(&:to_s).reject!(&:blank?)
811 end
811 end
812 end
812 end
813
813
814 def query_filter_values(*args)
814 def query_filter_values(*args)
815 values = []
815 values = []
816 if User.current.logged?
816 if User.current.logged?
817 values << ["<< #{l(:label_me)} >>", "me"]
817 values << ["<< #{l(:label_me)} >>", "me"]
818 end
818 end
819 values + super
819 values + super
820 end
820 end
821 end
821 end
822
822
823 class VersionFormat < RecordList
823 class VersionFormat < RecordList
824 add 'version'
824 add 'version'
825 self.form_partial = 'custom_fields/formats/version'
825 self.form_partial = 'custom_fields/formats/version'
826 field_attributes :version_status
826 field_attributes :version_status
827
827
828 def possible_values_options(custom_field, object=nil)
828 def possible_values_options(custom_field, object=nil)
829 possible_values_records(custom_field, object).sort.collect{|v| [v.to_s, v.id.to_s] }
829 possible_values_records(custom_field, object).sort.collect{|v| [v.to_s, v.id.to_s] }
830 end
830 end
831
831
832 def before_custom_field_save(custom_field)
832 def before_custom_field_save(custom_field)
833 super
833 super
834 if custom_field.version_status.is_a?(Array)
834 if custom_field.version_status.is_a?(Array)
835 custom_field.version_status.map!(&:to_s).reject!(&:blank?)
835 custom_field.version_status.map!(&:to_s).reject!(&:blank?)
836 end
836 end
837 end
837 end
838
838
839 protected
839 protected
840
840
841 def query_filter_values(custom_field, query)
841 def query_filter_values(custom_field, query)
842 versions = possible_values_records(custom_field, query.project, true)
842 versions = possible_values_records(custom_field, query.project, true)
843 Version.sort_by_status(versions).collect{|s| ["#{s.project.name} - #{s.name}", s.id.to_s, l("version_status_#{s.status}")] }
843 Version.sort_by_status(versions).collect{|s| ["#{s.project.name} - #{s.name}", s.id.to_s, l("version_status_#{s.status}")] }
844 end
844 end
845
845
846 def possible_values_records(custom_field, object=nil, all_statuses=false)
846 def possible_values_records(custom_field, object=nil, all_statuses=false)
847 if object.is_a?(Array)
847 if object.is_a?(Array)
848 projects = object.map {|o| o.respond_to?(:project) ? o.project : nil}.compact.uniq
848 projects = object.map {|o| o.respond_to?(:project) ? o.project : nil}.compact.uniq
849 projects.map {|project| possible_values_records(custom_field, project)}.reduce(:&) || []
849 projects.map {|project| possible_values_records(custom_field, project)}.reduce(:&) || []
850 elsif object.respond_to?(:project) && object.project
850 elsif object.respond_to?(:project) && object.project
851 scope = object.project.shared_versions
851 scope = object.project.shared_versions
852 filtered_versions_options(custom_field, scope, all_statuses)
852 filtered_versions_options(custom_field, scope, all_statuses)
853 elsif object.nil?
853 elsif object.nil?
854 scope = ::Version.visible.where(:sharing => 'system')
854 scope = ::Version.visible.where(:sharing => 'system')
855 filtered_versions_options(custom_field, scope, all_statuses)
855 filtered_versions_options(custom_field, scope, all_statuses)
856 else
856 else
857 []
857 []
858 end
858 end
859 end
859 end
860
860
861 def filtered_versions_options(custom_field, scope, all_statuses=false)
861 def filtered_versions_options(custom_field, scope, all_statuses=false)
862 if !all_statuses && custom_field.version_status.is_a?(Array)
862 if !all_statuses && custom_field.version_status.is_a?(Array)
863 statuses = custom_field.version_status.map(&:to_s).reject(&:blank?)
863 statuses = custom_field.version_status.map(&:to_s).reject(&:blank?)
864 if statuses.any?
864 if statuses.any?
865 scope = scope.where(:status => statuses.map(&:to_s))
865 scope = scope.where(:status => statuses.map(&:to_s))
866 end
866 end
867 end
867 end
868 scope
868 scope
869 end
869 end
870 end
870 end
871
871
872 class AttachmentFormat < Base
872 class AttachmentFormat < Base
873 add 'attachment'
873 add 'attachment'
874 self.form_partial = 'custom_fields/formats/attachment'
874 self.form_partial = 'custom_fields/formats/attachment'
875 self.is_filter_supported = false
875 self.is_filter_supported = false
876 self.change_no_details = true
876 self.change_no_details = true
877 self.bulk_edit_supported = false
877 self.bulk_edit_supported = false
878 field_attributes :extensions_allowed
878 field_attributes :extensions_allowed
879
879
880 def set_custom_field_value(custom_field, custom_field_value, value)
880 def set_custom_field_value(custom_field, custom_field_value, value)
881 attachment_present = false
881 attachment_present = false
882
882
883 if value.is_a?(Hash)
883 if value.is_a?(Hash)
884 attachment_present = true
884 attachment_present = true
885 value = value.except(:blank)
885 value = value.except(:blank)
886
886
887 if value.values.any? && value.values.all? {|v| v.is_a?(Hash)}
887 if value.values.any? && value.values.all? {|v| v.is_a?(Hash)}
888 value = value.values.first
888 value = value.values.first
889 end
889 end
890
890
891 if value.key?(:id)
891 if value.key?(:id)
892 value = set_custom_field_value_by_id(custom_field, custom_field_value, value[:id])
892 value = set_custom_field_value_by_id(custom_field, custom_field_value, value[:id])
893 elsif value[:token].present?
893 elsif value[:token].present?
894 if attachment = Attachment.find_by_token(value[:token])
894 if attachment = Attachment.find_by_token(value[:token])
895 value = attachment.id.to_s
895 value = attachment.id.to_s
896 else
896 else
897 value = ''
897 value = ''
898 end
898 end
899 elsif value.key?(:file)
899 elsif value.key?(:file)
900 attachment = Attachment.new(:file => value[:file], :author => User.current)
900 attachment = Attachment.new(:file => value[:file], :author => User.current)
901 if attachment.save
901 if attachment.save
902 value = attachment.id.to_s
902 value = attachment.id.to_s
903 else
903 else
904 value = ''
904 value = ''
905 end
905 end
906 else
906 else
907 attachment_present = false
907 attachment_present = false
908 value = ''
908 value = ''
909 end
909 end
910 elsif value.is_a?(String)
910 elsif value.is_a?(String)
911 value = set_custom_field_value_by_id(custom_field, custom_field_value, value)
911 value = set_custom_field_value_by_id(custom_field, custom_field_value, value)
912 end
912 end
913 custom_field_value.instance_variable_set "@attachment_present", attachment_present
913 custom_field_value.instance_variable_set "@attachment_present", attachment_present
914
914
915 value
915 value
916 end
916 end
917
917
918 def set_custom_field_value_by_id(custom_field, custom_field_value, id)
918 def set_custom_field_value_by_id(custom_field, custom_field_value, id)
919 attachment = Attachment.find_by_id(id)
919 attachment = Attachment.find_by_id(id)
920 if attachment && attachment.container.is_a?(CustomValue) && attachment.container.customized == custom_field_value.customized
920 if attachment && attachment.container.is_a?(CustomValue) && attachment.container.customized == custom_field_value.customized
921 id.to_s
921 id.to_s
922 else
922 else
923 ''
923 ''
924 end
924 end
925 end
925 end
926 private :set_custom_field_value_by_id
926 private :set_custom_field_value_by_id
927
927
928 def cast_single_value(custom_field, value, customized=nil)
928 def cast_single_value(custom_field, value, customized=nil)
929 Attachment.find_by_id(value.to_i) if value.present? && value.respond_to?(:to_i)
929 Attachment.find_by_id(value.to_i) if value.present? && value.respond_to?(:to_i)
930 end
930 end
931
931
932 def validate_custom_value(custom_value)
932 def validate_custom_value(custom_value)
933 errors = []
933 errors = []
934
934
935 if custom_value.value.blank?
935 if custom_value.value.blank?
936 if custom_value.instance_variable_get("@attachment_present")
936 if custom_value.instance_variable_get("@attachment_present")
937 errors << ::I18n.t('activerecord.errors.messages.invalid')
937 errors << ::I18n.t('activerecord.errors.messages.invalid')
938 end
938 end
939 else
939 else
940 if custom_value.value.present?
940 if custom_value.value.present?
941 attachment = Attachment.where(:id => custom_value.value.to_s).first
941 attachment = Attachment.where(:id => custom_value.value.to_s).first
942 extensions = custom_value.custom_field.extensions_allowed
942 extensions = custom_value.custom_field.extensions_allowed
943 if attachment && extensions.present? && !attachment.extension_in?(extensions)
943 if attachment && extensions.present? && !attachment.extension_in?(extensions)
944 errors << "#{::I18n.t('activerecord.errors.messages.invalid')} (#{l(:setting_attachment_extensions_allowed)}: #{extensions})"
944 errors << "#{::I18n.t('activerecord.errors.messages.invalid')} (#{l(:setting_attachment_extensions_allowed)}: #{extensions})"
945 end
945 end
946 end
946 end
947 end
947 end
948
948
949 errors.uniq
949 errors.uniq
950 end
950 end
951
951
952 def after_save_custom_value(custom_field, custom_value)
952 def after_save_custom_value(custom_field, custom_value)
953 if custom_value.value_changed?
953 if custom_value.value_changed?
954 if custom_value.value.present?
954 if custom_value.value.present?
955 attachment = Attachment.where(:id => custom_value.value.to_s).first
955 attachment = Attachment.where(:id => custom_value.value.to_s).first
956 if attachment
956 if attachment
957 attachment.container = custom_value
957 attachment.container = custom_value
958 attachment.save!
958 attachment.save!
959 end
959 end
960 end
960 end
961 if custom_value.value_was.present?
961 if custom_value.value_was.present?
962 attachment = Attachment.where(:id => custom_value.value_was.to_s).first
962 attachment = Attachment.where(:id => custom_value.value_was.to_s).first
963 if attachment
963 if attachment
964 attachment.destroy
964 attachment.destroy
965 end
965 end
966 end
966 end
967 end
967 end
968 end
968 end
969
969
970 def edit_tag(view, tag_id, tag_name, custom_value, options={})
970 def edit_tag(view, tag_id, tag_name, custom_value, options={})
971 attachment = nil
971 attachment = nil
972 if custom_value.value.present?
972 if custom_value.value.present?
973 attachment = Attachment.find_by_id(custom_value.value)
973 attachment = Attachment.find_by_id(custom_value.value)
974 end
974 end
975
975
976 view.hidden_field_tag("#{tag_name}[blank]", "") +
976 view.hidden_field_tag("#{tag_name}[blank]", "") +
977 view.render(:partial => 'attachments/form',
977 view.render(:partial => 'attachments/form',
978 :locals => {
978 :locals => {
979 :attachment_param => tag_name,
979 :attachment_param => tag_name,
980 :multiple => false,
980 :multiple => false,
981 :description => false,
981 :description => false,
982 :saved_attachments => [attachment].compact,
982 :saved_attachments => [attachment].compact,
983 :filedrop => false
983 :filedrop => false
984 })
984 })
985 end
985 end
986 end
986 end
987 end
987 end
988 end
988 end
@@ -1,1465 +1,1465
1 html {overflow-y:scroll;}
1 html {overflow-y:scroll;}
2 body { font-family: Verdana, sans-serif; font-size: 12px; color:#333; margin: 0; padding: 0; min-width: 900px; }
2 body { font-family: Verdana, sans-serif; font-size: 12px; color:#333; margin: 0; padding: 0; min-width: 900px; }
3
3
4 h1, h2, h3, h4 {font-family: "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;}
4 h1, h2, h3, h4 {font-family: "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;}
5 #content h1, h2, h3, h4 {color: #555;}
5 #content h1, h2, h3, h4 {color: #555;}
6 h2, .wiki h1 {font-size: 20px;}
6 h2, .wiki h1 {font-size: 20px;}
7 h3, .wiki h2 {font-size: 16px;}
7 h3, .wiki h2 {font-size: 16px;}
8 h4, .wiki h3 {font-size: 13px;}
8 h4, .wiki h3 {font-size: 13px;}
9 h4 {border-bottom: 1px dotted #bbb;}
9 h4 {border-bottom: 1px dotted #bbb;}
10 pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
10 pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
11
11
12 /***** Layout *****/
12 /***** Layout *****/
13 #wrapper {background: white;overflow: hidden;}
13 #wrapper {background: white;overflow: hidden;}
14
14
15 #top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
15 #top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
16 #top-menu ul {margin: 0; padding: 0;}
16 #top-menu ul {margin: 0; padding: 0;}
17 #top-menu li {
17 #top-menu li {
18 float:left;
18 float:left;
19 list-style-type:none;
19 list-style-type:none;
20 margin: 0px 0px 0px 0px;
20 margin: 0px 0px 0px 0px;
21 padding: 0px 0px 0px 0px;
21 padding: 0px 0px 0px 0px;
22 white-space:nowrap;
22 white-space:nowrap;
23 }
23 }
24 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
24 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
25 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
25 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
26
26
27 #account {float:right;}
27 #account {float:right;}
28
28
29 #header {min-height:5.3em;margin:0;background-color:#628DB6;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;}
29 #header {min-height:5.3em;margin:0;background-color:#628DB6;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;}
30 #header a {color:#f8f8f8;}
30 #header a {color:#f8f8f8;}
31 #header h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
31 #header h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
32 #header h1 .breadcrumbs { display:block; font-size: .5em; font-weight: normal; }
32 #header h1 .breadcrumbs { display:block; font-size: .5em; font-weight: normal; }
33
33
34 #quick-search {float:right;}
34 #quick-search {float:right;}
35 #quick-search #q {width:130px; height:24px; box-sizing:border-box; vertical-align:middle; border:1px solid #ccc; border-radius:3px;}
35 #quick-search #q {width:130px; height:24px; box-sizing:border-box; vertical-align:middle; border:1px solid #ccc; border-radius:3px;}
36
36
37 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px; width: 100%;}
37 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px; width: 100%;}
38 #main-menu ul {margin: 0; padding: 0; width: 100%; white-space: nowrap;}
38 #main-menu ul {margin: 0; padding: 0; width: 100%; white-space: nowrap;}
39 #main-menu li {
39 #main-menu li {
40 float:none;
40 float:none;
41 list-style-type:none;
41 list-style-type:none;
42 margin: 0px 2px 0px 0px;
42 margin: 0px 2px 0px 0px;
43 padding: 0px 0px 0px 0px;
43 padding: 0px 0px 0px 0px;
44 white-space:nowrap;
44 white-space:nowrap;
45 display:inline-block;
45 display:inline-block;
46 }
46 }
47 #main-menu li a {
47 #main-menu li a {
48 display: block;
48 display: block;
49 color: #fff;
49 color: #fff;
50 text-decoration: none;
50 text-decoration: none;
51 font-weight: bold;
51 font-weight: bold;
52 margin: 0;
52 margin: 0;
53 padding: 4px 10px 4px 10px;
53 padding: 4px 10px 4px 10px;
54 }
54 }
55 #main-menu li a:hover {background:#759FCF; color:#fff;}
55 #main-menu li a:hover {background:#759FCF; color:#fff;}
56 #main-menu li:hover ul.menu-children, #main-menu li ul.menu-children.visible {display: block;}
56 #main-menu li:hover ul.menu-children, #main-menu li ul.menu-children.visible {display: block;}
57 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
57 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
58 #main-menu li a.new-object { background-color:#759FCF; }
58 #main-menu li a.new-object { background-color:#759FCF; }
59
59
60 #main-menu .menu-children {
60 #main-menu .menu-children {
61 display: none;
61 display: none;
62 position:absolute;
62 position:absolute;
63 width: inherit;
63 width: inherit;
64 z-index:45;
64 z-index:45;
65 background-color:#fff;
65 background-color:#fff;
66 border-right: 1px solid #759FCF;
66 border-right: 1px solid #759FCF;
67 border-bottom: 1px solid #759FCF;
67 border-bottom: 1px solid #759FCF;
68 border-left: 1px solid #759FCF;
68 border-left: 1px solid #759FCF;
69 }
69 }
70 #main-menu .menu-children li {float:left; clear:both; width:100%;}
70 #main-menu .menu-children li {float:left; clear:both; width:100%;}
71 #main-menu .menu-children li a {color: #555; background-color:#fff; font-weight:normal;}
71 #main-menu .menu-children li a {color: #555; background-color:#fff; font-weight:normal;}
72 #main-menu .menu-children li a:hover {color: #fff; background-color: #759FCF;}
72 #main-menu .menu-children li a:hover {color: #fff; background-color: #759FCF;}
73
73
74 #main-menu .tabs-buttons {
74 #main-menu .tabs-buttons {
75 right: 6px;
75 right: 6px;
76 background-color: transparent;
76 background-color: transparent;
77 border-bottom-color: transparent;
77 border-bottom-color: transparent;
78 }
78 }
79
79
80 #admin-menu ul {margin: 0; padding: 0;}
80 #admin-menu ul {margin: 0; padding: 0;}
81 #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;}
81 #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;}
82
82
83 #main {background-color:#EEEEEE;}
83 #main {background-color:#EEEEEE;}
84
84
85 #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
85 #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
86 * html #sidebar{ width: 22%; }
86 * html #sidebar{ width: 22%; }
87 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
87 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
88 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
88 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
89 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
89 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
90 #sidebar .contextual { margin-right: 1em; }
90 #sidebar .contextual { margin-right: 1em; }
91 #sidebar ul, ul.flat {margin: 0; padding: 0;}
91 #sidebar ul, ul.flat {margin: 0; padding: 0;}
92 #sidebar ul li, ul.flat li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
92 #sidebar ul li, ul.flat li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
93 #sidebar div.wiki ul {margin:inherit; padding-left:40px;}
93 #sidebar div.wiki ul {margin:inherit; padding-left:40px;}
94 #sidebar div.wiki ul li {list-style-type:inherit;}
94 #sidebar div.wiki ul li {list-style-type:inherit;}
95
95
96 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
96 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
97 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
97 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
98 html>body #content { min-height: 600px; }
98 html>body #content { min-height: 600px; }
99 * html body #content { height: 600px; } /* IE */
99 * html body #content { height: 600px; } /* IE */
100
100
101 #main.nosidebar #sidebar{ display: none; }
101 #main.nosidebar #sidebar{ display: none; }
102 #main.nosidebar #content{ width: auto; border-right: 0; }
102 #main.nosidebar #content{ width: auto; border-right: 0; }
103
103
104 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
104 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
105
105
106 #login-form {margin:5em auto 2em auto; padding:20px; width:340px; border:1px solid #FDBF3B; background-color:#FFEBC1; border-radius:4px; box-sizing: border-box;}
106 #login-form {margin:5em auto 2em auto; padding:20px; width:340px; border:1px solid #FDBF3B; background-color:#FFEBC1; border-radius:4px; box-sizing: border-box;}
107 #login-form label {display:block; margin-bottom:5px;}
107 #login-form label {display:block; margin-bottom:5px;}
108 #login-form input[type=text], #login-form input[type=password] {border:1px solid #ccc; border-radius:3px; margin-bottom:15px; padding:7px; display:block; width:100%; box-sizing: border-box;}
108 #login-form input[type=text], #login-form input[type=password] {border:1px solid #ccc; border-radius:3px; margin-bottom:15px; padding:7px; display:block; width:100%; box-sizing: border-box;}
109 #login-form label {font-weight:bold;}
109 #login-form label {font-weight:bold;}
110 #login-form label[for=autologin] {font-weight:normal;}
110 #login-form label[for=autologin] {font-weight:normal;}
111 #login-form a.lost_password {float:right; font-weight:normal;}
111 #login-form a.lost_password {float:right; font-weight:normal;}
112 #login-form input#openid_url {background:#fff url(../images/openid-bg.gif) no-repeat 4px 50%; padding-left:24px !important;}
112 #login-form input#openid_url {background:#fff url(../images/openid-bg.gif) no-repeat 4px 50%; padding-left:24px !important;}
113 #login-form input#login-submit {margin-top:15px; padding:7px; display:block; width:100%; box-sizing: border-box;}
113 #login-form input#login-submit {margin-top:15px; padding:7px; display:block; width:100%; box-sizing: border-box;}
114
114
115 div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;}
115 div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;}
116 div.modal h3.title {display:none;}
116 div.modal h3.title {display:none;}
117 div.modal p.buttons {text-align:right; margin-bottom:0;}
117 div.modal p.buttons {text-align:right; margin-bottom:0;}
118 div.modal .box p {margin: 0.3em 0;}
118 div.modal .box p {margin: 0.3em 0;}
119
119
120 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
120 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
121
121
122 .mobile-show {display: none;}
122 .mobile-show {display: none;}
123
123
124 /***** Links *****/
124 /***** Links *****/
125 a, a:link, a:visited{ color: #169; text-decoration: none; }
125 a, a:link, a:visited{ color: #169; text-decoration: none; }
126 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
126 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
127 a img{ border: 0; }
127 a img{ border: 0; }
128
128
129 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
129 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
130 a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; }
130 a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; }
131 a.user.locked, a.user.locked:link, a.user.locked:visited {color: #999;}
131 a.user.locked, a.user.locked:link, a.user.locked:visited {color: #999;}
132
132
133 #sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px;}
133 #sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px;}
134 #sidebar a.selected:hover {text-decoration:none;}
134 #sidebar a.selected:hover {text-decoration:none;}
135 #admin-menu a {line-height:1.7em;}
135 #admin-menu a {line-height:1.7em;}
136 #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}
136 #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}
137
137
138 a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;}
138 a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;}
139 a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;}
139 a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;}
140
140
141 a#toggle-completed-versions {color:#999;}
141 a#toggle-completed-versions {color:#999;}
142
142
143 a.toggle-checkboxes { margin-left: 5px; padding-left: 12px; background: url(../images/toggle_check.png) no-repeat 0% 50%; }
143 a.toggle-checkboxes { margin-left: 5px; padding-left: 12px; background: url(../images/toggle_check.png) no-repeat 0% 50%; }
144
144
145 /***** Dropdown *****/
145 /***** Dropdown *****/
146 .drdn {position:relative;}
146 .drdn {position:relative;}
147 .drdn-trigger {
147 .drdn-trigger {
148 width:100%;
148 width:100%;
149 height:24px;
149 height:24px;
150 box-sizing:border-box;
150 box-sizing:border-box;
151 overflow:hidden;
151 overflow:hidden;
152 text-overflow:ellipsis;
152 text-overflow:ellipsis;
153 white-space:nowrap;
153 white-space:nowrap;
154 padding:3px 18px 3px 6px;
154 padding:3px 18px 3px 6px;
155 background:#fff url(../images/sort_desc.png) no-repeat 97% 50%;
155 background:#fff url(../images/sort_desc.png) no-repeat 97% 50%;
156 cursor:pointer;
156 cursor:pointer;
157 user-select:none;
157 user-select:none;
158 -moz-user-select:none;
158 -moz-user-select:none;
159 -webkit-user-select:none;
159 -webkit-user-select:none;
160 }
160 }
161 .drdn-content {
161 .drdn-content {
162 display:none;
162 display:none;
163 position:absolute;
163 position:absolute;
164 right:0px;
164 right:0px;
165 top:25px;
165 top:25px;
166 min-width:100px;
166 min-width:100px;
167 background-color:#fff;
167 background-color:#fff;
168 border:1px solid #ccc;
168 border:1px solid #ccc;
169 border-radius:4px;
169 border-radius:4px;
170 color:#555;
170 color:#555;
171 z-index:99;
171 z-index:99;
172 }
172 }
173 .drdn.expanded .drdn-trigger {background-image:url(../images/sort_asc.png);}
173 .drdn.expanded .drdn-trigger {background-image:url(../images/sort_asc.png);}
174 .drdn.expanded .drdn-content {display:block;}
174 .drdn.expanded .drdn-content {display:block;}
175
175
176 .drdn-content .quick-search {margin:8px;}
176 .drdn-content .quick-search {margin:8px;}
177 .drdn-content .autocomplete {box-sizing: border-box; width:100% !important; height:28px;}
177 .drdn-content .autocomplete {box-sizing: border-box; width:100% !important; height:28px;}
178 .drdn-content .autocomplete:focus {border-color:#5ad;}
178 .drdn-content .autocomplete:focus {border-color:#5ad;}
179 .drdn-items {max-height:400px; overflow:auto;}
179 .drdn-items {max-height:400px; overflow:auto;}
180 div + .drdn-items {border-top:1px solid #ccc;}
180 div + .drdn-items {border-top:1px solid #ccc;}
181 .drdn-items>* {
181 .drdn-items>* {
182 display:block;
182 display:block;
183 border:1px solid #fff;
183 border:1px solid #fff;
184 color:#555 !important;
184 color:#555 !important;
185 overflow:hidden;
185 overflow:hidden;
186 text-overflow: ellipsis;
186 text-overflow: ellipsis;
187 white-space:nowrap;
187 white-space:nowrap;
188 padding:4px 8px;
188 padding:4px 8px;
189 }
189 }
190 .drdn-items>a:hover {text-decoration:none; background-color:#759FCF; color:#fff !important;}
190 .drdn-items>a:hover {text-decoration:none; background-color:#759FCF; color:#fff !important;}
191 .drdn-items>*:focus {border:1px dotted #bbb;}
191 .drdn-items>*:focus {border:1px dotted #bbb;}
192
192
193 .drdn-items.selection>*:before {
193 .drdn-items.selection>*:before {
194 content:' ';
194 content:' ';
195 display:inline-block;
195 display:inline-block;
196 line-height:1em;
196 line-height:1em;
197 width:1em;
197 width:1em;
198 height:1em;
198 height:1em;
199 margin-right:4px;
199 margin-right:4px;
200 font-weight:bold;
200 font-weight:bold;
201 }
201 }
202 .drdn-items.selection>*.selected:before {
202 .drdn-items.selection>*.selected:before {
203 content:"\2713 ";
203 content:"\2713 ";
204 }
204 }
205 .drdn-items.selection:empty {
205 .drdn-items.selection:empty {
206 border: none;
206 border: none;
207 }
207 }
208 .drdn-items>span {color:#999;}
208 .drdn-items>span {color:#999;}
209
209
210 #project-jump.drdn {width:200px;display:inline-block;}
210 #project-jump.drdn {width:200px;display:inline-block;}
211 #project-jump .drdn-trigger {
211 #project-jump .drdn-trigger {
212 display:inline-block;
212 display:inline-block;
213 border-radius:3px;
213 border-radius:3px;
214 border:1px solid #ccc;
214 border:1px solid #ccc;
215 margin:0 !important;
215 margin:0 !important;
216 vertical-align:middle;
216 vertical-align:middle;
217 color:#555;
217 color:#555;
218 }
218 }
219 #project-jump .drdn-content {width:280px;}
219 #project-jump .drdn-content {width:280px;}
220
220
221 /***** Tables *****/
221 /***** Tables *****/
222 table.list, .table-list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
222 table.list, .table-list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
223 table.list th, .table-list-header { background-color:#EEEEEE; padding: 4px; white-space:nowrap; font-weight:bold; }
223 table.list th, .table-list-header { background-color:#EEEEEE; padding: 4px; white-space:nowrap; font-weight:bold; }
224 table.list td {text-align:center; vertical-align:middle; padding-right:10px;}
224 table.list td {text-align:center; vertical-align:middle; padding-right:10px;}
225 table.list td.id { width: 2%; text-align: center;}
225 table.list td.id { width: 2%; text-align: center;}
226 table.list td.name, table.list td.description, table.list td.subject, table.list td.comments, table.list td.roles {text-align: left;}
226 table.list td.name, table.list td.description, table.list td.subject, table.list td.comments, table.list td.roles {text-align: left;}
227 table.list td.tick {width:15%}
227 table.list td.tick {width:15%}
228 table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
228 table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
229 table.list td.checkbox input {padding:0px;}
229 table.list td.checkbox input {padding:0px;}
230 table.list td.buttons, div.buttons { white-space:nowrap; text-align: right; }
230 table.list td.buttons, div.buttons { white-space:nowrap; text-align: right; }
231 table.list td.buttons a, div.buttons a { margin-right: 0.6em; }
231 table.list td.buttons a, div.buttons a { margin-right: 0.6em; }
232 table.list td.buttons img, div.buttons img {vertical-align:middle;}
232 table.list td.buttons img, div.buttons img {vertical-align:middle;}
233 table.list td.reorder {width:15%; white-space:nowrap; text-align:center; }
233 table.list td.reorder {width:15%; white-space:nowrap; text-align:center; }
234 table.list table.progress td {padding-right:0px;}
234 table.list table.progress td {padding-right:0px;}
235 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
235 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
236 #role-permissions-trackers table.list th {white-space:normal;}
236 #role-permissions-trackers table.list th {white-space:normal;}
237
237
238 .table-list-cell {display: table-cell; vertical-align: top; padding:2px; }
238 .table-list-cell {display: table-cell; vertical-align: top; padding:2px; }
239 .table-list div.buttons {width: 15%;}
239 .table-list div.buttons {width: 15%;}
240
240
241 tr.project td.name a { white-space:nowrap; }
241 tr.project td.name a { white-space:nowrap; }
242 tr.project.closed, tr.project.archived { color: #aaa; }
242 tr.project.closed, tr.project.archived { color: #aaa; }
243 tr.project.closed a, tr.project.archived a { color: #aaa; }
243 tr.project.closed a, tr.project.archived a { color: #aaa; }
244
244
245 tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
245 tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
246 tr.project.idnt-1 td.name {padding-left: 0.5em;}
246 tr.project.idnt-1 td.name {padding-left: 0.5em;}
247 tr.project.idnt-2 td.name {padding-left: 2em;}
247 tr.project.idnt-2 td.name {padding-left: 2em;}
248 tr.project.idnt-3 td.name {padding-left: 3.5em;}
248 tr.project.idnt-3 td.name {padding-left: 3.5em;}
249 tr.project.idnt-4 td.name {padding-left: 5em;}
249 tr.project.idnt-4 td.name {padding-left: 5em;}
250 tr.project.idnt-5 td.name {padding-left: 6.5em;}
250 tr.project.idnt-5 td.name {padding-left: 6.5em;}
251 tr.project.idnt-6 td.name {padding-left: 8em;}
251 tr.project.idnt-6 td.name {padding-left: 8em;}
252 tr.project.idnt-7 td.name {padding-left: 9.5em;}
252 tr.project.idnt-7 td.name {padding-left: 9.5em;}
253 tr.project.idnt-8 td.name {padding-left: 11em;}
253 tr.project.idnt-8 td.name {padding-left: 11em;}
254 tr.project.idnt-9 td.name {padding-left: 12.5em;}
254 tr.project.idnt-9 td.name {padding-left: 12.5em;}
255
255
256 tr.issue { text-align: center; white-space: nowrap; }
256 tr.issue { text-align: center; white-space: nowrap; }
257 tr.issue td.subject, tr.issue td.category, td.assigned_to, tr.issue td.string, tr.issue td.text, tr.issue td.list, tr.issue td.relations, tr.issue td.parent { white-space: normal; }
257 tr.issue td.subject, tr.issue td.category, td.assigned_to, tr.issue td.string, tr.issue td.text, tr.issue td.list, tr.issue td.relations, tr.issue td.parent { white-space: normal; }
258 tr.issue td.relations { text-align: left; }
258 tr.issue td.relations { text-align: left; }
259 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
259 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
260 tr.issue td.relations span {white-space: nowrap;}
260 tr.issue td.relations span {white-space: nowrap;}
261 table.issues td.description {color:#777; font-size:90%; padding:4px 4px 4px 24px; text-align:left; white-space:normal;}
261 table.issues td.description {color:#777; font-size:90%; padding:4px 4px 4px 24px; text-align:left; white-space:normal;}
262 table.issues td.description pre {white-space:normal;}
262 table.issues td.description pre {white-space:normal;}
263
263
264 tr.issue.idnt td.subject {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%;}
264 tr.issue.idnt td.subject {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%;}
265 tr.issue.idnt-1 td.subject {padding-left: 24px; background-position: 8px 50%;}
265 tr.issue.idnt-1 td.subject {padding-left: 24px; background-position: 8px 50%;}
266 tr.issue.idnt-2 td.subject {padding-left: 40px; background-position: 24px 50%;}
266 tr.issue.idnt-2 td.subject {padding-left: 40px; background-position: 24px 50%;}
267 tr.issue.idnt-3 td.subject {padding-left: 56px; background-position: 40px 50%;}
267 tr.issue.idnt-3 td.subject {padding-left: 56px; background-position: 40px 50%;}
268 tr.issue.idnt-4 td.subject {padding-left: 72px; background-position: 56px 50%;}
268 tr.issue.idnt-4 td.subject {padding-left: 72px; background-position: 56px 50%;}
269 tr.issue.idnt-5 td.subject {padding-left: 88px; background-position: 72px 50%;}
269 tr.issue.idnt-5 td.subject {padding-left: 88px; background-position: 72px 50%;}
270 tr.issue.idnt-6 td.subject {padding-left: 104px; background-position: 88px 50%;}
270 tr.issue.idnt-6 td.subject {padding-left: 104px; background-position: 88px 50%;}
271 tr.issue.idnt-7 td.subject {padding-left: 120px; background-position: 104px 50%;}
271 tr.issue.idnt-7 td.subject {padding-left: 120px; background-position: 104px 50%;}
272 tr.issue.idnt-8 td.subject {padding-left: 136px; background-position: 120px 50%;}
272 tr.issue.idnt-8 td.subject {padding-left: 136px; background-position: 120px 50%;}
273 tr.issue.idnt-9 td.subject {padding-left: 152px; background-position: 136px 50%;}
273 tr.issue.idnt-9 td.subject {padding-left: 152px; background-position: 136px 50%;}
274
274
275 table.issue-report {table-layout:fixed;}
275 table.issue-report {table-layout:fixed;}
276
276
277 tr.entry { border: 1px solid #f8f8f8; }
277 tr.entry { border: 1px solid #f8f8f8; }
278 tr.entry td { white-space: nowrap; }
278 tr.entry td { white-space: nowrap; }
279 tr.entry td.filename {width:30%; text-align:left;}
279 tr.entry td.filename {width:30%; text-align:left;}
280 tr.entry td.filename_no_report {width:70%; text-align:left;}
280 tr.entry td.filename_no_report {width:70%; text-align:left;}
281 tr.entry td.size { text-align: right; font-size: 90%; }
281 tr.entry td.size { text-align: right; font-size: 90%; }
282 tr.entry td.revision, tr.entry td.author { text-align: center; }
282 tr.entry td.revision, tr.entry td.author { text-align: center; }
283 tr.entry td.age { text-align: right; }
283 tr.entry td.age { text-align: right; }
284 tr.entry.file td.filename a { margin-left: 16px; }
284 tr.entry.file td.filename a { margin-left: 16px; }
285 tr.entry.file td.filename_no_report a { margin-left: 16px; }
285 tr.entry.file td.filename_no_report a { margin-left: 16px; }
286
286
287 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
287 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
288 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
288 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
289
289
290 tr.changeset { height: 20px }
290 tr.changeset { height: 20px }
291 tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; }
291 tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; }
292 tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; }
292 tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; }
293 tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;}
293 tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;}
294 tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;}
294 tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;}
295
295
296 table.files tbody th {text-align:left;}
296 table.files tbody th {text-align:left;}
297 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
297 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
298 table.files tr.file td.digest { font-size: 80%; }
298 table.files tr.file td.digest { font-size: 80%; }
299
299
300 table.members td.roles, table.memberships td.roles { width: 45%; }
300 table.members td.roles, table.memberships td.roles { width: 45%; }
301
301
302 tr.message { height: 2.6em; }
302 tr.message { height: 2.6em; }
303 tr.message td.created_on { white-space: nowrap; }
303 tr.message td.created_on { white-space: nowrap; }
304 tr.message td.last_message { font-size: 80%; white-space: nowrap; }
304 tr.message td.last_message { font-size: 80%; white-space: nowrap; }
305 tr.message.sticky td.subject { font-weight: bold; }
305 tr.message.sticky td.subject { font-weight: bold; }
306
306
307 tr.version.closed, tr.version.closed a { color: #999; }
307 tr.version.closed, tr.version.closed a { color: #999; }
308 tr.version td.name { padding-left: 20px; }
308 tr.version td.name { padding-left: 20px; }
309 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }
309 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }
310
310
311 tr.member td.icon-user {background:transparent;}
311 tr.member td.icon-user {background:transparent;}
312
312
313 tr.user td {width:13%;white-space: nowrap;}
313 tr.user td {width:13%;white-space: nowrap;}
314 td.username, td.firstname, td.lastname, td.email {text-align:left !important;}
314 td.username, td.firstname, td.lastname, td.email {text-align:left !important;}
315 tr.user td.email { width:18%; }
315 tr.user td.email { width:18%; }
316 tr.user.locked, tr.user.registered { color: #aaa; }
316 tr.user.locked, tr.user.registered { color: #aaa; }
317 tr.user.locked a, tr.user.registered a { color: #aaa; }
317 tr.user.locked a, tr.user.registered a { color: #aaa; }
318
318
319 table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;}
319 table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;}
320
320
321 tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;}
321 tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;}
322
322
323 div.mypage-box table.time-entries tr.time-entry { background-color: #fff; }
323 div.mypage-box table.time-entries tr.time-entry { background-color: #fff; }
324 div.mypage-box table.time-entries tr.odd { background-color:#f6f7f8; }
324 div.mypage-box table.time-entries tr.odd { background-color:#f6f7f8; }
325 tr.time-entry { text-align: center; white-space: nowrap; }
325 tr.time-entry { text-align: center; white-space: nowrap; }
326 tr.time-entry td.issue, tr.time-entry td.comments, tr.time-entry td.subject, tr.time-entry td.activity { text-align: left; white-space: normal; }
326 tr.time-entry td.issue, tr.time-entry td.comments, tr.time-entry td.subject, tr.time-entry td.activity { text-align: left; white-space: normal; }
327 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
327 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
328 td.hours .hours-dec { font-size: 0.9em; }
328 td.hours .hours-dec { font-size: 0.9em; }
329
329
330 table.plugins td { vertical-align: middle; }
330 table.plugins td { vertical-align: middle; }
331 table.plugins td.configure { text-align: right; padding-right: 1em; }
331 table.plugins td.configure { text-align: right; padding-right: 1em; }
332 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
332 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
333 table.plugins span.description { display: block; font-size: 0.9em; }
333 table.plugins span.description { display: block; font-size: 0.9em; }
334 table.plugins span.url { display: block; font-size: 0.9em; }
334 table.plugins span.url { display: block; font-size: 0.9em; }
335
335
336 table.list.enumerations {table-layout: fixed; margin-bottom: 2em;}
336 table.list.enumerations {table-layout: fixed; margin-bottom: 2em;}
337
337
338 tr.group td { padding: 0.8em 0 0.5em 0.3em; border-bottom: 1px solid #ccc; text-align:left; background-color: #fff;}
338 tr.group td { padding: 0.8em 0 0.5em 0.3em; border-bottom: 1px solid #ccc; text-align:left; background-color: #fff;}
339 tr.group span.name {font-weight:bold;}
339 tr.group span.name {font-weight:bold;}
340 tr.group span.count {font-weight:bold; position:relative; top:-1px; color:#fff; font-size:10px; background:#9DB9D5; padding:0px 6px 1px 6px; border-radius:3px; margin-left:4px;}
340 tr.group span.count {font-weight:bold; position:relative; top:-1px; color:#fff; font-size:10px; background:#9DB9D5; padding:0px 6px 1px 6px; border-radius:3px; margin-left:4px;}
341 tr.group span.totals {color: #aaa; font-size: 80%;}
341 tr.group span.totals {color: #aaa; font-size: 80%;}
342 tr.group span.totals .value {font-weight:bold; color:#777;}
342 tr.group span.totals .value {font-weight:bold; color:#777;}
343 tr.group a.toggle-all { color: #aaa; font-size: 80%; display:none; float:right; margin-right:4px;}
343 tr.group a.toggle-all { color: #aaa; font-size: 80%; display:none; float:right; margin-right:4px;}
344 tr.group:hover a.toggle-all { display:inline;}
344 tr.group:hover a.toggle-all { display:inline;}
345 a.toggle-all:hover {text-decoration:none;}
345 a.toggle-all:hover {text-decoration:none;}
346
346
347 table.list tbody tr:hover { background-color:#ffffdd; }
347 table.list tbody tr:hover { background-color:#ffffdd; }
348 table.list tbody tr.group:hover { background-color:inherit; }
348 table.list tbody tr.group:hover { background-color:inherit; }
349 table td {padding:2px;}
349 table td {padding:2px;}
350 table p {margin:0;}
350 table p {margin:0;}
351
351
352 table.list:not(.odd-even) tbody tr:nth-child(odd), .odd, #issue-changesets div.changeset:nth-child(odd) { background-color:#f6f7f8; }
352 table.list:not(.odd-even) tbody tr:nth-child(odd), .odd, #issue-changesets div.changeset:nth-child(odd) { background-color:#f6f7f8; }
353 table.list:not(.odd-even) tbody tr:nth-child(even), .even, #issue-changesets div.changeset:nth-child(even) { background-color: #fff; }
353 table.list:not(.odd-even) tbody tr:nth-child(even), .even, #issue-changesets div.changeset:nth-child(even) { background-color: #fff; }
354
354
355 tr.builtin td.name {font-style:italic;}
355 tr.builtin td.name {font-style:italic;}
356
356
357 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
357 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
358 a.sort.asc { background-image: url(../images/sort_asc.png); }
358 a.sort.asc { background-image: url(../images/sort_asc.png); }
359 a.sort.desc { background-image: url(../images/sort_desc.png); }
359 a.sort.desc { background-image: url(../images/sort_desc.png); }
360
360
361 table.boards a.board { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
361 table.boards a.board { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
362 table.boards td.last-message {text-align:left;font-size:80%;}
362 table.boards td.last-message {text-align:left;font-size:80%;}
363
363
364 div.table-list.boards .table-list-cell.name {width: 30%;}
364 div.table-list.boards .table-list-cell.name {width: 30%;}
365
365
366 #content table.list-simple {table-layout:fixed;}
366 #content table.list-simple {table-layout:fixed;}
367 #content table.list-simple td {white-space:nowrap; overflow:hidden; text-overflow: ellipsis; text-align:left;}
367 #content table.list-simple td {white-space:nowrap; overflow:hidden; text-overflow: ellipsis; text-align:left;}
368 #content table.list-simple th.id, #content table.list-simple th.project {width:18%;}
368 #content table.list-simple th.id, #content table.list-simple th.project {width:18%;}
369 #content table.list-simple th.status {width:14%;}
369 #content table.list-simple th.status {width:14%;}
370
370
371 table.messages td.last_message {text-align:left;}
371 table.messages td.last_message {text-align:left;}
372
372
373 #query_form_content {font-size:90%;}
373 #query_form_content {font-size:90%;}
374
374
375 .query_sort_criteria_count {
375 .query_sort_criteria_count {
376 display: inline-block;
376 display: inline-block;
377 min-width: 1em;
377 min-width: 1em;
378 }
378 }
379
379
380 table.query-columns {
380 table.query-columns {
381 border-collapse: collapse;
381 border-collapse: collapse;
382 border: 0;
382 border: 0;
383 }
383 }
384
384
385 table.query-columns td.buttons {
385 table.query-columns td.buttons {
386 vertical-align: middle;
386 vertical-align: middle;
387 text-align: center;
387 text-align: center;
388 }
388 }
389 table.query-columns td.buttons input[type=button] {width:35px;}
389 table.query-columns td.buttons input[type=button] {width:35px;}
390 .query-totals {text-align:right;}
390 .query-totals {text-align:right;}
391 .query-totals>span:not(:first-child) {margin-left:0.6em;}
391 .query-totals>span:not(:first-child) {margin-left:0.6em;}
392 .query-totals .value {font-weight:bold;}
392 .query-totals .value {font-weight:bold;}
393 body.controller-issues .query-totals {margin-top:-2.3em;}
393 body.controller-issues .query-totals {margin-top:-2.3em;}
394
394
395 td.center {text-align:center;}
395 td.center {text-align:center;}
396
396
397 #watchers select {width: 95%; display: block;}
397 #watchers select {width: 95%; display: block;}
398 #watchers a.delete {opacity: 0.4; margin-left: 5px;}
398 #watchers a.delete {opacity: 0.4; margin-left: 5px;}
399 #watchers a.delete:hover {opacity: 1;}
399 #watchers a.delete:hover {opacity: 1;}
400 #watchers img.gravatar {margin: 0 4px 2px 0;}
400 #watchers img.gravatar {margin: 0 4px 2px 0;}
401
401
402 span#watchers_inputs {overflow:auto; display:block;}
402 span#watchers_inputs {overflow:auto; display:block;}
403 span.search_for_watchers {display:block;}
403 span.search_for_watchers {display:block;}
404 span.search_for_watchers, span.add_attachment {font-size:80%; line-height:2.5em;}
404 span.search_for_watchers, span.add_attachment {font-size:80%; line-height:2.5em;}
405 span.add_attachment a {padding-left:16px; background: url(../images/bullet_add.png) no-repeat 0 50%; }
405 span.add_attachment a {padding-left:16px; background: url(../images/bullet_add.png) no-repeat 0 50%; }
406
406
407
407
408 .highlight { background-color: #FCFD8D;}
408 .highlight { background-color: #FCFD8D;}
409 .highlight.token-1 { background-color: #faa;}
409 .highlight.token-1 { background-color: #faa;}
410 .highlight.token-2 { background-color: #afa;}
410 .highlight.token-2 { background-color: #afa;}
411 .highlight.token-3 { background-color: #aaf;}
411 .highlight.token-3 { background-color: #aaf;}
412
412
413 .box{
413 .box{
414 padding:6px;
414 padding:6px;
415 margin-bottom: 10px;
415 margin-bottom: 10px;
416 background-color:#f6f6f6;
416 background-color:#f6f6f6;
417 color:#505050;
417 color:#505050;
418 line-height:1.5em;
418 line-height:1.5em;
419 border: 1px solid #e4e4e4;
419 border: 1px solid #e4e4e4;
420 word-wrap: break-word;
420 word-wrap: break-word;
421 border-radius: 3px;
421 border-radius: 3px;
422 }
422 }
423
423
424 div.square {
424 div.square {
425 border: 1px solid #999;
425 border: 1px solid #999;
426 float: left;
426 float: left;
427 margin: .3em .4em 0 .4em;
427 margin: .3em .4em 0 .4em;
428 overflow: hidden;
428 overflow: hidden;
429 width: .6em; height: .6em;
429 width: .6em; height: .6em;
430 }
430 }
431 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin:5px 0px; padding-left: 10px; font-size:0.9em;}
431 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin:5px 0px; padding-left: 10px; font-size:0.9em;}
432 .contextual .icon {padding-top: 2px; padding-bottom: 3px;}
432 .contextual .icon {padding-top: 2px; padding-bottom: 3px;}
433 .contextual input, .contextual select {font-size:0.9em;}
433 .contextual input, .contextual select {font-size:0.9em;}
434 .message .contextual { margin-top: 0; }
434 .message .contextual { margin-top: 0; }
435
435
436 .splitcontent {overflow:auto;}
436 .splitcontent {overflow:auto;}
437 .splitcontentleft{float:left; width:49%;}
437 .splitcontentleft{float:left; width:49%;}
438 .splitcontentright{float:right; width:49%;}
438 .splitcontentright{float:right; width:49%;}
439 form {display: inline;}
439 form {display: inline;}
440 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
440 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
441 input[type="submit"] { -webkit-appearance: button; }
441 input[type="submit"] { -webkit-appearance: button; }
442 fieldset {border: 1px solid #e4e4e4; margin:0;}
442 fieldset {border: 1px solid #e4e4e4; margin:0;}
443 legend {color: #333;}
443 legend {color: #333;}
444 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
444 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
445 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
445 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
446 blockquote blockquote { margin-left: 0;}
446 blockquote blockquote { margin-left: 0;}
447 abbr, span.field-description[title] { border-bottom: 1px dotted #aaa; cursor: help; }
447 abbr, span.field-description[title] { border-bottom: 1px dotted #aaa; cursor: help; }
448 textarea.wiki-edit {width:99%; resize:vertical;}
448 textarea.wiki-edit {width:99%; resize:vertical;}
449 body.textarea-monospace textarea.wiki-edit {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px;}
449 body.textarea-monospace textarea.wiki-edit {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px;}
450 body.textarea-proportional textarea.wiki-edit {font-family: Verdana, sans-serif; font-size: 12px;}
450 body.textarea-proportional textarea.wiki-edit {font-family: Verdana, sans-serif; font-size: 12px;}
451 li p {margin-top: 0;}
451 li p {margin-top: 0;}
452 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px; border: 1px solid #d7d7d7; border-radius:3px;}
452 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px; border: 1px solid #d7d7d7; border-radius:3px;}
453 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
453 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
454 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
454 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
455 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
455 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
456 .ltr {direction:ltr !important; unicode-bidi:bidi-override;}
456 .ltr {direction:ltr !important; unicode-bidi:bidi-override;}
457 .rtl {direction:rtl !important; unicode-bidi:bidi-override;}
457 .rtl {direction:rtl !important; unicode-bidi:bidi-override;}
458
458
459 div.issue div.subject div div { padding-left: 16px; }
459 div.issue div.subject div div { padding-left: 16px; }
460 div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
460 div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
461 div.issue div.subject>div>p { margin-top: 0.5em; }
461 div.issue div.subject>div>p { margin-top: 0.5em; }
462 div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
462 div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
463 div.issue span.private, div.journal span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px;}
463 div.issue span.private, div.journal span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px;}
464 div.issue .next-prev-links {color:#999;}
464 div.issue .next-prev-links {color:#999;}
465 div.issue .attributes {margin-top: 2em;}
465 div.issue .attributes {margin-top: 2em;}
466 div.issue .attribute {padding-left:180px; clear:left; min-height: 1.8em;}
466 div.issue .attributes .attribute {padding-left:180px; clear:left; min-height: 1.8em;}
467 div.issue .attribute .label {width: 170px; margin-left:-180px; font-weight:bold; float:left; overflow:hidden; text-overflow: ellipsis;}
467 div.issue .attributes .attribute .label {width: 170px; margin-left:-180px; font-weight:bold; float:left; overflow:hidden; text-overflow: ellipsis;}
468 div.issue .attribute .value {overflow:hidden; text-overflow: ellipsis;}
468 div.issue .attribute .value {overflow:hidden; text-overflow: ellipsis;}
469 div.issue.overdue .due-date .value { color: #c22; }
469 div.issue.overdue .due-date .value { color: #c22; }
470
470
471 #issue_tree table.issues, #relations table.issues { border: 0; }
471 #issue_tree table.issues, #relations table.issues { border: 0; }
472 #issue_tree td.checkbox, #relations td.checkbox {display:none;}
472 #issue_tree td.checkbox, #relations td.checkbox {display:none;}
473 #relations td.buttons {padding:0;}
473 #relations td.buttons {padding:0;}
474
474
475 fieldset.collapsible {border-width: 1px 0 0 0;}
475 fieldset.collapsible {border-width: 1px 0 0 0;}
476 fieldset.collapsible>legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
476 fieldset.collapsible>legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
477 fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_collapsed.png); }
477 fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_collapsed.png); }
478
478
479 fieldset#date-range p { margin: 2px 0 2px 0; }
479 fieldset#date-range p { margin: 2px 0 2px 0; }
480 fieldset#filters table { border-collapse: collapse; }
480 fieldset#filters table { border-collapse: collapse; }
481 fieldset#filters table td { padding: 0; vertical-align: middle; }
481 fieldset#filters table td { padding: 0; vertical-align: middle; }
482 fieldset#filters tr.filter { height: 2.1em; }
482 fieldset#filters tr.filter { height: 2.1em; }
483 fieldset#filters td.field { width:230px; }
483 fieldset#filters td.field { width:230px; }
484 fieldset#filters td.operator { width:130px; }
484 fieldset#filters td.operator { width:130px; }
485 fieldset#filters td.operator select {max-width:120px;}
485 fieldset#filters td.operator select {max-width:120px;}
486 fieldset#filters td.values { white-space:nowrap; }
486 fieldset#filters td.values { white-space:nowrap; }
487 fieldset#filters td.values select {min-width:130px; max-width:200px;}
487 fieldset#filters td.values select {min-width:130px; max-width:200px;}
488 fieldset#filters td.values input {height:1em;}
488 fieldset#filters td.values input {height:1em;}
489
489
490 #filters-table {width:60%; float:left;}
490 #filters-table {width:60%; float:left;}
491 .add-filter {width:35%; float:right; text-align: right; vertical-align: top;}
491 .add-filter {width:35%; float:right; text-align: right; vertical-align: top;}
492
492
493 #issue_is_private_wrap {float:right; margin-right:1em;}
493 #issue_is_private_wrap {float:right; margin-right:1em;}
494 .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:16px; margin-left:0; margin-right:5px; cursor:pointer;}
494 .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:16px; margin-left:0; margin-right:5px; cursor:pointer;}
495 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
495 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
496
496
497 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
497 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
498 div#issue-changesets div.changeset { padding: 4px;}
498 div#issue-changesets div.changeset { padding: 4px;}
499 div#issue-changesets div.changeset { border-bottom: 1px solid #ddd; }
499 div#issue-changesets div.changeset { border-bottom: 1px solid #ddd; }
500 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
500 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
501 .changeset-comments {margin-bottom:1em; font-family:}
501 .changeset-comments {margin-bottom:1em; font-family:}
502
502
503 div.journal {overflow:auto;}
503 div.journal {overflow:auto;}
504 div.journal.private-notes {border-left:2px solid #d22; padding-left:4px; margin-left:-6px;}
504 div.journal.private-notes {border-left:2px solid #d22; padding-left:4px; margin-left:-6px;}
505 div.journal ul.details, ul.revision-info {color:#959595; margin-bottom: 1.5em;}
505 div.journal ul.details, ul.revision-info {color:#959595; margin-bottom: 1.5em;}
506 div.journal ul.details a, ul.revision-info a {color:#70A7CD;}
506 div.journal ul.details a, ul.revision-info a {color:#70A7CD;}
507 div.journal ul.details a:hover, ul.revision-info a:hover {color:#D14848;}
507 div.journal ul.details a:hover, ul.revision-info a:hover {color:#D14848;}
508
508
509 div#activity dl, #search-results { margin-left: 2em; }
509 div#activity dl, #search-results { margin-left: 2em; }
510 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
510 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
511 div#activity dt.me .time { border-bottom: 1px solid #999; }
511 div#activity dt.me .time { border-bottom: 1px solid #999; }
512 div#activity dt .time { color: #777; font-size: 80%; }
512 div#activity dt .time { color: #777; font-size: 80%; }
513 div#activity dd .description, #search-results dd .description { font-style: italic; }
513 div#activity dd .description, #search-results dd .description { font-style: italic; }
514 div#activity span.project:after, #search-results span.project:after { content: " -"; }
514 div#activity span.project:after, #search-results span.project:after { content: " -"; }
515 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
515 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
516 div#activity dt.grouped {margin-left:5em;}
516 div#activity dt.grouped {margin-left:5em;}
517 div#activity dd.grouped {margin-left:9em;}
517 div#activity dd.grouped {margin-left:9em;}
518 div#activity dt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 18px;}
518 div#activity dt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 18px;}
519
519
520 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
520 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
521
521
522 div#search-results-counts {float:right;}
522 div#search-results-counts {float:right;}
523 div#search-results-counts ul { margin-top: 0.5em; }
523 div#search-results-counts ul { margin-top: 0.5em; }
524 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
524 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
525
525
526 div#roadmap .related-issues { margin-bottom: 1em; }
526 div#roadmap .related-issues { margin-bottom: 1em; }
527 div#roadmap .related-issues td.checkbox { display: none; }
527 div#roadmap .related-issues td.checkbox { display: none; }
528 div#roadmap .wiki h1:first-child { display: none; }
528 div#roadmap .wiki h1:first-child { display: none; }
529 div#roadmap .wiki h1 { font-size: 120%; }
529 div#roadmap .wiki h1 { font-size: 120%; }
530 div#roadmap .wiki h2 { font-size: 110%; }
530 div#roadmap .wiki h2 { font-size: 110%; }
531 body.controller-versions.action-show div#roadmap .related-issues {width:70%;}
531 body.controller-versions.action-show div#roadmap .related-issues {width:70%;}
532
532
533 div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
533 div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
534 div#version-summary fieldset { margin-bottom: 1em; }
534 div#version-summary fieldset { margin-bottom: 1em; }
535 div#version-summary fieldset.time-tracking table { width:100%; }
535 div#version-summary fieldset.time-tracking table { width:100%; }
536 div#version-summary th, div#version-summary td.total-hours { text-align: right; }
536 div#version-summary th, div#version-summary td.total-hours { text-align: right; }
537
537
538 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
538 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
539 table#time-report tbody tr.subtotal { font-style: italic; color:#777;}
539 table#time-report tbody tr.subtotal { font-style: italic; color:#777;}
540 table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; }
540 table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; }
541 table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;}
541 table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;}
542 table#time-report .hours-dec { font-size: 0.9em; }
542 table#time-report .hours-dec { font-size: 0.9em; }
543
543
544 div.wiki-page .contextual a {opacity: 0.4}
544 div.wiki-page .contextual a {opacity: 0.4}
545 div.wiki-page .contextual a:hover {opacity: 1}
545 div.wiki-page .contextual a:hover {opacity: 1}
546
546
547 form .attributes select { width: 60%; }
547 form .attributes select { width: 60%; }
548 form .attributes select + a.icon-only { vertical-align: middle; margin-left: 4px; }
548 form .attributes select + a.icon-only { vertical-align: middle; margin-left: 4px; }
549 input#issue_subject, input#document_title { width: 99%; }
549 input#issue_subject, input#document_title { width: 99%; }
550 select#issue_done_ratio { width: 95px; }
550 select#issue_done_ratio { width: 95px; }
551
551
552 ul.projects {margin:0; padding-left:1em;}
552 ul.projects {margin:0; padding-left:1em;}
553 ul.projects ul {padding-left:1.6em;}
553 ul.projects ul {padding-left:1.6em;}
554 ul.projects.root {margin:0; padding:0;}
554 ul.projects.root {margin:0; padding:0;}
555 ul.projects li {list-style-type:none;}
555 ul.projects li {list-style-type:none;}
556
556
557 #projects-index {
557 #projects-index {
558 column-count: auto;
558 column-count: auto;
559 column-width: 400px;
559 column-width: 400px;
560 -webkit-column-count: auto;
560 -webkit-column-count: auto;
561 -webkit-column-width: 400px;
561 -webkit-column-width: 400px;
562 -webkit-column-gap : 0.5rem;
562 -webkit-column-gap : 0.5rem;
563 -moz-column-count: auto;
563 -moz-column-count: auto;
564 -moz-column-width: 400px;
564 -moz-column-width: 400px;
565 -moz-column-gap : 0.5rem;
565 -moz-column-gap : 0.5rem;
566 }
566 }
567 #projects-index ul.projects li.root>ul.projects { border-left: 3px solid #e0e0e0; padding-left:1em;}
567 #projects-index ul.projects li.root>ul.projects { border-left: 3px solid #e0e0e0; padding-left:1em;}
568 #projects-index ul.projects li.root {margin-bottom: 1em;}
568 #projects-index ul.projects li.root {margin-bottom: 1em;}
569 #projects-index ul.projects li.child {margin-top: 1em;}
569 #projects-index ul.projects li.child {margin-top: 1em;}
570 #projects-index ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
570 #projects-index ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
571 #projects-index a.icon-fav {padding-left:0; padding-right:20px; background-position:98% 50%;}
571 #projects-index a.icon-fav {padding-left:0; padding-right:20px; background-position:98% 50%;}
572
572
573 #notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;}
573 #notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;}
574
574
575 #related-issues li img {vertical-align:middle;}
575 #related-issues li img {vertical-align:middle;}
576
576
577 ul.properties {padding:0; font-size: 0.9em; color: #777;}
577 ul.properties {padding:0; font-size: 0.9em; color: #777;}
578 ul.properties li {list-style-type:none;}
578 ul.properties li {list-style-type:none;}
579 ul.properties li span {font-style:italic;}
579 ul.properties li span {font-style:italic;}
580
580
581 .total-hours { font-size: 110%; font-weight: bold; }
581 .total-hours { font-size: 110%; font-weight: bold; }
582 .total-hours span.hours-int { font-size: 120%; }
582 .total-hours span.hours-int { font-size: 120%; }
583
583
584 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em; position: relative;}
584 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em; position: relative;}
585 #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
585 #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
586
586
587 #workflow_copy_form select { width: 200px; }
587 #workflow_copy_form select { width: 200px; }
588 table.transitions td.enabled {background: #bfb;}
588 table.transitions td.enabled {background: #bfb;}
589 #workflow_form table select {font-size:90%; max-width:100px;}
589 #workflow_form table select {font-size:90%; max-width:100px;}
590 table.fields_permissions td.readonly {background:#ddd;}
590 table.fields_permissions td.readonly {background:#ddd;}
591 table.fields_permissions td.required {background:#d88;}
591 table.fields_permissions td.required {background:#d88;}
592
592
593 select.expandable {vertical-align:top;}
593 select.expandable {vertical-align:top;}
594
594
595 textarea#custom_field_possible_values {width: 95%; resize:vertical}
595 textarea#custom_field_possible_values {width: 95%; resize:vertical}
596 textarea#custom_field_default_value {width: 95%; resize:vertical}
596 textarea#custom_field_default_value {width: 95%; resize:vertical}
597 .sort-handle {display:inline-block; vertical-align:middle;}
597 .sort-handle {display:inline-block; vertical-align:middle;}
598
598
599 input#content_comments {width: 99%}
599 input#content_comments {width: 99%}
600
600
601 span.pagination {margin-left:3px; color:#888; display:block;}
601 span.pagination {margin-left:3px; color:#888; display:block;}
602 .pagination ul.pages {
602 .pagination ul.pages {
603 margin: 0 5px 0 0;
603 margin: 0 5px 0 0;
604 padding: 0;
604 padding: 0;
605 display: inline;
605 display: inline;
606 }
606 }
607 .pagination ul.pages li {
607 .pagination ul.pages li {
608 display: inline-block;
608 display: inline-block;
609 padding: 0;
609 padding: 0;
610 border: 1px solid #ddd;
610 border: 1px solid #ddd;
611 margin-left: -1px;
611 margin-left: -1px;
612 line-height: 2em;
612 line-height: 2em;
613 margin-bottom: 1em;
613 margin-bottom: 1em;
614 white-space: nowrap;
614 white-space: nowrap;
615 text-align: center;
615 text-align: center;
616 }
616 }
617 .pagination ul.pages li a,
617 .pagination ul.pages li a,
618 .pagination ul.pages li span {
618 .pagination ul.pages li span {
619 padding: 3px 8px;
619 padding: 3px 8px;
620 }
620 }
621 .pagination ul.pages li:first-child {
621 .pagination ul.pages li:first-child {
622 border-top-left-radius: 4px;
622 border-top-left-radius: 4px;
623 border-bottom-left-radius: 4px;
623 border-bottom-left-radius: 4px;
624 }
624 }
625 .pagination ul.pages li:last-child {
625 .pagination ul.pages li:last-child {
626 border-top-right-radius: 4px;
626 border-top-right-radius: 4px;
627 border-bottom-right-radius: 4px;
627 border-bottom-right-radius: 4px;
628 }
628 }
629 .pagination ul.pages li.current {
629 .pagination ul.pages li.current {
630 color: white;
630 color: white;
631 background-color: #628DB6;
631 background-color: #628DB6;
632 border-color: #628DB6;
632 border-color: #628DB6;
633 }
633 }
634 .pagination ul.pages li.page:hover {
634 .pagination ul.pages li.page:hover {
635 background-color: #ddd;
635 background-color: #ddd;
636 }
636 }
637 .pagination ul.pages li.page a:hover,
637 .pagination ul.pages li.page a:hover,
638 .pagination ul.pages li.page a:active {
638 .pagination ul.pages li.page a:active {
639 color: #169;
639 color: #169;
640 text-decoration: inherit;
640 text-decoration: inherit;
641 }
641 }
642 .pagination .per-page span.selected {
642 .pagination .per-page span.selected {
643 font-weight: bold;
643 font-weight: bold;
644 }
644 }
645 span.pagination>span {white-space:nowrap;}
645 span.pagination>span {white-space:nowrap;}
646
646
647 #search-form fieldset p {margin:0.2em 0;}
647 #search-form fieldset p {margin:0.2em 0;}
648
648
649 /***** Tabular forms ******/
649 /***** Tabular forms ******/
650 .tabular p{
650 .tabular p{
651 margin: 0;
651 margin: 0;
652 padding: 3px 0 3px 0;
652 padding: 3px 0 3px 0;
653 padding-left: 180px; /* width of left column containing the label elements */
653 padding-left: 180px; /* width of left column containing the label elements */
654 min-height: 2em;
654 min-height: 2em;
655 clear:left;
655 clear:left;
656 }
656 }
657
657
658 html>body .tabular p {overflow:hidden;}
658 html>body .tabular p {overflow:hidden;}
659
659
660 .tabular input, .tabular select {max-width:95%}
660 .tabular input, .tabular select {max-width:95%}
661 .tabular textarea {width:95%; resize:vertical;}
661 .tabular textarea {width:95%; resize:vertical;}
662
662
663 .tabular label{
663 .tabular label{
664 font-weight: bold;
664 font-weight: bold;
665 float: left;
665 float: left;
666 text-align: right;
666 text-align: right;
667 /* width of left column */
667 /* width of left column */
668 margin-left: -180px;
668 margin-left: -180px;
669 /* width of labels. Should be smaller than left column to create some right margin */
669 /* width of labels. Should be smaller than left column to create some right margin */
670 width: 175px;
670 width: 175px;
671 }
671 }
672
672
673 .tabular label.floating{
673 .tabular label.floating{
674 font-weight: normal;
674 font-weight: normal;
675 margin-left: 0px;
675 margin-left: 0px;
676 text-align: left;
676 text-align: left;
677 width: 270px;
677 width: 270px;
678 }
678 }
679
679
680 label.block {
680 label.block {
681 display: block;
681 display: block;
682 width: auto !important;
682 width: auto !important;
683 }
683 }
684
684
685 .tabular label.block{
685 .tabular label.block{
686 font-weight: normal;
686 font-weight: normal;
687 margin-left: 0px !important;
687 margin-left: 0px !important;
688 text-align: left;
688 text-align: left;
689 float: none;
689 float: none;
690 }
690 }
691
691
692 .tabular label.inline{
692 .tabular label.inline{
693 font-weight: normal;
693 font-weight: normal;
694 float:none;
694 float:none;
695 margin-left: 5px !important;
695 margin-left: 5px !important;
696 width: auto;
696 width: auto;
697 }
697 }
698
698
699 label.no-css {
699 label.no-css {
700 font-weight: inherit;
700 font-weight: inherit;
701 float:none;
701 float:none;
702 text-align:left;
702 text-align:left;
703 margin-left:0px;
703 margin-left:0px;
704 width:auto;
704 width:auto;
705 }
705 }
706 input#time_entry_comments { width: 90%;}
706 input#time_entry_comments { width: 90%;}
707
707
708 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
708 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
709
709
710 .tabular.settings p{ padding-left: 300px; }
710 .tabular.settings p{ padding-left: 300px; }
711 .tabular.settings label{ margin-left: -300px; width: 295px; }
711 .tabular.settings label{ margin-left: -300px; width: 295px; }
712 .tabular.settings textarea { width: 99%; }
712 .tabular.settings textarea { width: 99%; }
713
713
714 .settings.enabled_scm table {width:100%}
714 .settings.enabled_scm table {width:100%}
715 .settings.enabled_scm td.scm_name{ font-weight: bold; }
715 .settings.enabled_scm td.scm_name{ font-weight: bold; }
716
716
717 fieldset.settings label { display: block; }
717 fieldset.settings label { display: block; }
718 fieldset#notified_events .parent { padding-left: 20px; }
718 fieldset#notified_events .parent { padding-left: 20px; }
719
719
720 span.required {color: #bb0000;}
720 span.required {color: #bb0000;}
721 .summary {font-style: italic;}
721 .summary {font-style: italic;}
722
722
723 .check_box_group {
723 .check_box_group {
724 display:block;
724 display:block;
725 width:95%;
725 width:95%;
726 max-height:300px;
726 max-height:300px;
727 overflow-y:auto;
727 overflow-y:auto;
728 padding:2px 4px 4px 2px;
728 padding:2px 4px 4px 2px;
729 background:#fff;
729 background:#fff;
730 border:1px solid #9EB1C2;
730 border:1px solid #9EB1C2;
731 border-radius:2px
731 border-radius:2px
732 }
732 }
733 .check_box_group label {
733 .check_box_group label {
734 font-weight: normal;
734 font-weight: normal;
735 margin-left: 0px !important;
735 margin-left: 0px !important;
736 text-align: left;
736 text-align: left;
737 float: none;
737 float: none;
738 display: block;
738 display: block;
739 width: auto;
739 width: auto;
740 }
740 }
741 .check_box_group.bool_cf {border:0; background:inherit;}
741 .check_box_group.bool_cf {border:0; background:inherit;}
742 .check_box_group.bool_cf label {display: inline;}
742 .check_box_group.bool_cf label {display: inline;}
743
743
744 .attachments_fields input.description, #existing-attachments input.description {margin-left:4px; width:340px;}
744 .attachments_fields input.description, #existing-attachments input.description {margin-left:4px; width:340px;}
745 .attachments_fields>span, #existing-attachments>span {display:block; white-space:nowrap;}
745 .attachments_fields>span, #existing-attachments>span {display:block; white-space:nowrap;}
746 .attachments_fields input.filename, #existing-attachments .filename {border:0; width:250px; color:#555; background-color:inherit; }
746 .attachments_fields input.filename, #existing-attachments .filename {border:0; width:250px; color:#555; background-color:inherit; }
747 .tabular input.filename {max-width:75% !important;}
747 .tabular input.filename {max-width:75% !important;}
748 .attachments_fields input.filename {height:1.8em;}
748 .attachments_fields input.filename {height:1.8em;}
749 .attachments_fields .ajax-waiting input.filename {background:url(../images/hourglass.png) no-repeat 0px 50%;}
749 .attachments_fields .ajax-waiting input.filename {background:url(../images/hourglass.png) no-repeat 0px 50%;}
750 .attachments_fields .ajax-loading input.filename {background:url(../images/loading.gif) no-repeat 0px 50%;}
750 .attachments_fields .ajax-loading input.filename {background:url(../images/loading.gif) no-repeat 0px 50%;}
751 .attachments_fields div.ui-progressbar { width: 100px; height:14px; margin: 2px 0 -5px 8px; display: inline-block; }
751 .attachments_fields div.ui-progressbar { width: 100px; height:14px; margin: 2px 0 -5px 8px; display: inline-block; }
752
752
753 a.remove-upload:hover {text-decoration:none !important;}
753 a.remove-upload:hover {text-decoration:none !important;}
754 .existing-attachment.deleted .filename {text-decoration:line-through; color:#999 !important;}
754 .existing-attachment.deleted .filename {text-decoration:line-through; color:#999 !important;}
755
755
756 div.fileover { background-color: lavender; }
756 div.fileover { background-color: lavender; }
757
757
758 div.attachments { margin: 12px 0; }
758 div.attachments { margin: 12px 0; }
759 div.attachments p { margin:4px 0 2px 0; }
759 div.attachments p { margin:4px 0 2px 0; }
760 div.attachments img { vertical-align: middle; }
760 div.attachments img { vertical-align: middle; }
761 div.attachments span.author { font-size: 0.9em; color: #888; }
761 div.attachments span.author { font-size: 0.9em; color: #888; }
762
762
763 div.thumbnails {margin:0.6em;}
763 div.thumbnails {margin:0.6em;}
764 div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;}
764 div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;}
765 div.thumbnails img {margin: 3px; vertical-align: middle;}
765 div.thumbnails img {margin: 3px; vertical-align: middle;}
766 #history div.thumbnails {margin-left: 2em;}
766 #history div.thumbnails {margin-left: 2em;}
767
767
768 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
768 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
769 .other-formats span + span:before { content: "| "; }
769 .other-formats span + span:before { content: "| "; }
770
770
771 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
771 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
772
772
773 em.info {font-style:normal;font-size:90%;color:#888;display:block;}
773 em.info {font-style:normal;font-size:90%;color:#888;display:block;}
774 em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;}
774 em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;}
775
775
776 textarea.text_cf {width:95%; resize:vertical;}
776 textarea.text_cf {width:95%; resize:vertical;}
777 input.string_cf, input.link_cf {width:95%;}
777 input.string_cf, input.link_cf {width:95%;}
778 select.bool_cf {width:auto !important;}
778 select.bool_cf {width:auto !important;}
779
779
780 #tab-content-modules fieldset p {margin:3px 0 4px 0;}
780 #tab-content-modules fieldset p {margin:3px 0 4px 0;}
781
781
782 #tab-content-users .splitcontentleft {width: 64%;}
782 #tab-content-users .splitcontentleft {width: 64%;}
783 #tab-content-users .splitcontentright {width: 34%;}
783 #tab-content-users .splitcontentright {width: 34%;}
784 #tab-content-users fieldset {padding:1em; margin-bottom: 1em;}
784 #tab-content-users fieldset {padding:1em; margin-bottom: 1em;}
785 #tab-content-users fieldset legend {font-weight: bold;}
785 #tab-content-users fieldset legend {font-weight: bold;}
786 #tab-content-users fieldset label {display: block;}
786 #tab-content-users fieldset label {display: block;}
787 #tab-content-users #principals {max-height: 400px; overflow: auto;}
787 #tab-content-users #principals {max-height: 400px; overflow: auto;}
788
788
789 #users_for_watcher {height: 200px; overflow:auto;}
789 #users_for_watcher {height: 200px; overflow:auto;}
790 #users_for_watcher label {display: block;}
790 #users_for_watcher label {display: block;}
791
791
792 input#principal_search, input#user_search {width:90%}
792 input#principal_search, input#user_search {width:90%}
793 .roles-selection label {display:inline-block; width:210px;}
793 .roles-selection label {display:inline-block; width:210px;}
794
794
795 input.autocomplete {
795 input.autocomplete {
796 background: #fff url(../images/magnifier.png) no-repeat 2px 50%; padding-left:20px !important;
796 background: #fff url(../images/magnifier.png) no-repeat 2px 50%; padding-left:20px !important;
797 border:1px solid #9EB1C2; border-radius:2px; height:1.5em;
797 border:1px solid #9EB1C2; border-radius:2px; height:1.5em;
798 }
798 }
799 input.autocomplete.ajax-loading {
799 input.autocomplete.ajax-loading {
800 background-image: url(../images/loading.gif);
800 background-image: url(../images/loading.gif);
801 }
801 }
802
802
803 .role-visibility {padding-left:2em;}
803 .role-visibility {padding-left:2em;}
804
804
805 .objects-selection {
805 .objects-selection {
806 height: 300px;
806 height: 300px;
807 overflow: auto;
807 overflow: auto;
808 margin-bottom: 1em;
808 margin-bottom: 1em;
809 }
809 }
810
810
811 .objects-selection label {
811 .objects-selection label {
812 display: block;
812 display: block;
813 }
813 }
814
814
815 .objects-selection>div, #user_group_ids {
815 .objects-selection>div, #user_group_ids {
816 column-count: auto;
816 column-count: auto;
817 column-width: 200px;
817 column-width: 200px;
818 -webkit-column-count: auto;
818 -webkit-column-count: auto;
819 -webkit-column-width: 200px;
819 -webkit-column-width: 200px;
820 -webkit-column-gap : 0.5rem;
820 -webkit-column-gap : 0.5rem;
821 -webkit-column-rule: 1px solid #ccc;
821 -webkit-column-rule: 1px solid #ccc;
822 -moz-column-count: auto;
822 -moz-column-count: auto;
823 -moz-column-width: 200px;
823 -moz-column-width: 200px;
824 -moz-column-gap : 0.5rem;
824 -moz-column-gap : 0.5rem;
825 -moz-column-rule: 1px solid #ccc;
825 -moz-column-rule: 1px solid #ccc;
826 }
826 }
827
827
828 /***** Flash & error messages ****/
828 /***** Flash & error messages ****/
829 #errorExplanation, div.flash, .nodata, .warning, .conflict {
829 #errorExplanation, div.flash, .nodata, .warning, .conflict {
830 padding: 6px 4px 6px 30px;
830 padding: 6px 4px 6px 30px;
831 margin-bottom: 12px;
831 margin-bottom: 12px;
832 font-size: 1.1em;
832 font-size: 1.1em;
833 border: 1px solid;
833 border: 1px solid;
834 border-radius: 3px;
834 border-radius: 3px;
835 }
835 }
836
836
837 div.flash {margin-top: 8px;}
837 div.flash {margin-top: 8px;}
838
838
839 div.flash.error, #errorExplanation {
839 div.flash.error, #errorExplanation {
840 background: url(../images/exclamation.png) 8px 50% no-repeat;
840 background: url(../images/exclamation.png) 8px 50% no-repeat;
841 background-color: #ffe3e3;
841 background-color: #ffe3e3;
842 border-color: #d88;
842 border-color: #d88;
843 color: #880000;
843 color: #880000;
844 }
844 }
845
845
846 div.flash.notice {
846 div.flash.notice {
847 background: url(../images/true.png) 8px 5px no-repeat;
847 background: url(../images/true.png) 8px 5px no-repeat;
848 background-color: #dfffdf;
848 background-color: #dfffdf;
849 border-color: #9fcf9f;
849 border-color: #9fcf9f;
850 color: #005f00;
850 color: #005f00;
851 }
851 }
852
852
853 div.flash.warning, .conflict {
853 div.flash.warning, .conflict {
854 background: url(../images/warning.png) 8px 5px no-repeat;
854 background: url(../images/warning.png) 8px 5px no-repeat;
855 background-color: #F3EDD1;
855 background-color: #F3EDD1;
856 border-color: #eadbbc;
856 border-color: #eadbbc;
857 color: #A6750C;
857 color: #A6750C;
858 text-align: left;
858 text-align: left;
859 }
859 }
860
860
861 .nodata, .warning {
861 .nodata, .warning {
862 text-align: center;
862 text-align: center;
863 background-color: #F3EDD1;
863 background-color: #F3EDD1;
864 border-color: #eadbbc;
864 border-color: #eadbbc;
865 color: #A6750C;
865 color: #A6750C;
866 }
866 }
867
867
868 #errorExplanation ul { font-size: 0.9em;}
868 #errorExplanation ul { font-size: 0.9em;}
869 #errorExplanation h2, #errorExplanation p { display: none; }
869 #errorExplanation h2, #errorExplanation p { display: none; }
870
870
871 .conflict-details {font-size:80%;}
871 .conflict-details {font-size:80%;}
872
872
873 /***** Ajax indicator ******/
873 /***** Ajax indicator ******/
874 #ajax-indicator {
874 #ajax-indicator {
875 position: absolute; /* fixed not supported by IE */
875 position: absolute; /* fixed not supported by IE */
876 background-color:#eee;
876 background-color:#eee;
877 border: 1px solid #bbb;
877 border: 1px solid #bbb;
878 top:35%;
878 top:35%;
879 left:40%;
879 left:40%;
880 width:20%;
880 width:20%;
881 font-weight:bold;
881 font-weight:bold;
882 text-align:center;
882 text-align:center;
883 padding:0.6em;
883 padding:0.6em;
884 z-index:100;
884 z-index:100;
885 opacity: 0.5;
885 opacity: 0.5;
886 }
886 }
887
887
888 html>body #ajax-indicator { position: fixed; }
888 html>body #ajax-indicator { position: fixed; }
889
889
890 #ajax-indicator span {
890 #ajax-indicator span {
891 background-position: 0% 40%;
891 background-position: 0% 40%;
892 background-repeat: no-repeat;
892 background-repeat: no-repeat;
893 background-image: url(../images/loading.gif);
893 background-image: url(../images/loading.gif);
894 padding-left: 26px;
894 padding-left: 26px;
895 vertical-align: bottom;
895 vertical-align: bottom;
896 }
896 }
897
897
898 /***** Calendar *****/
898 /***** Calendar *****/
899 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
899 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
900 table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; }
900 table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; }
901 table.cal thead th.week-number {width: auto;}
901 table.cal thead th.week-number {width: auto;}
902 table.cal tbody tr {height: 100px;}
902 table.cal tbody tr {height: 100px;}
903 table.cal td .icon {padding-top: 2px; padding-bottom: 3px;}
903 table.cal td .icon {padding-top: 2px; padding-bottom: 3px;}
904 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
904 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
905 table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;}
905 table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;}
906 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
906 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
907 table.cal td.odd p.day-num {color: #bbb;}
907 table.cal td.odd p.day-num {color: #bbb;}
908 table.cal td.today {background:#ffffdd;}
908 table.cal td.today {background:#ffffdd;}
909 table.cal td.today p.day-num {font-weight: bold;}
909 table.cal td.today p.day-num {font-weight: bold;}
910 table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
910 table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
911 table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
911 table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
912 table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
912 table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
913 p.cal.legend span {display:block;}
913 p.cal.legend span {display:block;}
914
914
915 /***** Tooltips ******/
915 /***** Tooltips ******/
916 .tooltip{position:relative;z-index:24;}
916 .tooltip{position:relative;z-index:24;}
917 .tooltip:hover{z-index:25;color:#000;}
917 .tooltip:hover{z-index:25;color:#000;}
918 .tooltip span.tip{display: none; text-align:left;}
918 .tooltip span.tip{display: none; text-align:left;}
919
919
920 div.tooltip:hover span.tip{
920 div.tooltip:hover span.tip{
921 display:block;
921 display:block;
922 position:absolute;
922 position:absolute;
923 top:12px; width:270px;
923 top:12px; width:270px;
924 border:1px solid #555;
924 border:1px solid #555;
925 background-color:#fff;
925 background-color:#fff;
926 padding: 4px;
926 padding: 4px;
927 font-size: 0.8em;
927 font-size: 0.8em;
928 color:#505050;
928 color:#505050;
929 }
929 }
930
930
931 img.ui-datepicker-trigger {
931 img.ui-datepicker-trigger {
932 cursor: pointer;
932 cursor: pointer;
933 vertical-align: middle;
933 vertical-align: middle;
934 margin-left: 4px;
934 margin-left: 4px;
935 }
935 }
936
936
937 /***** Progress bar *****/
937 /***** Progress bar *****/
938 table.progress {
938 table.progress {
939 border-collapse: collapse;
939 border-collapse: collapse;
940 border-spacing: 0pt;
940 border-spacing: 0pt;
941 empty-cells: show;
941 empty-cells: show;
942 text-align: center;
942 text-align: center;
943 float:left;
943 float:left;
944 margin: 1px 6px 1px 0px;
944 margin: 1px 6px 1px 0px;
945 }
945 }
946
946
947 table.progress {width:80px;}
947 table.progress {width:80px;}
948 table.progress td { height: 1em; }
948 table.progress td { height: 1em; }
949 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
949 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
950 table.progress td.done { background: #D3EDD3 none repeat scroll 0%; }
950 table.progress td.done { background: #D3EDD3 none repeat scroll 0%; }
951 table.progress td.todo { background: #eee none repeat scroll 0%; }
951 table.progress td.todo { background: #eee none repeat scroll 0%; }
952 p.percent {font-size: 80%; margin:0;}
952 p.percent {font-size: 80%; margin:0;}
953 p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;}
953 p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;}
954
954
955 .version-overview table.progress {width:40em;}
955 .version-overview table.progress {width:40em;}
956 .version-overview table.progress td { height: 1.2em; }
956 .version-overview table.progress td { height: 1.2em; }
957
957
958 /***** Tabs *****/
958 /***** Tabs *****/
959 #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
959 #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
960 #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
960 #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
961 #content .tabs ul li {
961 #content .tabs ul li {
962 float:left;
962 float:left;
963 list-style-type:none;
963 list-style-type:none;
964 white-space:nowrap;
964 white-space:nowrap;
965 margin-right:4px;
965 margin-right:4px;
966 background:#fff;
966 background:#fff;
967 position:relative;
967 position:relative;
968 margin-bottom:-1px;
968 margin-bottom:-1px;
969 }
969 }
970 #content .tabs ul li a{
970 #content .tabs ul li a{
971 display:block;
971 display:block;
972 font-size: 0.9em;
972 font-size: 0.9em;
973 text-decoration:none;
973 text-decoration:none;
974 line-height:1.3em;
974 line-height:1.3em;
975 padding:4px 6px 4px 6px;
975 padding:4px 6px 4px 6px;
976 border: 1px solid #ccc;
976 border: 1px solid #ccc;
977 border-bottom: 1px solid #bbbbbb;
977 border-bottom: 1px solid #bbbbbb;
978 background-color: #f6f6f6;
978 background-color: #f6f6f6;
979 color:#999;
979 color:#999;
980 font-weight:bold;
980 font-weight:bold;
981 border-top-left-radius:3px;
981 border-top-left-radius:3px;
982 border-top-right-radius:3px;
982 border-top-right-radius:3px;
983 }
983 }
984
984
985 #content .tabs ul li a:hover {
985 #content .tabs ul li a:hover {
986 background-color: #ffffdd;
986 background-color: #ffffdd;
987 text-decoration:none;
987 text-decoration:none;
988 }
988 }
989
989
990 #content .tabs ul li a.selected {
990 #content .tabs ul li a.selected {
991 background-color: #fff;
991 background-color: #fff;
992 border: 1px solid #bbbbbb;
992 border: 1px solid #bbbbbb;
993 border-bottom: 1px solid #fff;
993 border-bottom: 1px solid #fff;
994 color:#444;
994 color:#444;
995 }
995 }
996
996
997 #content .tabs ul li a.selected:hover {background-color: #fff;}
997 #content .tabs ul li a.selected:hover {background-color: #fff;}
998
998
999 div.tabs-buttons { position:absolute; right: 0; width: 54px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
999 div.tabs-buttons { position:absolute; right: 0; width: 54px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
1000
1000
1001 button.tab-left, button.tab-right {
1001 button.tab-left, button.tab-right {
1002 font-size: 0.9em;
1002 font-size: 0.9em;
1003 cursor: pointer;
1003 cursor: pointer;
1004 height:24px;
1004 height:24px;
1005 border: 1px solid #ccc;
1005 border: 1px solid #ccc;
1006 border-bottom: 1px solid #bbbbbb;
1006 border-bottom: 1px solid #bbbbbb;
1007 position:absolute;
1007 position:absolute;
1008 padding:4px;
1008 padding:4px;
1009 width: 20px;
1009 width: 20px;
1010 bottom: -1px;
1010 bottom: -1px;
1011 }
1011 }
1012 button.tab-left:hover, button.tab-right:hover {
1012 button.tab-left:hover, button.tab-right:hover {
1013 background-color: #f5f5f5;
1013 background-color: #f5f5f5;
1014 }
1014 }
1015 button.tab-left:focus, button.tab-right:focus {
1015 button.tab-left:focus, button.tab-right:focus {
1016 outline: 0;
1016 outline: 0;
1017 }
1017 }
1018
1018
1019 button.tab-left {
1019 button.tab-left {
1020 right: 20px;
1020 right: 20px;
1021 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
1021 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
1022 border-top-left-radius:3px;
1022 border-top-left-radius:3px;
1023 }
1023 }
1024
1024
1025 button.tab-right {
1025 button.tab-right {
1026 right: 0;
1026 right: 0;
1027 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;
1027 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;
1028 border-top-right-radius:3px;
1028 border-top-right-radius:3px;
1029 }
1029 }
1030
1030
1031 button.tab-left.disabled, button.tab-right.disabled {
1031 button.tab-left.disabled, button.tab-right.disabled {
1032 background-color: #ccc;
1032 background-color: #ccc;
1033 cursor: unset;
1033 cursor: unset;
1034 }
1034 }
1035
1035
1036 /***** Diff *****/
1036 /***** Diff *****/
1037 .diff_out { background: #fcc; }
1037 .diff_out { background: #fcc; }
1038 .diff_out span { background: #faa; }
1038 .diff_out span { background: #faa; }
1039 .diff_in { background: #cfc; }
1039 .diff_in { background: #cfc; }
1040 .diff_in span { background: #afa; }
1040 .diff_in span { background: #afa; }
1041
1041
1042 .text-diff {
1042 .text-diff {
1043 padding: 1em;
1043 padding: 1em;
1044 background-color:#f6f6f6;
1044 background-color:#f6f6f6;
1045 color:#505050;
1045 color:#505050;
1046 border: 1px solid #e4e4e4;
1046 border: 1px solid #e4e4e4;
1047 }
1047 }
1048
1048
1049 /***** Wiki *****/
1049 /***** Wiki *****/
1050 div.wiki table {
1050 div.wiki table {
1051 border-collapse: collapse;
1051 border-collapse: collapse;
1052 margin-bottom: 1em;
1052 margin-bottom: 1em;
1053 }
1053 }
1054
1054
1055 div.wiki table, div.wiki td, div.wiki th {
1055 div.wiki table, div.wiki td, div.wiki th {
1056 border: 1px solid #bbb;
1056 border: 1px solid #bbb;
1057 padding: 4px;
1057 padding: 4px;
1058 }
1058 }
1059
1059
1060 div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;}
1060 div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;}
1061
1061
1062 div.wiki .external {
1062 div.wiki .external {
1063 background-position: 0% 60%;
1063 background-position: 0% 60%;
1064 background-repeat: no-repeat;
1064 background-repeat: no-repeat;
1065 padding-left: 12px;
1065 padding-left: 12px;
1066 background-image: url(../images/external.png);
1066 background-image: url(../images/external.png);
1067 }
1067 }
1068
1068
1069 div.wiki a {word-wrap: break-word;}
1069 div.wiki a {word-wrap: break-word;}
1070 div.wiki a.new {color: #b73535;}
1070 div.wiki a.new {color: #b73535;}
1071
1071
1072 div.wiki ul, div.wiki ol {margin-bottom:1em;}
1072 div.wiki ul, div.wiki ol {margin-bottom:1em;}
1073 div.wiki li>ul, div.wiki li>ol {margin-bottom: 0;}
1073 div.wiki li>ul, div.wiki li>ol {margin-bottom: 0;}
1074
1074
1075 div.wiki pre {
1075 div.wiki pre {
1076 margin: 1em 1em 1em 1.6em;
1076 margin: 1em 1em 1em 1.6em;
1077 padding: 8px;
1077 padding: 8px;
1078 background-color: #fafafa;
1078 background-color: #fafafa;
1079 border: 1px solid #e2e2e2;
1079 border: 1px solid #e2e2e2;
1080 border-radius: 3px;
1080 border-radius: 3px;
1081 width:auto;
1081 width:auto;
1082 overflow-x: auto;
1082 overflow-x: auto;
1083 overflow-y: hidden;
1083 overflow-y: hidden;
1084 }
1084 }
1085
1085
1086 div.wiki ul.toc {
1086 div.wiki ul.toc {
1087 background-color: #ffffdd;
1087 background-color: #ffffdd;
1088 border: 1px solid #e4e4e4;
1088 border: 1px solid #e4e4e4;
1089 padding: 4px;
1089 padding: 4px;
1090 line-height: 1.2em;
1090 line-height: 1.2em;
1091 margin-bottom: 12px;
1091 margin-bottom: 12px;
1092 margin-right: 12px;
1092 margin-right: 12px;
1093 margin-left: 0;
1093 margin-left: 0;
1094 display: table
1094 display: table
1095 }
1095 }
1096 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
1096 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
1097
1097
1098 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
1098 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
1099 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
1099 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
1100 div.wiki ul.toc ul { margin: 0; padding: 0; }
1100 div.wiki ul.toc ul { margin: 0; padding: 0; }
1101 div.wiki ul.toc li {list-style-type:none; margin: 0; font-size:12px;}
1101 div.wiki ul.toc li {list-style-type:none; margin: 0; font-size:12px;}
1102 div.wiki ul.toc>li:first-child {margin-bottom: .5em; color: #777;}
1102 div.wiki ul.toc>li:first-child {margin-bottom: .5em; color: #777;}
1103 div.wiki ul.toc li li {margin-left: 1.5em; font-size:10px;}
1103 div.wiki ul.toc li li {margin-left: 1.5em; font-size:10px;}
1104 div.wiki ul.toc a {
1104 div.wiki ul.toc a {
1105 font-size: 0.9em;
1105 font-size: 0.9em;
1106 font-weight: normal;
1106 font-weight: normal;
1107 text-decoration: none;
1107 text-decoration: none;
1108 color: #606060;
1108 color: #606060;
1109 }
1109 }
1110 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
1110 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
1111
1111
1112 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
1112 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
1113 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
1113 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
1114 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
1114 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
1115
1115
1116 div.wiki img {vertical-align:middle; max-width:100%;}
1116 div.wiki img {vertical-align:middle; max-width:100%;}
1117
1117
1118 /***** My page layout *****/
1118 /***** My page layout *****/
1119 .block-receiver {
1119 .block-receiver {
1120 border:1px dashed #c0c0c0;
1120 border:1px dashed #c0c0c0;
1121 margin-bottom: 20px;
1121 margin-bottom: 20px;
1122 padding: 15px 0 15px 0;
1122 padding: 15px 0 15px 0;
1123 }
1123 }
1124
1124
1125 .mypage-box {
1125 .mypage-box {
1126 margin:0 0 20px 0;
1126 margin:0 0 20px 0;
1127 color:#505050;
1127 color:#505050;
1128 line-height:1.5em;
1128 line-height:1.5em;
1129 }
1129 }
1130 .mypage-box .icon-close {
1130 .mypage-box .icon-close {
1131 float:right;
1131 float:right;
1132 }
1132 }
1133
1133
1134 .handle {cursor: move;}
1134 .handle {cursor: move;}
1135
1135
1136 /***** Gantt chart *****/
1136 /***** Gantt chart *****/
1137 .gantt_hdr {
1137 .gantt_hdr {
1138 position:absolute;
1138 position:absolute;
1139 top:0;
1139 top:0;
1140 height:16px;
1140 height:16px;
1141 border-top: 1px solid #c0c0c0;
1141 border-top: 1px solid #c0c0c0;
1142 border-bottom: 1px solid #c0c0c0;
1142 border-bottom: 1px solid #c0c0c0;
1143 border-right: 1px solid #c0c0c0;
1143 border-right: 1px solid #c0c0c0;
1144 text-align: center;
1144 text-align: center;
1145 overflow: hidden;
1145 overflow: hidden;
1146 }
1146 }
1147
1147
1148 .gantt_hdr.nwday {background-color:#f1f1f1; color:#999;}
1148 .gantt_hdr.nwday {background-color:#f1f1f1; color:#999;}
1149
1149
1150 .gantt_subjects { font-size: 0.8em; }
1150 .gantt_subjects { font-size: 0.8em; }
1151 .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }
1151 .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }
1152
1152
1153 .task {
1153 .task {
1154 position: absolute;
1154 position: absolute;
1155 height:8px;
1155 height:8px;
1156 font-size:0.8em;
1156 font-size:0.8em;
1157 color:#888;
1157 color:#888;
1158 padding:0;
1158 padding:0;
1159 margin:0;
1159 margin:0;
1160 line-height:16px;
1160 line-height:16px;
1161 white-space:nowrap;
1161 white-space:nowrap;
1162 }
1162 }
1163
1163
1164 .task.label {width:100%;}
1164 .task.label {width:100%;}
1165 .task.label.project, .task.label.version { font-weight: bold; }
1165 .task.label.project, .task.label.version { font-weight: bold; }
1166
1166
1167 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
1167 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
1168 .task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; }
1168 .task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; }
1169 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
1169 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
1170
1170
1171 .task_todo.parent { background: #888; border: 1px solid #888; height: 3px;}
1171 .task_todo.parent { background: #888; border: 1px solid #888; height: 3px;}
1172 .task_late.parent, .task_done.parent { height: 3px;}
1172 .task_late.parent, .task_done.parent { height: 3px;}
1173 .task.parent.marker.starting { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; left: 0px; top: -1px;}
1173 .task.parent.marker.starting { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; left: 0px; top: -1px;}
1174 .task.parent.marker.ending { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; right: 0px; top: -1px;}
1174 .task.parent.marker.ending { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; right: 0px; top: -1px;}
1175
1175
1176 .version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
1176 .version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
1177 .version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
1177 .version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
1178 .version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
1178 .version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
1179 .version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
1179 .version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
1180
1180
1181 .project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
1181 .project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
1182 .project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
1182 .project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
1183 .project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
1183 .project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
1184 .project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
1184 .project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
1185
1185
1186 .version-behind-schedule a, .issue-behind-schedule a {color: #f66914;}
1186 .version-behind-schedule a, .issue-behind-schedule a {color: #f66914;}
1187 .version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}
1187 .version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}
1188
1188
1189 /***** Icons *****/
1189 /***** Icons *****/
1190 .icon {
1190 .icon {
1191 background-position: 0% 50%;
1191 background-position: 0% 50%;
1192 background-repeat: no-repeat;
1192 background-repeat: no-repeat;
1193 padding-left: 20px;
1193 padding-left: 20px;
1194 }
1194 }
1195 .icon-only {
1195 .icon-only {
1196 background-position: 0% 50%;
1196 background-position: 0% 50%;
1197 background-repeat: no-repeat;
1197 background-repeat: no-repeat;
1198 padding-left: 16px;
1198 padding-left: 16px;
1199 display: inline-block;
1199 display: inline-block;
1200 width: 0;
1200 width: 0;
1201 height: 16px;
1201 height: 16px;
1202 overflow: hidden;
1202 overflow: hidden;
1203 padding-top: 0;
1203 padding-top: 0;
1204 padding-bottom: 0;
1204 padding-bottom: 0;
1205 font-size: 8px;
1205 font-size: 8px;
1206 vertical-align: middle;
1206 vertical-align: middle;
1207 }
1207 }
1208 .icon-only::after {
1208 .icon-only::after {
1209 content: "&nbsp;";
1209 content: "&nbsp;";
1210 }
1210 }
1211
1211
1212 .icon-add { background-image: url(../images/add.png); }
1212 .icon-add { background-image: url(../images/add.png); }
1213 .icon-edit { background-image: url(../images/edit.png); }
1213 .icon-edit { background-image: url(../images/edit.png); }
1214 .icon-copy { background-image: url(../images/copy.png); }
1214 .icon-copy { background-image: url(../images/copy.png); }
1215 .icon-duplicate { background-image: url(../images/duplicate.png); }
1215 .icon-duplicate { background-image: url(../images/duplicate.png); }
1216 .icon-del { background-image: url(../images/delete.png); }
1216 .icon-del { background-image: url(../images/delete.png); }
1217 .icon-move { background-image: url(../images/move.png); }
1217 .icon-move { background-image: url(../images/move.png); }
1218 .icon-save { background-image: url(../images/save.png); }
1218 .icon-save { background-image: url(../images/save.png); }
1219 .icon-cancel { background-image: url(../images/cancel.png); }
1219 .icon-cancel { background-image: url(../images/cancel.png); }
1220 .icon-multiple { background-image: url(../images/table_multiple.png); }
1220 .icon-multiple { background-image: url(../images/table_multiple.png); }
1221 .icon-folder { background-image: url(../images/folder.png); }
1221 .icon-folder { background-image: url(../images/folder.png); }
1222 .open .icon-folder { background-image: url(../images/folder_open.png); }
1222 .open .icon-folder { background-image: url(../images/folder_open.png); }
1223 .icon-package { background-image: url(../images/package.png); }
1223 .icon-package { background-image: url(../images/package.png); }
1224 .icon-user { background-image: url(../images/user.png); }
1224 .icon-user { background-image: url(../images/user.png); }
1225 .icon-project, .icon-projects { background-image: url(../images/projects.png); }
1225 .icon-project, .icon-projects { background-image: url(../images/projects.png); }
1226 .icon-help { background-image: url(../images/help.png); }
1226 .icon-help { background-image: url(../images/help.png); }
1227 .icon-attachment { background-image: url(../images/attachment.png); }
1227 .icon-attachment { background-image: url(../images/attachment.png); }
1228 .icon-history { background-image: url(../images/history.png); }
1228 .icon-history { background-image: url(../images/history.png); }
1229 .icon-time-entry, .icon-time { background-image: url(../images/time.png); }
1229 .icon-time-entry, .icon-time { background-image: url(../images/time.png); }
1230 .icon-time-add { background-image: url(../images/time_add.png); }
1230 .icon-time-add { background-image: url(../images/time_add.png); }
1231 .icon-stats { background-image: url(../images/stats.png); }
1231 .icon-stats { background-image: url(../images/stats.png); }
1232 .icon-warning { background-image: url(../images/warning.png); }
1232 .icon-warning { background-image: url(../images/warning.png); }
1233 .icon-error { background-image: url(../images/exclamation.png); }
1233 .icon-error { background-image: url(../images/exclamation.png); }
1234 .icon-fav { background-image: url(../images/fav.png); }
1234 .icon-fav { background-image: url(../images/fav.png); }
1235 .icon-fav-off { background-image: url(../images/fav_off.png); }
1235 .icon-fav-off { background-image: url(../images/fav_off.png); }
1236 .icon-reload { background-image: url(../images/reload.png); }
1236 .icon-reload { background-image: url(../images/reload.png); }
1237 .icon-lock, .icon-locked { background-image: url(../images/locked.png); }
1237 .icon-lock, .icon-locked { background-image: url(../images/locked.png); }
1238 .icon-unlock { background-image: url(../images/unlock.png); }
1238 .icon-unlock { background-image: url(../images/unlock.png); }
1239 .icon-checked { background-image: url(../images/toggle_check.png); }
1239 .icon-checked { background-image: url(../images/toggle_check.png); }
1240 .icon-report { background-image: url(../images/report.png); }
1240 .icon-report { background-image: url(../images/report.png); }
1241 .icon-comment, .icon-comments { background-image: url(../images/comment.png); }
1241 .icon-comment, .icon-comments { background-image: url(../images/comment.png); }
1242 .icon-summary { background-image: url(../images/lightning.png); }
1242 .icon-summary { background-image: url(../images/lightning.png); }
1243 .icon-server-authentication { background-image: url(../images/server_key.png); }
1243 .icon-server-authentication { background-image: url(../images/server_key.png); }
1244 .icon-issue { background-image: url(../images/ticket.png); }
1244 .icon-issue { background-image: url(../images/ticket.png); }
1245 .icon-zoom-in { background-image: url(../images/zoom_in.png); }
1245 .icon-zoom-in { background-image: url(../images/zoom_in.png); }
1246 .icon-zoom-out { background-image: url(../images/zoom_out.png); }
1246 .icon-zoom-out { background-image: url(../images/zoom_out.png); }
1247 .icon-magnifier { background-image: url(../images/magnifier.png); }
1247 .icon-magnifier { background-image: url(../images/magnifier.png); }
1248 .icon-passwd { background-image: url(../images/textfield_key.png); }
1248 .icon-passwd { background-image: url(../images/textfield_key.png); }
1249 .icon-arrow-right, .icon-test, .icon-sticky { background-image: url(../images/bullet_go.png); }
1249 .icon-arrow-right, .icon-test, .icon-sticky { background-image: url(../images/bullet_go.png); }
1250 .icon-email { background-image: url(../images/email.png); }
1250 .icon-email { background-image: url(../images/email.png); }
1251 .icon-email-disabled { background-image: url(../images/email_disabled.png); }
1251 .icon-email-disabled { background-image: url(../images/email_disabled.png); }
1252 .icon-email-add { background-image: url(../images/email_add.png); }
1252 .icon-email-add { background-image: url(../images/email_add.png); }
1253 .icon-move-up { background-image: url(../images/1uparrow.png); }
1253 .icon-move-up { background-image: url(../images/1uparrow.png); }
1254 .icon-move-top { background-image: url(../images/2uparrow.png); }
1254 .icon-move-top { background-image: url(../images/2uparrow.png); }
1255 .icon-move-down { background-image: url(../images/1downarrow.png); }
1255 .icon-move-down { background-image: url(../images/1downarrow.png); }
1256 .icon-move-bottom { background-image: url(../images/2downarrow.png); }
1256 .icon-move-bottom { background-image: url(../images/2downarrow.png); }
1257 .icon-ok { background-image: url(../images/true.png); }
1257 .icon-ok { background-image: url(../images/true.png); }
1258 .icon-not-ok { background-image: url(../images/false.png); }
1258 .icon-not-ok { background-image: url(../images/false.png); }
1259 .icon-link-break { background-image: url(../images/link_break.png); }
1259 .icon-link-break { background-image: url(../images/link_break.png); }
1260 .icon-list { background-image: url(../images/text_list_bullets.png); }
1260 .icon-list { background-image: url(../images/text_list_bullets.png); }
1261 .icon-close { background-image: url(../images/close.png); }
1261 .icon-close { background-image: url(../images/close.png); }
1262 .icon-close:hover { background-image: url(../images/close_hl.png); }
1262 .icon-close:hover { background-image: url(../images/close_hl.png); }
1263 .icon-settings { background-image: url(../images/changeset.png); }
1263 .icon-settings { background-image: url(../images/changeset.png); }
1264 .icon-group, .icon-groupnonmember, .icon-groupanonymous { background-image: url(../images/group.png); }
1264 .icon-group, .icon-groupnonmember, .icon-groupanonymous { background-image: url(../images/group.png); }
1265 .icon-roles { background-image: url(../images/database_key.png); }
1265 .icon-roles { background-image: url(../images/database_key.png); }
1266 .icon-issue-edit { background-image: url(../images/ticket_edit.png); }
1266 .icon-issue-edit { background-image: url(../images/ticket_edit.png); }
1267 .icon-workflows { background-image: url(../images/ticket_go.png); }
1267 .icon-workflows { background-image: url(../images/ticket_go.png); }
1268 .icon-custom-fields { background-image: url(../images/textfield.png); }
1268 .icon-custom-fields { background-image: url(../images/textfield.png); }
1269 .icon-plugins { background-image: url(../images/plugin.png); }
1269 .icon-plugins { background-image: url(../images/plugin.png); }
1270 .icon-news { background-image: url(../images/news.png); }
1270 .icon-news { background-image: url(../images/news.png); }
1271 .icon-issue-closed { background-image: url(../images/ticket_checked.png); }
1271 .icon-issue-closed { background-image: url(../images/ticket_checked.png); }
1272 .icon-issue-note { background-image: url(../images/ticket_note.png); }
1272 .icon-issue-note { background-image: url(../images/ticket_note.png); }
1273 .icon-changeset { background-image: url(../images/changeset.png); }
1273 .icon-changeset { background-image: url(../images/changeset.png); }
1274 .icon-message { background-image: url(../images/message.png); }
1274 .icon-message { background-image: url(../images/message.png); }
1275 .icon-reply { background-image: url(../images/comments.png); }
1275 .icon-reply { background-image: url(../images/comments.png); }
1276 .icon-wiki-page { background-image: url(../images/wiki_edit.png); }
1276 .icon-wiki-page { background-image: url(../images/wiki_edit.png); }
1277 .icon-document { background-image: url(../images/document.png); }
1277 .icon-document { background-image: url(../images/document.png); }
1278 .icon-project { background-image: url(../images/projects.png); }
1278 .icon-project { background-image: url(../images/projects.png); }
1279 .icon-add-bullet { background-image: url(../images/bullet_add.png); }
1279 .icon-add-bullet { background-image: url(../images/bullet_add.png); }
1280 .icon-shared { background-image: url(../images/link.png) };
1280 .icon-shared { background-image: url(../images/link.png) };
1281
1281
1282 .icon-file { background-image: url(../images/files/default.png); }
1282 .icon-file { background-image: url(../images/files/default.png); }
1283 .icon-file.text-plain { background-image: url(../images/files/text.png); }
1283 .icon-file.text-plain { background-image: url(../images/files/text.png); }
1284 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
1284 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
1285 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
1285 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
1286 .icon-file.text-x-java { background-image: url(../images/files/java.png); }
1286 .icon-file.text-x-java { background-image: url(../images/files/java.png); }
1287 .icon-file.text-x-javascript { background-image: url(../images/files/js.png); }
1287 .icon-file.text-x-javascript { background-image: url(../images/files/js.png); }
1288 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
1288 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
1289 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
1289 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
1290 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
1290 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
1291 .icon-file.text-css { background-image: url(../images/files/css.png); }
1291 .icon-file.text-css { background-image: url(../images/files/css.png); }
1292 .icon-file.text-html { background-image: url(../images/files/html.png); }
1292 .icon-file.text-html { background-image: url(../images/files/html.png); }
1293 .icon-file.image-gif { background-image: url(../images/files/image.png); }
1293 .icon-file.image-gif { background-image: url(../images/files/image.png); }
1294 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
1294 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
1295 .icon-file.image-png { background-image: url(../images/files/image.png); }
1295 .icon-file.image-png { background-image: url(../images/files/image.png); }
1296 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
1296 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
1297 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
1297 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
1298 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
1298 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
1299 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
1299 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
1300
1300
1301 .sort-handle { width:16px; height:16px; background:url(../images/reorder.png) no-repeat 0 50%; cursor:move; }
1301 .sort-handle { width:16px; height:16px; background:url(../images/reorder.png) no-repeat 0 50%; cursor:move; }
1302 .sort-handle.ajax-loading { background-image: url(../images/loading.gif); }
1302 .sort-handle.ajax-loading { background-image: url(../images/loading.gif); }
1303 tr.ui-sortable-helper { border:1px solid #e4e4e4; }
1303 tr.ui-sortable-helper { border:1px solid #e4e4e4; }
1304
1304
1305 .contextual>*:not(:first-child), .buttons>.icon:not(:first-child) { margin-left: 5px; }
1305 .contextual>*:not(:first-child), .buttons>.icon:not(:first-child) { margin-left: 5px; }
1306
1306
1307 img.gravatar {
1307 img.gravatar {
1308 vertical-align: middle;
1308 vertical-align: middle;
1309 border-radius: 20%;
1309 border-radius: 20%;
1310 }
1310 }
1311
1311
1312 div.issue img.gravatar {
1312 div.issue img.gravatar {
1313 float: left;
1313 float: left;
1314 margin: 0 6px 0 0;
1314 margin: 0 6px 0 0;
1315 }
1315 }
1316
1316
1317 h2 img.gravatar {margin: -2px 4px -4px 0;}
1317 h2 img.gravatar {margin: -2px 4px -4px 0;}
1318 h3 img.gravatar {margin: -4px 4px -4px 0;}
1318 h3 img.gravatar {margin: -4px 4px -4px 0;}
1319 h4 img.gravatar {margin: -2px 4px -4px 0;}
1319 h4 img.gravatar {margin: -2px 4px -4px 0;}
1320 td.username img.gravatar {margin: 0 0.5em 0 0; vertical-align: top;}
1320 td.username img.gravatar {margin: 0 0.5em 0 0; vertical-align: top;}
1321 #activity dt img.gravatar {float: left; margin: 0 1em 1em 0;}
1321 #activity dt img.gravatar {float: left; margin: 0 1em 1em 0;}
1322 /* Used on 12px Gravatar img tags without the icon background */
1322 /* Used on 12px Gravatar img tags without the icon background */
1323 .icon-gravatar {float: left; margin-right: 4px;}
1323 .icon-gravatar {float: left; margin-right: 4px;}
1324
1324
1325 #activity dt, .journal {clear: left;}
1325 #activity dt, .journal {clear: left;}
1326
1326
1327 .journal-link {float: right;}
1327 .journal-link {float: right;}
1328
1328
1329 h2 img { vertical-align:middle; }
1329 h2 img { vertical-align:middle; }
1330
1330
1331 .hascontextmenu { cursor: context-menu; }
1331 .hascontextmenu { cursor: context-menu; }
1332
1332
1333 .sample-data {border:1px solid #ccc; border-collapse:collapse; background-color:#fff; margin:0.5em;}
1333 .sample-data {border:1px solid #ccc; border-collapse:collapse; background-color:#fff; margin:0.5em;}
1334 .sample-data td {border:1px solid #ccc; padding: 2px 4px; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
1334 .sample-data td {border:1px solid #ccc; padding: 2px 4px; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
1335 .sample-data tr:first-child td {font-weight:bold; text-align:center;}
1335 .sample-data tr:first-child td {font-weight:bold; text-align:center;}
1336
1336
1337 .ui-progressbar {position: relative;}
1337 .ui-progressbar {position: relative;}
1338 #progress-label {
1338 #progress-label {
1339 position: absolute; left: 50%; top: 4px;
1339 position: absolute; left: 50%; top: 4px;
1340 font-weight: bold;
1340 font-weight: bold;
1341 color: #555; text-shadow: 1px 1px 0 #fff;
1341 color: #555; text-shadow: 1px 1px 0 #fff;
1342 }
1342 }
1343
1343
1344 /* Custom JQuery styles */
1344 /* Custom JQuery styles */
1345 .ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;}
1345 .ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;}
1346
1346
1347
1347
1348 /************* CodeRay styles *************/
1348 /************* CodeRay styles *************/
1349 .syntaxhl div {display: inline;}
1349 .syntaxhl div {display: inline;}
1350 .syntaxhl .code pre { overflow: auto }
1350 .syntaxhl .code pre { overflow: auto }
1351
1351
1352 .syntaxhl .annotation { color:#007 }
1352 .syntaxhl .annotation { color:#007 }
1353 .syntaxhl .attribute-name { color:#b48 }
1353 .syntaxhl .attribute-name { color:#b48 }
1354 .syntaxhl .attribute-value { color:#700 }
1354 .syntaxhl .attribute-value { color:#700 }
1355 .syntaxhl .binary { color:#549 }
1355 .syntaxhl .binary { color:#549 }
1356 .syntaxhl .binary .char { color:#325 }
1356 .syntaxhl .binary .char { color:#325 }
1357 .syntaxhl .binary .delimiter { color:#325 }
1357 .syntaxhl .binary .delimiter { color:#325 }
1358 .syntaxhl .char { color:#D20 }
1358 .syntaxhl .char { color:#D20 }
1359 .syntaxhl .char .content { color:#D20 }
1359 .syntaxhl .char .content { color:#D20 }
1360 .syntaxhl .char .delimiter { color:#710 }
1360 .syntaxhl .char .delimiter { color:#710 }
1361 .syntaxhl .class { color:#B06; font-weight:bold }
1361 .syntaxhl .class { color:#B06; font-weight:bold }
1362 .syntaxhl .class-variable { color:#369 }
1362 .syntaxhl .class-variable { color:#369 }
1363 .syntaxhl .color { color:#0A0 }
1363 .syntaxhl .color { color:#0A0 }
1364 .syntaxhl .comment { color:#777 }
1364 .syntaxhl .comment { color:#777 }
1365 .syntaxhl .comment .char { color:#444 }
1365 .syntaxhl .comment .char { color:#444 }
1366 .syntaxhl .comment .delimiter { color:#444 }
1366 .syntaxhl .comment .delimiter { color:#444 }
1367 .syntaxhl .constant { color:#036; font-weight:bold }
1367 .syntaxhl .constant { color:#036; font-weight:bold }
1368 .syntaxhl .decorator { color:#B0B }
1368 .syntaxhl .decorator { color:#B0B }
1369 .syntaxhl .definition { color:#099; font-weight:bold }
1369 .syntaxhl .definition { color:#099; font-weight:bold }
1370 .syntaxhl .delimiter { color:black }
1370 .syntaxhl .delimiter { color:black }
1371 .syntaxhl .directive { color:#088; font-weight:bold }
1371 .syntaxhl .directive { color:#088; font-weight:bold }
1372 .syntaxhl .docstring { color:#D42; }
1372 .syntaxhl .docstring { color:#D42; }
1373 .syntaxhl .doctype { color:#34b }
1373 .syntaxhl .doctype { color:#34b }
1374 .syntaxhl .done { text-decoration: line-through; color: gray }
1374 .syntaxhl .done { text-decoration: line-through; color: gray }
1375 .syntaxhl .entity { color:#800; font-weight:bold }
1375 .syntaxhl .entity { color:#800; font-weight:bold }
1376 .syntaxhl .error { color:#F00; background-color:#FAA }
1376 .syntaxhl .error { color:#F00; background-color:#FAA }
1377 .syntaxhl .escape { color:#666 }
1377 .syntaxhl .escape { color:#666 }
1378 .syntaxhl .exception { color:#C00; font-weight:bold }
1378 .syntaxhl .exception { color:#C00; font-weight:bold }
1379 .syntaxhl .float { color:#60E }
1379 .syntaxhl .float { color:#60E }
1380 .syntaxhl .function { color:#06B; font-weight:bold }
1380 .syntaxhl .function { color:#06B; font-weight:bold }
1381 .syntaxhl .function .delimiter { color:#059 }
1381 .syntaxhl .function .delimiter { color:#059 }
1382 .syntaxhl .function .content { color:#037 }
1382 .syntaxhl .function .content { color:#037 }
1383 .syntaxhl .global-variable { color:#d70 }
1383 .syntaxhl .global-variable { color:#d70 }
1384 .syntaxhl .hex { color:#02b }
1384 .syntaxhl .hex { color:#02b }
1385 .syntaxhl .id { color:#33D; font-weight:bold }
1385 .syntaxhl .id { color:#33D; font-weight:bold }
1386 .syntaxhl .include { color:#B44; font-weight:bold }
1386 .syntaxhl .include { color:#B44; font-weight:bold }
1387 .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black }
1387 .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black }
1388 .syntaxhl .inline-delimiter { font-weight: bold; color: #666 }
1388 .syntaxhl .inline-delimiter { font-weight: bold; color: #666 }
1389 .syntaxhl .instance-variable { color:#33B }
1389 .syntaxhl .instance-variable { color:#33B }
1390 .syntaxhl .integer { color:#00D }
1390 .syntaxhl .integer { color:#00D }
1391 .syntaxhl .imaginary { color:#f00 }
1391 .syntaxhl .imaginary { color:#f00 }
1392 .syntaxhl .important { color:#D00 }
1392 .syntaxhl .important { color:#D00 }
1393 .syntaxhl .key { color: #606 }
1393 .syntaxhl .key { color: #606 }
1394 .syntaxhl .key .char { color: #60f }
1394 .syntaxhl .key .char { color: #60f }
1395 .syntaxhl .key .delimiter { color: #404 }
1395 .syntaxhl .key .delimiter { color: #404 }
1396 .syntaxhl .keyword { color:#080; font-weight:bold }
1396 .syntaxhl .keyword { color:#080; font-weight:bold }
1397 .syntaxhl .label { color:#970; font-weight:bold }
1397 .syntaxhl .label { color:#970; font-weight:bold }
1398 .syntaxhl .local-variable { color:#950 }
1398 .syntaxhl .local-variable { color:#950 }
1399 .syntaxhl .map .content { color:#808 }
1399 .syntaxhl .map .content { color:#808 }
1400 .syntaxhl .map .delimiter { color:#40A}
1400 .syntaxhl .map .delimiter { color:#40A}
1401 .syntaxhl .map { background-color:hsla(200,100%,50%,0.06); }
1401 .syntaxhl .map { background-color:hsla(200,100%,50%,0.06); }
1402 .syntaxhl .namespace { color:#707; font-weight:bold }
1402 .syntaxhl .namespace { color:#707; font-weight:bold }
1403 .syntaxhl .octal { color:#40E }
1403 .syntaxhl .octal { color:#40E }
1404 .syntaxhl .operator { }
1404 .syntaxhl .operator { }
1405 .syntaxhl .predefined { color:#369; font-weight:bold }
1405 .syntaxhl .predefined { color:#369; font-weight:bold }
1406 .syntaxhl .predefined-constant { color:#069 }
1406 .syntaxhl .predefined-constant { color:#069 }
1407 .syntaxhl .predefined-type { color:#0a8; font-weight:bold }
1407 .syntaxhl .predefined-type { color:#0a8; font-weight:bold }
1408 .syntaxhl .preprocessor { color:#579 }
1408 .syntaxhl .preprocessor { color:#579 }
1409 .syntaxhl .pseudo-class { color:#00C; font-weight:bold }
1409 .syntaxhl .pseudo-class { color:#00C; font-weight:bold }
1410 .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); }
1410 .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); }
1411 .syntaxhl .regexp .content { color:#808 }
1411 .syntaxhl .regexp .content { color:#808 }
1412 .syntaxhl .regexp .delimiter { color:#404 }
1412 .syntaxhl .regexp .delimiter { color:#404 }
1413 .syntaxhl .regexp .modifier { color:#C2C }
1413 .syntaxhl .regexp .modifier { color:#C2C }
1414 .syntaxhl .reserved { color:#080; font-weight:bold }
1414 .syntaxhl .reserved { color:#080; font-weight:bold }
1415 .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); }
1415 .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); }
1416 .syntaxhl .shell .content { color:#2B2 }
1416 .syntaxhl .shell .content { color:#2B2 }
1417 .syntaxhl .shell .delimiter { color:#161 }
1417 .syntaxhl .shell .delimiter { color:#161 }
1418 .syntaxhl .string { background-color:hsla(0,100%,50%,0.05); }
1418 .syntaxhl .string { background-color:hsla(0,100%,50%,0.05); }
1419 .syntaxhl .string .char { color: #b0b }
1419 .syntaxhl .string .char { color: #b0b }
1420 .syntaxhl .string .content { color: #D20 }
1420 .syntaxhl .string .content { color: #D20 }
1421 .syntaxhl .string .delimiter { color: #710 }
1421 .syntaxhl .string .delimiter { color: #710 }
1422 .syntaxhl .string .modifier { color: #E40 }
1422 .syntaxhl .string .modifier { color: #E40 }
1423 .syntaxhl .symbol { color:#A60 }
1423 .syntaxhl .symbol { color:#A60 }
1424 .syntaxhl .symbol .content { color:#A60 }
1424 .syntaxhl .symbol .content { color:#A60 }
1425 .syntaxhl .symbol .delimiter { color:#740 }
1425 .syntaxhl .symbol .delimiter { color:#740 }
1426 .syntaxhl .tag { color:#070; font-weight:bold }
1426 .syntaxhl .tag { color:#070; font-weight:bold }
1427 .syntaxhl .type { color:#339; font-weight:bold }
1427 .syntaxhl .type { color:#339; font-weight:bold }
1428 .syntaxhl .value { color: #088 }
1428 .syntaxhl .value { color: #088 }
1429 .syntaxhl .variable { color:#037 }
1429 .syntaxhl .variable { color:#037 }
1430
1430
1431 .syntaxhl .insert { background: hsla(120,100%,50%,0.12) }
1431 .syntaxhl .insert { background: hsla(120,100%,50%,0.12) }
1432 .syntaxhl .delete { background: hsla(0,100%,50%,0.12) }
1432 .syntaxhl .delete { background: hsla(0,100%,50%,0.12) }
1433 .syntaxhl .change { color: #bbf; background: #007 }
1433 .syntaxhl .change { color: #bbf; background: #007 }
1434 .syntaxhl .head { color: #f8f; background: #505 }
1434 .syntaxhl .head { color: #f8f; background: #505 }
1435 .syntaxhl .head .filename { color: white; }
1435 .syntaxhl .head .filename { color: white; }
1436
1436
1437 .syntaxhl .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; }
1437 .syntaxhl .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; }
1438 .syntaxhl .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
1438 .syntaxhl .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
1439
1439
1440 .syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold }
1440 .syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold }
1441 .syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold }
1441 .syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold }
1442 .syntaxhl .change .change { color: #88f }
1442 .syntaxhl .change .change { color: #88f }
1443 .syntaxhl .head .head { color: #f4f }
1443 .syntaxhl .head .head { color: #f4f }
1444
1444
1445 /***** Media print specific styles *****/
1445 /***** Media print specific styles *****/
1446 @media print {
1446 @media print {
1447 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
1447 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
1448 #main { background: #fff; }
1448 #main { background: #fff; }
1449 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
1449 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
1450 #wiki_add_attachment { display:none; }
1450 #wiki_add_attachment { display:none; }
1451 .hide-when-print, .pagination ul.pages, .pagination .per-page { display: none !important; }
1451 .hide-when-print, .pagination ul.pages, .pagination .per-page { display: none !important; }
1452 .autoscroll {overflow-x: visible;}
1452 .autoscroll {overflow-x: visible;}
1453 table.list {margin-top:0.5em;}
1453 table.list {margin-top:0.5em;}
1454 table.list th, table.list td {border: 1px solid #aaa;}
1454 table.list th, table.list td {border: 1px solid #aaa;}
1455 }
1455 }
1456
1456
1457 /* Accessibility specific styles */
1457 /* Accessibility specific styles */
1458 .hidden-for-sighted {
1458 .hidden-for-sighted {
1459 position:absolute;
1459 position:absolute;
1460 left:-10000px;
1460 left:-10000px;
1461 top:auto;
1461 top:auto;
1462 width:1px;
1462 width:1px;
1463 height:1px;
1463 height:1px;
1464 overflow:hidden;
1464 overflow:hidden;
1465 }
1465 }
@@ -1,239 +1,253
1 # Redmine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2016 Jean-Philippe Lang
2 # Copyright (C) 2006-2016 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 require File.expand_path('../../test_helper', __FILE__)
18 require File.expand_path('../../test_helper', __FILE__)
19
19
20 class CustomFieldsControllerTest < Redmine::ControllerTest
20 class CustomFieldsControllerTest < Redmine::ControllerTest
21 fixtures :custom_fields, :custom_values,
21 fixtures :custom_fields, :custom_values,
22 :custom_fields_projects, :custom_fields_trackers,
22 :custom_fields_projects, :custom_fields_trackers,
23 :roles, :users,
23 :roles, :users,
24 :members, :member_roles,
24 :members, :member_roles,
25 :groups_users,
25 :groups_users,
26 :trackers, :projects_trackers,
26 :trackers, :projects_trackers,
27 :enabled_modules,
27 :enabled_modules,
28 :projects, :issues,
28 :projects, :issues,
29 :issue_statuses,
29 :issue_statuses,
30 :issue_categories,
30 :issue_categories,
31 :enumerations,
31 :enumerations,
32 :workflows
32 :workflows
33
33
34 def setup
34 def setup
35 @request.session[:user_id] = 1
35 @request.session[:user_id] = 1
36 end
36 end
37
37
38 def test_index
38 def test_index
39 get :index
39 get :index
40 assert_response :success
40 assert_response :success
41
41
42 assert_select 'table.custom_fields'
42 assert_select 'table.custom_fields'
43 end
43 end
44
44
45 def test_new_without_type_should_render_select_type
45 def test_new_without_type_should_render_select_type
46 get :new
46 get :new
47 assert_response :success
47 assert_response :success
48
48
49 assert_select 'input[name=type]', CustomFieldsHelper::CUSTOM_FIELDS_TABS.size
49 assert_select 'input[name=type]', CustomFieldsHelper::CUSTOM_FIELDS_TABS.size
50 assert_select 'input[name=type][checked=checked]', 1
50 assert_select 'input[name=type][checked=checked]', 1
51 end
51 end
52
52
53 def test_new_should_work_for_each_customized_class_and_format
53 def test_new_should_work_for_each_customized_class_and_format
54 custom_field_classes.each do |klass|
54 custom_field_classes.each do |klass|
55 Redmine::FieldFormat.formats_for_custom_field_class(klass).each do |format|
55 Redmine::FieldFormat.formats_for_custom_field_class(klass).each do |format|
56 get :new, :type => klass.name, :custom_field => {:field_format => format.name}
56 get :new, :type => klass.name, :custom_field => {:field_format => format.name}
57 assert_response :success
57 assert_response :success
58
58
59 assert_select 'form#custom_field_form' do
59 assert_select 'form#custom_field_form' do
60 assert_select 'select[name=?]', 'custom_field[field_format]' do
60 assert_select 'select[name=?]', 'custom_field[field_format]' do
61 assert_select 'option[value=?][selected=selected]', format.name
61 assert_select 'option[value=?][selected=selected]', format.name
62 end
62 end
63 assert_select 'input[type=hidden][name=type][value=?]', klass.name
63 assert_select 'input[type=hidden][name=type][value=?]', klass.name
64 end
64 end
65 end
65 end
66 end
66 end
67 end
67 end
68
68
69 def test_new_should_have_string_default_format
69 def test_new_should_have_string_default_format
70 get :new, :type => 'IssueCustomField'
70 get :new, :type => 'IssueCustomField'
71 assert_response :success
71 assert_response :success
72
72
73 assert_select 'select[name=?]', 'custom_field[field_format]' do
73 assert_select 'select[name=?]', 'custom_field[field_format]' do
74 assert_select 'option[value=?][selected=selected]', 'string'
74 assert_select 'option[value=?][selected=selected]', 'string'
75 end
75 end
76 end
76 end
77
77
78 def test_new_issue_custom_field
78 def test_new_issue_custom_field
79 get :new, :type => 'IssueCustomField'
79 get :new, :type => 'IssueCustomField'
80 assert_response :success
80 assert_response :success
81
81
82 assert_select 'form#custom_field_form' do
82 assert_select 'form#custom_field_form' do
83 assert_select 'select#custom_field_field_format[name=?]', 'custom_field[field_format]' do
83 assert_select 'select#custom_field_field_format[name=?]', 'custom_field[field_format]' do
84 assert_select 'option[value=user]', :text => 'User'
84 assert_select 'option[value=user]', :text => 'User'
85 assert_select 'option[value=version]', :text => 'Version'
85 assert_select 'option[value=version]', :text => 'Version'
86 end
86 end
87 assert_select 'input[type=checkbox][name=?]', 'custom_field[project_ids][]', Project.count
87 assert_select 'input[type=checkbox][name=?]', 'custom_field[project_ids][]', Project.count
88 assert_select 'input[type=hidden][name=?]', 'custom_field[project_ids][]', 1
88 assert_select 'input[type=hidden][name=?]', 'custom_field[project_ids][]', 1
89 assert_select 'input[type=hidden][name=type][value=IssueCustomField]'
89 assert_select 'input[type=hidden][name=type][value=IssueCustomField]'
90 end
90 end
91 end
91 end
92
92
93 def test_new_time_entry_custom_field_should_not_show_trackers_and_projects
93 def test_new_time_entry_custom_field_should_not_show_trackers_and_projects
94 get :new, :type => 'TimeEntryCustomField'
94 get :new, :type => 'TimeEntryCustomField'
95 assert_response :success
95 assert_response :success
96
96
97 assert_select 'form#custom_field_form' do
97 assert_select 'form#custom_field_form' do
98 assert_select 'input[name=?]', 'custom_field[tracker_ids][]', 0
98 assert_select 'input[name=?]', 'custom_field[tracker_ids][]', 0
99 assert_select 'input[name=?]', 'custom_field[project_ids][]', 0
99 assert_select 'input[name=?]', 'custom_field[project_ids][]', 0
100 end
100 end
101 end
101 end
102
102
103 def test_default_value_should_be_an_input_for_string_custom_field
103 def test_default_value_should_be_an_input_for_string_custom_field
104 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'string'}
104 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'string'}
105 assert_response :success
105 assert_response :success
106 assert_select 'input[name=?]', 'custom_field[default_value]'
106 assert_select 'input[name=?]', 'custom_field[default_value]'
107 end
107 end
108
108
109 def test_default_value_should_be_a_textarea_for_text_custom_field
109 def test_default_value_should_be_a_textarea_for_text_custom_field
110 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'text'}
110 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'text'}
111 assert_response :success
111 assert_response :success
112 assert_select 'textarea[name=?]', 'custom_field[default_value]'
112 assert_select 'textarea[name=?]', 'custom_field[default_value]'
113 end
113 end
114
114
115 def test_default_value_should_be_a_checkbox_for_bool_custom_field
115 def test_default_value_should_be_a_checkbox_for_bool_custom_field
116 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'bool'}
116 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'bool'}
117 assert_response :success
117 assert_response :success
118 assert_select 'select[name=?]', 'custom_field[default_value]' do
118 assert_select 'select[name=?]', 'custom_field[default_value]' do
119 assert_select 'option', 3
119 assert_select 'option', 3
120 end
120 end
121 end
121 end
122
122
123 def test_default_value_should_not_be_present_for_user_custom_field
123 def test_default_value_should_not_be_present_for_user_custom_field
124 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'user'}
124 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'user'}
125 assert_response :success
125 assert_response :success
126 assert_select '[name=?]', 'custom_field[default_value]', 0
126 assert_select '[name=?]', 'custom_field[default_value]', 0
127 end
127 end
128
128
129 def test_setting_full_width_layout_shoul_be_present_only_for_long_text_issue_custom_field
130 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'text'}
131 assert_response :success
132 assert_select '[name=?]', 'custom_field[full_width_layout]'
133
134 get :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'list'}
135 assert_response :success
136 assert_select '[name=?]', 'custom_field[full_width_layout]', 0
137
138 get :new, :type => 'TimeEntryCustomField', :custom_field => {:field_format => 'text'}
139 assert_response :success
140 assert_select '[name=?]', 'custom_field[full_width_layout]', 0
141 end
142
129 def test_new_js
143 def test_new_js
130 xhr :get, :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'list'}, :format => 'js'
144 xhr :get, :new, :type => 'IssueCustomField', :custom_field => {:field_format => 'list'}, :format => 'js'
131 assert_response :success
145 assert_response :success
132 assert_equal 'text/javascript', response.content_type
146 assert_equal 'text/javascript', response.content_type
133
147
134 assert_include '<option selected=\"selected\" value=\"list\">List<\/option>', response.body
148 assert_include '<option selected=\"selected\" value=\"list\">List<\/option>', response.body
135 end
149 end
136
150
137 def test_new_with_invalid_custom_field_class_should_render_select_type
151 def test_new_with_invalid_custom_field_class_should_render_select_type
138 get :new, :type => 'UnknownCustomField'
152 get :new, :type => 'UnknownCustomField'
139 assert_response :success
153 assert_response :success
140
154
141 assert_select 'input[type=radio][name=type]'
155 assert_select 'input[type=radio][name=type]'
142 end
156 end
143
157
144 def test_create_list_custom_field
158 def test_create_list_custom_field
145 field = new_record(IssueCustomField) do
159 field = new_record(IssueCustomField) do
146 post :create, :type => "IssueCustomField",
160 post :create, :type => "IssueCustomField",
147 :custom_field => {:name => "test_post_new_list",
161 :custom_field => {:name => "test_post_new_list",
148 :default_value => "",
162 :default_value => "",
149 :min_length => "0",
163 :min_length => "0",
150 :searchable => "0",
164 :searchable => "0",
151 :regexp => "",
165 :regexp => "",
152 :is_for_all => "1",
166 :is_for_all => "1",
153 :possible_values => "0.1\n0.2\n",
167 :possible_values => "0.1\n0.2\n",
154 :max_length => "0",
168 :max_length => "0",
155 :is_filter => "0",
169 :is_filter => "0",
156 :is_required =>"0",
170 :is_required =>"0",
157 :field_format => "list",
171 :field_format => "list",
158 :tracker_ids => ["1", ""]}
172 :tracker_ids => ["1", ""]}
159 end
173 end
160 assert_redirected_to "/custom_fields/#{field.id}/edit"
174 assert_redirected_to "/custom_fields/#{field.id}/edit"
161 assert_equal "test_post_new_list", field.name
175 assert_equal "test_post_new_list", field.name
162 assert_equal ["0.1", "0.2"], field.possible_values
176 assert_equal ["0.1", "0.2"], field.possible_values
163 assert_equal 1, field.trackers.size
177 assert_equal 1, field.trackers.size
164 end
178 end
165
179
166 def test_create_with_project_ids
180 def test_create_with_project_ids
167 assert_difference 'CustomField.count' do
181 assert_difference 'CustomField.count' do
168 post :create, :type => "IssueCustomField", :custom_field => {
182 post :create, :type => "IssueCustomField", :custom_field => {
169 :name => "foo", :field_format => "string", :is_for_all => "0", :project_ids => ["1", "3", ""]
183 :name => "foo", :field_format => "string", :is_for_all => "0", :project_ids => ["1", "3", ""]
170 }
184 }
171 assert_response 302
185 assert_response 302
172 end
186 end
173 field = IssueCustomField.order("id desc").first
187 field = IssueCustomField.order("id desc").first
174 assert_equal [1, 3], field.projects.map(&:id).sort
188 assert_equal [1, 3], field.projects.map(&:id).sort
175 end
189 end
176
190
177 def test_create_with_failure
191 def test_create_with_failure
178 assert_no_difference 'CustomField.count' do
192 assert_no_difference 'CustomField.count' do
179 post :create, :type => "IssueCustomField", :custom_field => {:name => ''}
193 post :create, :type => "IssueCustomField", :custom_field => {:name => ''}
180 end
194 end
181 assert_response :success
195 assert_response :success
182 assert_select_error /name cannot be blank/i
196 assert_select_error /name cannot be blank/i
183 end
197 end
184
198
185 def test_create_without_type_should_render_select_type
199 def test_create_without_type_should_render_select_type
186 assert_no_difference 'CustomField.count' do
200 assert_no_difference 'CustomField.count' do
187 post :create, :custom_field => {:name => ''}
201 post :create, :custom_field => {:name => ''}
188 end
202 end
189 assert_response :success
203 assert_response :success
190 assert_select 'input[type=radio][name=type]'
204 assert_select 'input[type=radio][name=type]'
191 end
205 end
192
206
193 def test_edit
207 def test_edit
194 get :edit, :id => 1
208 get :edit, :id => 1
195 assert_response :success
209 assert_response :success
196 assert_select 'input[name=?][value=?]', 'custom_field[name]', 'Database'
210 assert_select 'input[name=?][value=?]', 'custom_field[name]', 'Database'
197 end
211 end
198
212
199 def test_edit_invalid_custom_field_should_render_404
213 def test_edit_invalid_custom_field_should_render_404
200 get :edit, :id => 99
214 get :edit, :id => 99
201 assert_response 404
215 assert_response 404
202 end
216 end
203
217
204 def test_update
218 def test_update
205 put :update, :id => 1, :custom_field => {:name => 'New name'}
219 put :update, :id => 1, :custom_field => {:name => 'New name'}
206 assert_redirected_to '/custom_fields/1/edit'
220 assert_redirected_to '/custom_fields/1/edit'
207
221
208 field = CustomField.find(1)
222 field = CustomField.find(1)
209 assert_equal 'New name', field.name
223 assert_equal 'New name', field.name
210 end
224 end
211
225
212 def test_update_with_failure
226 def test_update_with_failure
213 put :update, :id => 1, :custom_field => {:name => ''}
227 put :update, :id => 1, :custom_field => {:name => ''}
214 assert_response :success
228 assert_response :success
215 assert_select_error /name cannot be blank/i
229 assert_select_error /name cannot be blank/i
216 end
230 end
217
231
218 def test_destroy
232 def test_destroy
219 custom_values_count = CustomValue.where(:custom_field_id => 1).count
233 custom_values_count = CustomValue.where(:custom_field_id => 1).count
220 assert custom_values_count > 0
234 assert custom_values_count > 0
221
235
222 assert_difference 'CustomField.count', -1 do
236 assert_difference 'CustomField.count', -1 do
223 assert_difference 'CustomValue.count', - custom_values_count do
237 assert_difference 'CustomValue.count', - custom_values_count do
224 delete :destroy, :id => 1
238 delete :destroy, :id => 1
225 end
239 end
226 end
240 end
227
241
228 assert_redirected_to '/custom_fields?tab=IssueCustomField'
242 assert_redirected_to '/custom_fields?tab=IssueCustomField'
229 assert_nil CustomField.find_by_id(1)
243 assert_nil CustomField.find_by_id(1)
230 assert_nil CustomValue.find_by_custom_field_id(1)
244 assert_nil CustomValue.find_by_custom_field_id(1)
231 end
245 end
232
246
233 def custom_field_classes
247 def custom_field_classes
234 files = Dir.glob(File.join(Rails.root, 'app/models/*_custom_field.rb')).map {|f| File.basename(f).sub(/\.rb$/, '') }
248 files = Dir.glob(File.join(Rails.root, 'app/models/*_custom_field.rb')).map {|f| File.basename(f).sub(/\.rb$/, '') }
235 classes = files.map(&:classify).map(&:constantize)
249 classes = files.map(&:classify).map(&:constantize)
236 assert classes.size > 0
250 assert classes.size > 0
237 classes
251 classes
238 end
252 end
239 end
253 end
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
General Comments 0
You need to be logged in to leave comments. Login now