@@ -1,1392 +1,1403 | |||
|
1 | 1 | # encoding: utf-8 |
|
2 | 2 | # |
|
3 | 3 | # Redmine - project management software |
|
4 | 4 | # Copyright (C) 2006-2016 Jean-Philippe Lang |
|
5 | 5 | # |
|
6 | 6 | # This program is free software; you can redistribute it and/or |
|
7 | 7 | # modify it under the terms of the GNU General Public License |
|
8 | 8 | # as published by the Free Software Foundation; either version 2 |
|
9 | 9 | # of the License, or (at your option) any later version. |
|
10 | 10 | # |
|
11 | 11 | # This program is distributed in the hope that it will be useful, |
|
12 | 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 | 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 | 14 | # GNU General Public License for more details. |
|
15 | 15 | # |
|
16 | 16 | # You should have received a copy of the GNU General Public License |
|
17 | 17 | # along with this program; if not, write to the Free Software |
|
18 | 18 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
19 | 19 | |
|
20 | 20 | require 'forwardable' |
|
21 | 21 | require 'cgi' |
|
22 | 22 | |
|
23 | 23 | module ApplicationHelper |
|
24 | 24 | include Redmine::WikiFormatting::Macros::Definitions |
|
25 | 25 | include Redmine::I18n |
|
26 | 26 | include GravatarHelper::PublicMethods |
|
27 | 27 | include Redmine::Pagination::Helper |
|
28 | 28 | include Redmine::SudoMode::Helper |
|
29 | 29 | include Redmine::Themes::Helper |
|
30 | 30 | include Redmine::Hook::Helper |
|
31 | 31 | include Redmine::Helpers::URL |
|
32 | 32 | |
|
33 | 33 | extend Forwardable |
|
34 | 34 | def_delegators :wiki_helper, :wikitoolbar_for, :heads_for_wiki_formatter |
|
35 | 35 | |
|
36 | 36 | # Return true if user is authorized for controller/action, otherwise false |
|
37 | 37 | def authorize_for(controller, action) |
|
38 | 38 | User.current.allowed_to?({:controller => controller, :action => action}, @project) |
|
39 | 39 | end |
|
40 | 40 | |
|
41 | 41 | # Display a link if user is authorized |
|
42 | 42 | # |
|
43 | 43 | # @param [String] name Anchor text (passed to link_to) |
|
44 | 44 | # @param [Hash] options Hash params. This will checked by authorize_for to see if the user is authorized |
|
45 | 45 | # @param [optional, Hash] html_options Options passed to link_to |
|
46 | 46 | # @param [optional, Hash] parameters_for_method_reference Extra parameters for link_to |
|
47 | 47 | def link_to_if_authorized(name, options = {}, html_options = nil, *parameters_for_method_reference) |
|
48 | 48 | link_to(name, options, html_options, *parameters_for_method_reference) if authorize_for(options[:controller] || params[:controller], options[:action]) |
|
49 | 49 | end |
|
50 | 50 | |
|
51 | 51 | # Displays a link to user's account page if active |
|
52 | 52 | def link_to_user(user, options={}) |
|
53 | 53 | if user.is_a?(User) |
|
54 | 54 | name = h(user.name(options[:format])) |
|
55 | 55 | if user.active? || (User.current.admin? && user.logged?) |
|
56 | 56 | link_to name, user_path(user), :class => user.css_classes |
|
57 | 57 | else |
|
58 | 58 | name |
|
59 | 59 | end |
|
60 | 60 | else |
|
61 | 61 | h(user.to_s) |
|
62 | 62 | end |
|
63 | 63 | end |
|
64 | 64 | |
|
65 | 65 | # Displays a link to +issue+ with its subject. |
|
66 | 66 | # Examples: |
|
67 | 67 | # |
|
68 | 68 | # link_to_issue(issue) # => Defect #6: This is the subject |
|
69 | 69 | # link_to_issue(issue, :truncate => 6) # => Defect #6: This i... |
|
70 | 70 | # link_to_issue(issue, :subject => false) # => Defect #6 |
|
71 | 71 | # link_to_issue(issue, :project => true) # => Foo - Defect #6 |
|
72 | 72 | # link_to_issue(issue, :subject => false, :tracker => false) # => #6 |
|
73 | 73 | # |
|
74 | 74 | def link_to_issue(issue, options={}) |
|
75 | 75 | title = nil |
|
76 | 76 | subject = nil |
|
77 | 77 | text = options[:tracker] == false ? "##{issue.id}" : "#{issue.tracker} ##{issue.id}" |
|
78 | 78 | if options[:subject] == false |
|
79 | 79 | title = issue.subject.truncate(60) |
|
80 | 80 | else |
|
81 | 81 | subject = issue.subject |
|
82 | 82 | if truncate_length = options[:truncate] |
|
83 | 83 | subject = subject.truncate(truncate_length) |
|
84 | 84 | end |
|
85 | 85 | end |
|
86 | 86 | only_path = options[:only_path].nil? ? true : options[:only_path] |
|
87 | 87 | s = link_to(text, issue_url(issue, :only_path => only_path), |
|
88 | 88 | :class => issue.css_classes, :title => title) |
|
89 | 89 | s << h(": #{subject}") if subject |
|
90 | 90 | s = h("#{issue.project} - ") + s if options[:project] |
|
91 | 91 | s |
|
92 | 92 | end |
|
93 | 93 | |
|
94 | 94 | # Generates a link to an attachment. |
|
95 | 95 | # Options: |
|
96 | 96 | # * :text - Link text (default to attachment filename) |
|
97 | 97 | # * :download - Force download (default: false) |
|
98 | 98 | def link_to_attachment(attachment, options={}) |
|
99 | 99 | text = options.delete(:text) || attachment.filename |
|
100 | 100 | route_method = options.delete(:download) ? :download_named_attachment_url : :named_attachment_url |
|
101 | 101 | html_options = options.slice!(:only_path) |
|
102 | 102 | options[:only_path] = true unless options.key?(:only_path) |
|
103 | 103 | url = send(route_method, attachment, attachment.filename, options) |
|
104 | 104 | link_to text, url, html_options |
|
105 | 105 | end |
|
106 | 106 | |
|
107 | 107 | # Generates a link to a SCM revision |
|
108 | 108 | # Options: |
|
109 | 109 | # * :text - Link text (default to the formatted revision) |
|
110 | 110 | def link_to_revision(revision, repository, options={}) |
|
111 | 111 | if repository.is_a?(Project) |
|
112 | 112 | repository = repository.repository |
|
113 | 113 | end |
|
114 | 114 | text = options.delete(:text) || format_revision(revision) |
|
115 | 115 | rev = revision.respond_to?(:identifier) ? revision.identifier : revision |
|
116 | 116 | link_to( |
|
117 | 117 | h(text), |
|
118 | 118 | {:controller => 'repositories', :action => 'revision', :id => repository.project, :repository_id => repository.identifier_param, :rev => rev}, |
|
119 | 119 | :title => l(:label_revision_id, format_revision(revision)), |
|
120 | 120 | :accesskey => options[:accesskey] |
|
121 | 121 | ) |
|
122 | 122 | end |
|
123 | 123 | |
|
124 | 124 | # Generates a link to a message |
|
125 | 125 | def link_to_message(message, options={}, html_options = nil) |
|
126 | 126 | link_to( |
|
127 | 127 | message.subject.truncate(60), |
|
128 | 128 | board_message_url(message.board_id, message.parent_id || message.id, { |
|
129 | 129 | :r => (message.parent_id && message.id), |
|
130 | 130 | :anchor => (message.parent_id ? "message-#{message.id}" : nil), |
|
131 | 131 | :only_path => true |
|
132 | 132 | }.merge(options)), |
|
133 | 133 | html_options |
|
134 | 134 | ) |
|
135 | 135 | end |
|
136 | 136 | |
|
137 | 137 | # Generates a link to a project if active |
|
138 | 138 | # Examples: |
|
139 | 139 | # |
|
140 | 140 | # link_to_project(project) # => link to the specified project overview |
|
141 | 141 | # link_to_project(project, {:only_path => false}, :class => "project") # => 3rd arg adds html options |
|
142 | 142 | # link_to_project(project, {}, :class => "project") # => html options with default url (project overview) |
|
143 | 143 | # |
|
144 | 144 | def link_to_project(project, options={}, html_options = nil) |
|
145 | 145 | if project.archived? |
|
146 | 146 | h(project.name) |
|
147 | 147 | else |
|
148 | 148 | link_to project.name, |
|
149 | 149 | project_url(project, {:only_path => true}.merge(options)), |
|
150 | 150 | html_options |
|
151 | 151 | end |
|
152 | 152 | end |
|
153 | 153 | |
|
154 | 154 | # Generates a link to a project settings if active |
|
155 | 155 | def link_to_project_settings(project, options={}, html_options=nil) |
|
156 | 156 | if project.active? |
|
157 | 157 | link_to project.name, settings_project_path(project, options), html_options |
|
158 | 158 | elsif project.archived? |
|
159 | 159 | h(project.name) |
|
160 | 160 | else |
|
161 | 161 | link_to project.name, project_path(project, options), html_options |
|
162 | 162 | end |
|
163 | 163 | end |
|
164 | 164 | |
|
165 | 165 | # Generates a link to a version |
|
166 | 166 | def link_to_version(version, options = {}) |
|
167 | 167 | return '' unless version && version.is_a?(Version) |
|
168 | 168 | options = {:title => format_date(version.effective_date)}.merge(options) |
|
169 | 169 | link_to_if version.visible?, format_version_name(version), version_path(version), options |
|
170 | 170 | end |
|
171 | 171 | |
|
172 | 172 | # Helper that formats object for html or text rendering |
|
173 | 173 | def format_object(object, html=true, &block) |
|
174 | 174 | if block_given? |
|
175 | 175 | object = yield object |
|
176 | 176 | end |
|
177 | 177 | case object.class.name |
|
178 | 178 | when 'Array' |
|
179 | 179 | object.map {|o| format_object(o, html)}.join(', ').html_safe |
|
180 | 180 | when 'Time' |
|
181 | 181 | format_time(object) |
|
182 | 182 | when 'Date' |
|
183 | 183 | format_date(object) |
|
184 | 184 | when 'Fixnum' |
|
185 | 185 | object.to_s |
|
186 | 186 | when 'Float' |
|
187 | 187 | sprintf "%.2f", object |
|
188 | 188 | when 'User' |
|
189 | 189 | html ? link_to_user(object) : object.to_s |
|
190 | 190 | when 'Project' |
|
191 | 191 | html ? link_to_project(object) : object.to_s |
|
192 | 192 | when 'Version' |
|
193 | 193 | html ? link_to_version(object) : object.to_s |
|
194 | 194 | when 'TrueClass' |
|
195 | 195 | l(:general_text_Yes) |
|
196 | 196 | when 'FalseClass' |
|
197 | 197 | l(:general_text_No) |
|
198 | 198 | when 'Issue' |
|
199 | 199 | object.visible? && html ? link_to_issue(object) : "##{object.id}" |
|
200 | 200 | when 'Attachment' |
|
201 | 201 | html ? link_to_attachment(object, :download => true) : object.filename |
|
202 | 202 | when 'CustomValue', 'CustomFieldValue' |
|
203 | 203 | if object.custom_field |
|
204 | 204 | f = object.custom_field.format.formatted_custom_value(self, object, html) |
|
205 | 205 | if f.nil? || f.is_a?(String) |
|
206 | 206 | f |
|
207 | 207 | else |
|
208 | 208 | format_object(f, html, &block) |
|
209 | 209 | end |
|
210 | 210 | else |
|
211 | 211 | object.value.to_s |
|
212 | 212 | end |
|
213 | 213 | else |
|
214 | 214 | html ? h(object) : object.to_s |
|
215 | 215 | end |
|
216 | 216 | end |
|
217 | 217 | |
|
218 | 218 | def wiki_page_path(page, options={}) |
|
219 | 219 | url_for({:controller => 'wiki', :action => 'show', :project_id => page.project, :id => page.title}.merge(options)) |
|
220 | 220 | end |
|
221 | 221 | |
|
222 | 222 | def thumbnail_tag(attachment) |
|
223 | 223 | link_to image_tag(thumbnail_path(attachment)), |
|
224 | 224 | named_attachment_path(attachment, attachment.filename), |
|
225 | 225 | :title => attachment.filename |
|
226 | 226 | end |
|
227 | 227 | |
|
228 | 228 | def toggle_link(name, id, options={}) |
|
229 | 229 | onclick = "$('##{id}').toggle(); " |
|
230 | 230 | onclick << (options[:focus] ? "$('##{options[:focus]}').focus(); " : "this.blur(); ") |
|
231 | 231 | onclick << "return false;" |
|
232 | 232 | link_to(name, "#", :onclick => onclick) |
|
233 | 233 | end |
|
234 | 234 | |
|
235 | 235 | # Used to format item titles on the activity view |
|
236 | 236 | def format_activity_title(text) |
|
237 | 237 | text |
|
238 | 238 | end |
|
239 | 239 | |
|
240 | 240 | def format_activity_day(date) |
|
241 | 241 | date == User.current.today ? l(:label_today).titleize : format_date(date) |
|
242 | 242 | end |
|
243 | 243 | |
|
244 | 244 | def format_activity_description(text) |
|
245 | 245 | h(text.to_s.truncate(120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...') |
|
246 | 246 | ).gsub(/[\r\n]+/, "<br />").html_safe |
|
247 | 247 | end |
|
248 | 248 | |
|
249 | 249 | def format_version_name(version) |
|
250 | 250 | if version.project == @project |
|
251 | 251 | h(version) |
|
252 | 252 | else |
|
253 | 253 | h("#{version.project} - #{version}") |
|
254 | 254 | end |
|
255 | 255 | end |
|
256 | 256 | |
|
257 | def format_changeset_comments(changeset, options={}) | |
|
258 | method = options[:short] ? :short_comments : :comments | |
|
259 | textilizable changeset, method, :formatting => Setting.commit_logs_formatting? | |
|
260 | end | |
|
261 | ||
|
257 | 262 | def due_date_distance_in_words(date) |
|
258 | 263 | if date |
|
259 | 264 | l((date < User.current.today ? :label_roadmap_overdue : :label_roadmap_due_in), distance_of_date_in_words(User.current.today, date)) |
|
260 | 265 | end |
|
261 | 266 | end |
|
262 | 267 | |
|
263 | 268 | # Renders a tree of projects as a nested set of unordered lists |
|
264 | 269 | # The given collection may be a subset of the whole project tree |
|
265 | 270 | # (eg. some intermediate nodes are private and can not be seen) |
|
266 | 271 | def render_project_nested_lists(projects, &block) |
|
267 | 272 | s = '' |
|
268 | 273 | if projects.any? |
|
269 | 274 | ancestors = [] |
|
270 | 275 | original_project = @project |
|
271 | 276 | projects.sort_by(&:lft).each do |project| |
|
272 | 277 | # set the project environment to please macros. |
|
273 | 278 | @project = project |
|
274 | 279 | if (ancestors.empty? || project.is_descendant_of?(ancestors.last)) |
|
275 | 280 | s << "<ul class='projects #{ ancestors.empty? ? 'root' : nil}'>\n" |
|
276 | 281 | else |
|
277 | 282 | ancestors.pop |
|
278 | 283 | s << "</li>" |
|
279 | 284 | while (ancestors.any? && !project.is_descendant_of?(ancestors.last)) |
|
280 | 285 | ancestors.pop |
|
281 | 286 | s << "</ul></li>\n" |
|
282 | 287 | end |
|
283 | 288 | end |
|
284 | 289 | classes = (ancestors.empty? ? 'root' : 'child') |
|
285 | 290 | s << "<li class='#{classes}'><div class='#{classes}'>" |
|
286 | 291 | s << h(block_given? ? capture(project, &block) : project.name) |
|
287 | 292 | s << "</div>\n" |
|
288 | 293 | ancestors << project |
|
289 | 294 | end |
|
290 | 295 | s << ("</li></ul>\n" * ancestors.size) |
|
291 | 296 | @project = original_project |
|
292 | 297 | end |
|
293 | 298 | s.html_safe |
|
294 | 299 | end |
|
295 | 300 | |
|
296 | 301 | def render_page_hierarchy(pages, node=nil, options={}) |
|
297 | 302 | content = '' |
|
298 | 303 | if pages[node] |
|
299 | 304 | content << "<ul class=\"pages-hierarchy\">\n" |
|
300 | 305 | pages[node].each do |page| |
|
301 | 306 | content << "<li>" |
|
302 | 307 | content << link_to(h(page.pretty_title), {:controller => 'wiki', :action => 'show', :project_id => page.project, :id => page.title, :version => nil}, |
|
303 | 308 | :title => (options[:timestamp] && page.updated_on ? l(:label_updated_time, distance_of_time_in_words(Time.now, page.updated_on)) : nil)) |
|
304 | 309 | content << "\n" + render_page_hierarchy(pages, page.id, options) if pages[page.id] |
|
305 | 310 | content << "</li>\n" |
|
306 | 311 | end |
|
307 | 312 | content << "</ul>\n" |
|
308 | 313 | end |
|
309 | 314 | content.html_safe |
|
310 | 315 | end |
|
311 | 316 | |
|
312 | 317 | # Renders flash messages |
|
313 | 318 | def render_flash_messages |
|
314 | 319 | s = '' |
|
315 | 320 | flash.each do |k,v| |
|
316 | 321 | s << content_tag('div', v.html_safe, :class => "flash #{k}", :id => "flash_#{k}") |
|
317 | 322 | end |
|
318 | 323 | s.html_safe |
|
319 | 324 | end |
|
320 | 325 | |
|
321 | 326 | # Renders tabs and their content |
|
322 | 327 | def render_tabs(tabs, selected=params[:tab]) |
|
323 | 328 | if tabs.any? |
|
324 | 329 | unless tabs.detect {|tab| tab[:name] == selected} |
|
325 | 330 | selected = nil |
|
326 | 331 | end |
|
327 | 332 | selected ||= tabs.first[:name] |
|
328 | 333 | render :partial => 'common/tabs', :locals => {:tabs => tabs, :selected_tab => selected} |
|
329 | 334 | else |
|
330 | 335 | content_tag 'p', l(:label_no_data), :class => "nodata" |
|
331 | 336 | end |
|
332 | 337 | end |
|
333 | 338 | |
|
334 | 339 | # Returns an array of projects that are displayed in the quick-jump box |
|
335 | 340 | def projects_for_jump_box(user=User.current) |
|
336 | 341 | if user.logged? |
|
337 | 342 | user.projects.active.select(:id, :name, :identifier, :lft, :rgt).to_a |
|
338 | 343 | else |
|
339 | 344 | [] |
|
340 | 345 | end |
|
341 | 346 | end |
|
342 | 347 | |
|
343 | 348 | def render_projects_for_jump_box(projects, selected=nil) |
|
344 | 349 | s = ''.html_safe |
|
345 | 350 | project_tree(projects) do |project, level| |
|
346 | 351 | padding = level * 16 |
|
347 | 352 | text = content_tag('span', project.name, :style => "padding-left:#{padding}px;") |
|
348 | 353 | s << link_to(text, project_path(project, :jump => current_menu_item), :title => project.name, :class => (project == selected ? 'selected' : nil)) |
|
349 | 354 | end |
|
350 | 355 | s |
|
351 | 356 | end |
|
352 | 357 | |
|
353 | 358 | # Renders the project quick-jump box |
|
354 | 359 | def render_project_jump_box |
|
355 | 360 | projects = projects_for_jump_box(User.current) |
|
356 | 361 | if projects.any? |
|
357 | 362 | text = @project.try(:name) || l(:label_jump_to_a_project) |
|
358 | 363 | trigger = content_tag('span', text, :class => 'drdn-trigger') |
|
359 | 364 | q = text_field_tag('q', '', :id => 'projects-quick-search', :class => 'autocomplete', :data => {:automcomplete_url => projects_path(:format => 'js')}) |
|
360 | 365 | content = content_tag('div', |
|
361 | 366 | content_tag('div', q, :class => 'quick-search') + |
|
362 | 367 | content_tag('div', render_projects_for_jump_box(projects, @project), :class => 'drdn-items selection'), |
|
363 | 368 | :class => 'drdn-content' |
|
364 | 369 | ) |
|
365 | 370 | |
|
366 | 371 | content_tag('span', trigger + content, :id => "project-jump", :class => "drdn") |
|
367 | 372 | end |
|
368 | 373 | end |
|
369 | 374 | |
|
370 | 375 | def project_tree_options_for_select(projects, options = {}) |
|
371 | 376 | s = ''.html_safe |
|
372 | 377 | if blank_text = options[:include_blank] |
|
373 | 378 | if blank_text == true |
|
374 | 379 | blank_text = ' '.html_safe |
|
375 | 380 | end |
|
376 | 381 | s << content_tag('option', blank_text, :value => '') |
|
377 | 382 | end |
|
378 | 383 | project_tree(projects) do |project, level| |
|
379 | 384 | name_prefix = (level > 0 ? ' ' * 2 * level + '» ' : '').html_safe |
|
380 | 385 | tag_options = {:value => project.id} |
|
381 | 386 | if project == options[:selected] || (options[:selected].respond_to?(:include?) && options[:selected].include?(project)) |
|
382 | 387 | tag_options[:selected] = 'selected' |
|
383 | 388 | else |
|
384 | 389 | tag_options[:selected] = nil |
|
385 | 390 | end |
|
386 | 391 | tag_options.merge!(yield(project)) if block_given? |
|
387 | 392 | s << content_tag('option', name_prefix + h(project), tag_options) |
|
388 | 393 | end |
|
389 | 394 | s.html_safe |
|
390 | 395 | end |
|
391 | 396 | |
|
392 | 397 | # Yields the given block for each project with its level in the tree |
|
393 | 398 | # |
|
394 | 399 | # Wrapper for Project#project_tree |
|
395 | 400 | def project_tree(projects, options={}, &block) |
|
396 | 401 | Project.project_tree(projects, options, &block) |
|
397 | 402 | end |
|
398 | 403 | |
|
399 | 404 | def principals_check_box_tags(name, principals) |
|
400 | 405 | s = '' |
|
401 | 406 | principals.each do |principal| |
|
402 | 407 | s << "<label>#{ check_box_tag name, principal.id, false, :id => nil } #{h principal}</label>\n" |
|
403 | 408 | end |
|
404 | 409 | s.html_safe |
|
405 | 410 | end |
|
406 | 411 | |
|
407 | 412 | # Returns a string for users/groups option tags |
|
408 | 413 | def principals_options_for_select(collection, selected=nil) |
|
409 | 414 | s = '' |
|
410 | 415 | if collection.include?(User.current) |
|
411 | 416 | s << content_tag('option', "<< #{l(:label_me)} >>", :value => User.current.id) |
|
412 | 417 | end |
|
413 | 418 | groups = '' |
|
414 | 419 | collection.sort.each do |element| |
|
415 | 420 | selected_attribute = ' selected="selected"' if option_value_selected?(element, selected) || element.id.to_s == selected |
|
416 | 421 | (element.is_a?(Group) ? groups : s) << %(<option value="#{element.id}"#{selected_attribute}>#{h element.name}</option>) |
|
417 | 422 | end |
|
418 | 423 | unless groups.empty? |
|
419 | 424 | s << %(<optgroup label="#{h(l(:label_group_plural))}">#{groups}</optgroup>) |
|
420 | 425 | end |
|
421 | 426 | s.html_safe |
|
422 | 427 | end |
|
423 | 428 | |
|
424 | 429 | def option_tag(name, text, value, selected=nil, options={}) |
|
425 | 430 | content_tag 'option', value, options.merge(:value => value, :selected => (value == selected)) |
|
426 | 431 | end |
|
427 | 432 | |
|
428 | 433 | def truncate_single_line_raw(string, length) |
|
429 | 434 | string.to_s.truncate(length).gsub(%r{[\r\n]+}m, ' ') |
|
430 | 435 | end |
|
431 | 436 | |
|
432 | 437 | # Truncates at line break after 250 characters or options[:length] |
|
433 | 438 | def truncate_lines(string, options={}) |
|
434 | 439 | length = options[:length] || 250 |
|
435 | 440 | if string.to_s =~ /\A(.{#{length}}.*?)$/m |
|
436 | 441 | "#{$1}..." |
|
437 | 442 | else |
|
438 | 443 | string |
|
439 | 444 | end |
|
440 | 445 | end |
|
441 | 446 | |
|
442 | 447 | def anchor(text) |
|
443 | 448 | text.to_s.gsub(' ', '_') |
|
444 | 449 | end |
|
445 | 450 | |
|
446 | 451 | def html_hours(text) |
|
447 | 452 | text.gsub(%r{(\d+)([\.:])(\d+)}, '<span class="hours hours-int">\1</span><span class="hours hours-dec">\2\3</span>').html_safe |
|
448 | 453 | end |
|
449 | 454 | |
|
450 | 455 | def authoring(created, author, options={}) |
|
451 | 456 | l(options[:label] || :label_added_time_by, :author => link_to_user(author), :age => time_tag(created)).html_safe |
|
452 | 457 | end |
|
453 | 458 | |
|
454 | 459 | def time_tag(time) |
|
455 | 460 | text = distance_of_time_in_words(Time.now, time) |
|
456 | 461 | if @project |
|
457 | 462 | link_to(text, project_activity_path(@project, :from => User.current.time_to_date(time)), :title => format_time(time)) |
|
458 | 463 | else |
|
459 | 464 | content_tag('abbr', text, :title => format_time(time)) |
|
460 | 465 | end |
|
461 | 466 | end |
|
462 | 467 | |
|
463 | 468 | def syntax_highlight_lines(name, content) |
|
464 | 469 | lines = [] |
|
465 | 470 | syntax_highlight(name, content).each_line { |line| lines << line } |
|
466 | 471 | lines |
|
467 | 472 | end |
|
468 | 473 | |
|
469 | 474 | def syntax_highlight(name, content) |
|
470 | 475 | Redmine::SyntaxHighlighting.highlight_by_filename(content, name) |
|
471 | 476 | end |
|
472 | 477 | |
|
473 | 478 | def to_path_param(path) |
|
474 | 479 | str = path.to_s.split(%r{[/\\]}).select{|p| !p.blank?}.join("/") |
|
475 | 480 | str.blank? ? nil : str |
|
476 | 481 | end |
|
477 | 482 | |
|
478 | 483 | def reorder_links(name, url, method = :post) |
|
479 | 484 | # TODO: remove associated styles from application.css too |
|
480 | 485 | ActiveSupport::Deprecation.warn "Application#reorder_links will be removed in Redmine 4." |
|
481 | 486 | |
|
482 | 487 | link_to(l(:label_sort_highest), |
|
483 | 488 | url.merge({"#{name}[move_to]" => 'highest'}), :method => method, |
|
484 | 489 | :title => l(:label_sort_highest), :class => 'icon-only icon-move-top') + |
|
485 | 490 | link_to(l(:label_sort_higher), |
|
486 | 491 | url.merge({"#{name}[move_to]" => 'higher'}), :method => method, |
|
487 | 492 | :title => l(:label_sort_higher), :class => 'icon-only icon-move-up') + |
|
488 | 493 | link_to(l(:label_sort_lower), |
|
489 | 494 | url.merge({"#{name}[move_to]" => 'lower'}), :method => method, |
|
490 | 495 | :title => l(:label_sort_lower), :class => 'icon-only icon-move-down') + |
|
491 | 496 | link_to(l(:label_sort_lowest), |
|
492 | 497 | url.merge({"#{name}[move_to]" => 'lowest'}), :method => method, |
|
493 | 498 | :title => l(:label_sort_lowest), :class => 'icon-only icon-move-bottom') |
|
494 | 499 | end |
|
495 | 500 | |
|
496 | 501 | def reorder_handle(object, options={}) |
|
497 | 502 | data = { |
|
498 | 503 | :reorder_url => options[:url] || url_for(object), |
|
499 | 504 | :reorder_param => options[:param] || object.class.name.underscore |
|
500 | 505 | } |
|
501 | 506 | content_tag('span', '', |
|
502 | 507 | :class => "sort-handle", |
|
503 | 508 | :data => data, |
|
504 | 509 | :title => l(:button_sort)) |
|
505 | 510 | end |
|
506 | 511 | |
|
507 | 512 | def breadcrumb(*args) |
|
508 | 513 | elements = args.flatten |
|
509 | 514 | elements.any? ? content_tag('p', (args.join(" \xc2\xbb ") + " \xc2\xbb ").html_safe, :class => 'breadcrumb') : nil |
|
510 | 515 | end |
|
511 | 516 | |
|
512 | 517 | def other_formats_links(&block) |
|
513 | 518 | concat('<p class="other-formats">'.html_safe + l(:label_export_to)) |
|
514 | 519 | yield Redmine::Views::OtherFormatsBuilder.new(self) |
|
515 | 520 | concat('</p>'.html_safe) |
|
516 | 521 | end |
|
517 | 522 | |
|
518 | 523 | def page_header_title |
|
519 | 524 | if @project.nil? || @project.new_record? |
|
520 | 525 | h(Setting.app_title) |
|
521 | 526 | else |
|
522 | 527 | b = [] |
|
523 | 528 | ancestors = (@project.root? ? [] : @project.ancestors.visible.to_a) |
|
524 | 529 | if ancestors.any? |
|
525 | 530 | root = ancestors.shift |
|
526 | 531 | b << link_to_project(root, {:jump => current_menu_item}, :class => 'root') |
|
527 | 532 | if ancestors.size > 2 |
|
528 | 533 | b << "\xe2\x80\xa6" |
|
529 | 534 | ancestors = ancestors[-2, 2] |
|
530 | 535 | end |
|
531 | 536 | b += ancestors.collect {|p| link_to_project(p, {:jump => current_menu_item}, :class => 'ancestor') } |
|
532 | 537 | end |
|
533 | 538 | b << content_tag(:span, h(@project), class: 'current-project') |
|
534 | 539 | if b.size > 1 |
|
535 | 540 | separator = content_tag(:span, ' » '.html_safe, class: 'separator') |
|
536 | 541 | path = safe_join(b[0..-2], separator) + separator |
|
537 | 542 | b = [content_tag(:span, path.html_safe, class: 'breadcrumbs'), b[-1]] |
|
538 | 543 | end |
|
539 | 544 | safe_join b |
|
540 | 545 | end |
|
541 | 546 | end |
|
542 | 547 | |
|
543 | 548 | # Returns a h2 tag and sets the html title with the given arguments |
|
544 | 549 | def title(*args) |
|
545 | 550 | strings = args.map do |arg| |
|
546 | 551 | if arg.is_a?(Array) && arg.size >= 2 |
|
547 | 552 | link_to(*arg) |
|
548 | 553 | else |
|
549 | 554 | h(arg.to_s) |
|
550 | 555 | end |
|
551 | 556 | end |
|
552 | 557 | html_title args.reverse.map {|s| (s.is_a?(Array) ? s.first : s).to_s} |
|
553 | 558 | content_tag('h2', strings.join(' » ').html_safe) |
|
554 | 559 | end |
|
555 | 560 | |
|
556 | 561 | # Sets the html title |
|
557 | 562 | # Returns the html title when called without arguments |
|
558 | 563 | # Current project name and app_title and automatically appended |
|
559 | 564 | # Exemples: |
|
560 | 565 | # html_title 'Foo', 'Bar' |
|
561 | 566 | # html_title # => 'Foo - Bar - My Project - Redmine' |
|
562 | 567 | def html_title(*args) |
|
563 | 568 | if args.empty? |
|
564 | 569 | title = @html_title || [] |
|
565 | 570 | title << @project.name if @project |
|
566 | 571 | title << Setting.app_title unless Setting.app_title == title.last |
|
567 | 572 | title.reject(&:blank?).join(' - ') |
|
568 | 573 | else |
|
569 | 574 | @html_title ||= [] |
|
570 | 575 | @html_title += args |
|
571 | 576 | end |
|
572 | 577 | end |
|
573 | 578 | |
|
574 | 579 | # Returns the theme, controller name, and action as css classes for the |
|
575 | 580 | # HTML body. |
|
576 | 581 | def body_css_classes |
|
577 | 582 | css = [] |
|
578 | 583 | if theme = Redmine::Themes.theme(Setting.ui_theme) |
|
579 | 584 | css << 'theme-' + theme.name |
|
580 | 585 | end |
|
581 | 586 | |
|
582 | 587 | css << 'project-' + @project.identifier if @project && @project.identifier.present? |
|
583 | 588 | css << 'controller-' + controller_name |
|
584 | 589 | css << 'action-' + action_name |
|
585 | 590 | if UserPreference::TEXTAREA_FONT_OPTIONS.include?(User.current.pref.textarea_font) |
|
586 | 591 | css << "textarea-#{User.current.pref.textarea_font}" |
|
587 | 592 | end |
|
588 | 593 | css.join(' ') |
|
589 | 594 | end |
|
590 | 595 | |
|
591 | 596 | def accesskey(s) |
|
592 | 597 | @used_accesskeys ||= [] |
|
593 | 598 | key = Redmine::AccessKeys.key_for(s) |
|
594 | 599 | return nil if @used_accesskeys.include?(key) |
|
595 | 600 | @used_accesskeys << key |
|
596 | 601 | key |
|
597 | 602 | end |
|
598 | 603 | |
|
599 | 604 | # Formats text according to system settings. |
|
600 | 605 | # 2 ways to call this method: |
|
601 | 606 | # * with a String: textilizable(text, options) |
|
602 | 607 | # * with an object and one of its attribute: textilizable(issue, :description, options) |
|
603 | 608 | def textilizable(*args) |
|
604 | 609 | options = args.last.is_a?(Hash) ? args.pop : {} |
|
605 | 610 | case args.size |
|
606 | 611 | when 1 |
|
607 | 612 | obj = options[:object] |
|
608 | 613 | text = args.shift |
|
609 | 614 | when 2 |
|
610 | 615 | obj = args.shift |
|
611 | 616 | attr = args.shift |
|
612 | 617 | text = obj.send(attr).to_s |
|
613 | 618 | else |
|
614 | 619 | raise ArgumentError, 'invalid arguments to textilizable' |
|
615 | 620 | end |
|
616 | 621 | return '' if text.blank? |
|
617 | 622 | project = options[:project] || @project || (obj && obj.respond_to?(:project) ? obj.project : nil) |
|
618 | 623 | @only_path = only_path = options.delete(:only_path) == false ? false : true |
|
619 | 624 | |
|
620 | 625 | text = text.dup |
|
621 | 626 | macros = catch_macros(text) |
|
622 | text = Redmine::WikiFormatting.to_html(Setting.text_formatting, text, :object => obj, :attribute => attr) | |
|
627 | ||
|
628 | if options[:formatting] == false | |
|
629 | text = h(text) | |
|
630 | else | |
|
631 | formatting = options[:formatting] || Setting.text_formatting | |
|
632 | text = Redmine::WikiFormatting.to_html(formatting, text, :object => obj, :attribute => attr) | |
|
633 | end | |
|
623 | 634 | |
|
624 | 635 | @parsed_headings = [] |
|
625 | 636 | @heading_anchors = {} |
|
626 | 637 | @current_section = 0 if options[:edit_section_links] |
|
627 | 638 | |
|
628 | 639 | parse_sections(text, project, obj, attr, only_path, options) |
|
629 | 640 | text = parse_non_pre_blocks(text, obj, macros) do |text| |
|
630 | 641 | [:parse_inline_attachments, :parse_wiki_links, :parse_redmine_links].each do |method_name| |
|
631 | 642 | send method_name, text, project, obj, attr, only_path, options |
|
632 | 643 | end |
|
633 | 644 | end |
|
634 | 645 | parse_headings(text, project, obj, attr, only_path, options) |
|
635 | 646 | |
|
636 | 647 | if @parsed_headings.any? |
|
637 | 648 | replace_toc(text, @parsed_headings) |
|
638 | 649 | end |
|
639 | 650 | |
|
640 | 651 | text.html_safe |
|
641 | 652 | end |
|
642 | 653 | |
|
643 | 654 | def parse_non_pre_blocks(text, obj, macros) |
|
644 | 655 | s = StringScanner.new(text) |
|
645 | 656 | tags = [] |
|
646 | 657 | parsed = '' |
|
647 | 658 | while !s.eos? |
|
648 | 659 | s.scan(/(.*?)(<(\/)?(pre|code)(.*?)>|\z)/im) |
|
649 | 660 | text, full_tag, closing, tag = s[1], s[2], s[3], s[4] |
|
650 | 661 | if tags.empty? |
|
651 | 662 | yield text |
|
652 | 663 | inject_macros(text, obj, macros) if macros.any? |
|
653 | 664 | else |
|
654 | 665 | inject_macros(text, obj, macros, false) if macros.any? |
|
655 | 666 | end |
|
656 | 667 | parsed << text |
|
657 | 668 | if tag |
|
658 | 669 | if closing |
|
659 | 670 | if tags.last && tags.last.casecmp(tag) == 0 |
|
660 | 671 | tags.pop |
|
661 | 672 | end |
|
662 | 673 | else |
|
663 | 674 | tags << tag.downcase |
|
664 | 675 | end |
|
665 | 676 | parsed << full_tag |
|
666 | 677 | end |
|
667 | 678 | end |
|
668 | 679 | # Close any non closing tags |
|
669 | 680 | while tag = tags.pop |
|
670 | 681 | parsed << "</#{tag}>" |
|
671 | 682 | end |
|
672 | 683 | parsed |
|
673 | 684 | end |
|
674 | 685 | |
|
675 | 686 | def parse_inline_attachments(text, project, obj, attr, only_path, options) |
|
676 | 687 | return if options[:inline_attachments] == false |
|
677 | 688 | |
|
678 | 689 | # when using an image link, try to use an attachment, if possible |
|
679 | 690 | attachments = options[:attachments] || [] |
|
680 | 691 | attachments += obj.attachments if obj.respond_to?(:attachments) |
|
681 | 692 | if attachments.present? |
|
682 | 693 | text.gsub!(/src="([^\/"]+\.(bmp|gif|jpg|jpe|jpeg|png))"(\s+alt="([^"]*)")?/i) do |m| |
|
683 | 694 | filename, ext, alt, alttext = $1.downcase, $2, $3, $4 |
|
684 | 695 | # search for the picture in attachments |
|
685 | 696 | if found = Attachment.latest_attach(attachments, CGI.unescape(filename)) |
|
686 | 697 | image_url = download_named_attachment_url(found, found.filename, :only_path => only_path) |
|
687 | 698 | desc = found.description.to_s.gsub('"', '') |
|
688 | 699 | if !desc.blank? && alttext.blank? |
|
689 | 700 | alt = " title=\"#{desc}\" alt=\"#{desc}\"" |
|
690 | 701 | end |
|
691 | 702 | "src=\"#{image_url}\"#{alt}" |
|
692 | 703 | else |
|
693 | 704 | m |
|
694 | 705 | end |
|
695 | 706 | end |
|
696 | 707 | end |
|
697 | 708 | end |
|
698 | 709 | |
|
699 | 710 | # Wiki links |
|
700 | 711 | # |
|
701 | 712 | # Examples: |
|
702 | 713 | # [[mypage]] |
|
703 | 714 | # [[mypage|mytext]] |
|
704 | 715 | # wiki links can refer other project wikis, using project name or identifier: |
|
705 | 716 | # [[project:]] -> wiki starting page |
|
706 | 717 | # [[project:|mytext]] |
|
707 | 718 | # [[project:mypage]] |
|
708 | 719 | # [[project:mypage|mytext]] |
|
709 | 720 | def parse_wiki_links(text, project, obj, attr, only_path, options) |
|
710 | 721 | text.gsub!(/(!)?(\[\[([^\]\n\|]+)(\|([^\]\n\|]+))?\]\])/) do |m| |
|
711 | 722 | link_project = project |
|
712 | 723 | esc, all, page, title = $1, $2, $3, $5 |
|
713 | 724 | if esc.nil? |
|
714 | 725 | if page =~ /^([^\:]+)\:(.*)$/ |
|
715 | 726 | identifier, page = $1, $2 |
|
716 | 727 | link_project = Project.find_by_identifier(identifier) || Project.find_by_name(identifier) |
|
717 | 728 | title ||= identifier if page.blank? |
|
718 | 729 | end |
|
719 | 730 | |
|
720 | 731 | if link_project && link_project.wiki |
|
721 | 732 | # extract anchor |
|
722 | 733 | anchor = nil |
|
723 | 734 | if page =~ /^(.+?)\#(.+)$/ |
|
724 | 735 | page, anchor = $1, $2 |
|
725 | 736 | end |
|
726 | 737 | anchor = sanitize_anchor_name(anchor) if anchor.present? |
|
727 | 738 | # check if page exists |
|
728 | 739 | wiki_page = link_project.wiki.find_page(page) |
|
729 | 740 | url = if anchor.present? && wiki_page.present? && (obj.is_a?(WikiContent) || obj.is_a?(WikiContent::Version)) && obj.page == wiki_page |
|
730 | 741 | "##{anchor}" |
|
731 | 742 | else |
|
732 | 743 | case options[:wiki_links] |
|
733 | 744 | when :local; "#{page.present? ? Wiki.titleize(page) : ''}.html" + (anchor.present? ? "##{anchor}" : '') |
|
734 | 745 | when :anchor; "##{page.present? ? Wiki.titleize(page) : title}" + (anchor.present? ? "_#{anchor}" : '') # used for single-file wiki export |
|
735 | 746 | else |
|
736 | 747 | wiki_page_id = page.present? ? Wiki.titleize(page) : nil |
|
737 | 748 | parent = wiki_page.nil? && obj.is_a?(WikiContent) && obj.page && project == link_project ? obj.page.title : nil |
|
738 | 749 | url_for(:only_path => only_path, :controller => 'wiki', :action => 'show', :project_id => link_project, |
|
739 | 750 | :id => wiki_page_id, :version => nil, :anchor => anchor, :parent => parent) |
|
740 | 751 | end |
|
741 | 752 | end |
|
742 | 753 | link_to(title.present? ? title.html_safe : h(page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new'))) |
|
743 | 754 | else |
|
744 | 755 | # project or wiki doesn't exist |
|
745 | 756 | all |
|
746 | 757 | end |
|
747 | 758 | else |
|
748 | 759 | all |
|
749 | 760 | end |
|
750 | 761 | end |
|
751 | 762 | end |
|
752 | 763 | |
|
753 | 764 | # Redmine links |
|
754 | 765 | # |
|
755 | 766 | # Examples: |
|
756 | 767 | # Issues: |
|
757 | 768 | # #52 -> Link to issue #52 |
|
758 | 769 | # Changesets: |
|
759 | 770 | # r52 -> Link to revision 52 |
|
760 | 771 | # commit:a85130f -> Link to scmid starting with a85130f |
|
761 | 772 | # Documents: |
|
762 | 773 | # document#17 -> Link to document with id 17 |
|
763 | 774 | # document:Greetings -> Link to the document with title "Greetings" |
|
764 | 775 | # document:"Some document" -> Link to the document with title "Some document" |
|
765 | 776 | # Versions: |
|
766 | 777 | # version#3 -> Link to version with id 3 |
|
767 | 778 | # version:1.0.0 -> Link to version named "1.0.0" |
|
768 | 779 | # version:"1.0 beta 2" -> Link to version named "1.0 beta 2" |
|
769 | 780 | # Attachments: |
|
770 | 781 | # attachment:file.zip -> Link to the attachment of the current object named file.zip |
|
771 | 782 | # Source files: |
|
772 | 783 | # source:some/file -> Link to the file located at /some/file in the project's repository |
|
773 | 784 | # source:some/file@52 -> Link to the file's revision 52 |
|
774 | 785 | # source:some/file#L120 -> Link to line 120 of the file |
|
775 | 786 | # source:some/file@52#L120 -> Link to line 120 of the file's revision 52 |
|
776 | 787 | # export:some/file -> Force the download of the file |
|
777 | 788 | # Forum messages: |
|
778 | 789 | # message#1218 -> Link to message with id 1218 |
|
779 | 790 | # Projects: |
|
780 | 791 | # project:someproject -> Link to project named "someproject" |
|
781 | 792 | # project#3 -> Link to project with id 3 |
|
782 | 793 | # |
|
783 | 794 | # Links can refer other objects from other projects, using project identifier: |
|
784 | 795 | # identifier:r52 |
|
785 | 796 | # identifier:document:"Some document" |
|
786 | 797 | # identifier:version:1.0.0 |
|
787 | 798 | # identifier:source:some/file |
|
788 | 799 | def parse_redmine_links(text, default_project, obj, attr, only_path, options) |
|
789 | 800 | text.gsub!(%r{<a( [^>]+?)?>(.*?)</a>|([\s\(,\-\[\>]|^)(!)?(([a-z0-9\-_]+):)?(attachment|document|version|forum|news|message|project|commit|source|export)?(((#)|((([a-z0-9\-_]+)\|)?(r)))((\d+)((#note)?-(\d+))?)|(:)([^"\s<>][^\s<>]*?|"[^"]+?"))(?=(?=[[:punct:]][^A-Za-z0-9_/])|,|\s|\]|<|$)}) do |m| |
|
790 | 801 | tag_content, leading, esc, project_prefix, project_identifier, prefix, repo_prefix, repo_identifier, sep, identifier, comment_suffix, comment_id = $2, $3, $4, $5, $6, $7, $12, $13, $10 || $14 || $20, $16 || $21, $17, $19 |
|
791 | 802 | if tag_content |
|
792 | 803 | $& |
|
793 | 804 | else |
|
794 | 805 | link = nil |
|
795 | 806 | project = default_project |
|
796 | 807 | if project_identifier |
|
797 | 808 | project = Project.visible.find_by_identifier(project_identifier) |
|
798 | 809 | end |
|
799 | 810 | if esc.nil? |
|
800 | 811 | if prefix.nil? && sep == 'r' |
|
801 | 812 | if project |
|
802 | 813 | repository = nil |
|
803 | 814 | if repo_identifier |
|
804 | 815 | repository = project.repositories.detect {|repo| repo.identifier == repo_identifier} |
|
805 | 816 | else |
|
806 | 817 | repository = project.repository |
|
807 | 818 | end |
|
808 | 819 | # project.changesets.visible raises an SQL error because of a double join on repositories |
|
809 | 820 | if repository && |
|
810 | 821 | (changeset = Changeset.visible. |
|
811 | 822 | find_by_repository_id_and_revision(repository.id, identifier)) |
|
812 | 823 | link = link_to(h("#{project_prefix}#{repo_prefix}r#{identifier}"), |
|
813 | 824 | {:only_path => only_path, :controller => 'repositories', |
|
814 | 825 | :action => 'revision', :id => project, |
|
815 | 826 | :repository_id => repository.identifier_param, |
|
816 | 827 | :rev => changeset.revision}, |
|
817 | 828 | :class => 'changeset', |
|
818 | 829 | :title => truncate_single_line_raw(changeset.comments, 100)) |
|
819 | 830 | end |
|
820 | 831 | end |
|
821 | 832 | elsif sep == '#' |
|
822 | 833 | oid = identifier.to_i |
|
823 | 834 | case prefix |
|
824 | 835 | when nil |
|
825 | 836 | if oid.to_s == identifier && |
|
826 | 837 | issue = Issue.visible.find_by_id(oid) |
|
827 | 838 | anchor = comment_id ? "note-#{comment_id}" : nil |
|
828 | 839 | link = link_to("##{oid}#{comment_suffix}", |
|
829 | 840 | issue_url(issue, :only_path => only_path, :anchor => anchor), |
|
830 | 841 | :class => issue.css_classes, |
|
831 | 842 | :title => "#{issue.tracker.name}: #{issue.subject.truncate(100)} (#{issue.status.name})") |
|
832 | 843 | end |
|
833 | 844 | when 'document' |
|
834 | 845 | if document = Document.visible.find_by_id(oid) |
|
835 | 846 | link = link_to(document.title, document_url(document, :only_path => only_path), :class => 'document') |
|
836 | 847 | end |
|
837 | 848 | when 'version' |
|
838 | 849 | if version = Version.visible.find_by_id(oid) |
|
839 | 850 | link = link_to(version.name, version_url(version, :only_path => only_path), :class => 'version') |
|
840 | 851 | end |
|
841 | 852 | when 'message' |
|
842 | 853 | if message = Message.visible.find_by_id(oid) |
|
843 | 854 | link = link_to_message(message, {:only_path => only_path}, :class => 'message') |
|
844 | 855 | end |
|
845 | 856 | when 'forum' |
|
846 | 857 | if board = Board.visible.find_by_id(oid) |
|
847 | 858 | link = link_to(board.name, project_board_url(board.project, board, :only_path => only_path), :class => 'board') |
|
848 | 859 | end |
|
849 | 860 | when 'news' |
|
850 | 861 | if news = News.visible.find_by_id(oid) |
|
851 | 862 | link = link_to(news.title, news_url(news, :only_path => only_path), :class => 'news') |
|
852 | 863 | end |
|
853 | 864 | when 'project' |
|
854 | 865 | if p = Project.visible.find_by_id(oid) |
|
855 | 866 | link = link_to_project(p, {:only_path => only_path}, :class => 'project') |
|
856 | 867 | end |
|
857 | 868 | end |
|
858 | 869 | elsif sep == ':' |
|
859 | 870 | # removes the double quotes if any |
|
860 | 871 | name = identifier.gsub(%r{^"(.*)"$}, "\\1") |
|
861 | 872 | name = CGI.unescapeHTML(name) |
|
862 | 873 | case prefix |
|
863 | 874 | when 'document' |
|
864 | 875 | if project && document = project.documents.visible.find_by_title(name) |
|
865 | 876 | link = link_to(document.title, document_url(document, :only_path => only_path), :class => 'document') |
|
866 | 877 | end |
|
867 | 878 | when 'version' |
|
868 | 879 | if project && version = project.versions.visible.find_by_name(name) |
|
869 | 880 | link = link_to(version.name, version_url(version, :only_path => only_path), :class => 'version') |
|
870 | 881 | end |
|
871 | 882 | when 'forum' |
|
872 | 883 | if project && board = project.boards.visible.find_by_name(name) |
|
873 | 884 | link = link_to(board.name, project_board_url(board.project, board, :only_path => only_path), :class => 'board') |
|
874 | 885 | end |
|
875 | 886 | when 'news' |
|
876 | 887 | if project && news = project.news.visible.find_by_title(name) |
|
877 | 888 | link = link_to(news.title, news_url(news, :only_path => only_path), :class => 'news') |
|
878 | 889 | end |
|
879 | 890 | when 'commit', 'source', 'export' |
|
880 | 891 | if project |
|
881 | 892 | repository = nil |
|
882 | 893 | if name =~ %r{^(([a-z0-9\-_]+)\|)(.+)$} |
|
883 | 894 | repo_prefix, repo_identifier, name = $1, $2, $3 |
|
884 | 895 | repository = project.repositories.detect {|repo| repo.identifier == repo_identifier} |
|
885 | 896 | else |
|
886 | 897 | repository = project.repository |
|
887 | 898 | end |
|
888 | 899 | if prefix == 'commit' |
|
889 | 900 | if repository && (changeset = Changeset.visible.where("repository_id = ? AND scmid LIKE ?", repository.id, "#{name}%").first) |
|
890 | 901 | link = link_to h("#{project_prefix}#{repo_prefix}#{name}"), {:only_path => only_path, :controller => 'repositories', :action => 'revision', :id => project, :repository_id => repository.identifier_param, :rev => changeset.identifier}, |
|
891 | 902 | :class => 'changeset', |
|
892 | 903 | :title => truncate_single_line_raw(changeset.comments, 100) |
|
893 | 904 | end |
|
894 | 905 | else |
|
895 | 906 | if repository && User.current.allowed_to?(:browse_repository, project) |
|
896 | 907 | name =~ %r{^[/\\]*(.*?)(@([^/\\@]+?))?(#(L\d+))?$} |
|
897 | 908 | path, rev, anchor = $1, $3, $5 |
|
898 | 909 | link = link_to h("#{project_prefix}#{prefix}:#{repo_prefix}#{name}"), {:only_path => only_path, :controller => 'repositories', :action => (prefix == 'export' ? 'raw' : 'entry'), :id => project, :repository_id => repository.identifier_param, |
|
899 | 910 | :path => to_path_param(path), |
|
900 | 911 | :rev => rev, |
|
901 | 912 | :anchor => anchor}, |
|
902 | 913 | :class => (prefix == 'export' ? 'source download' : 'source') |
|
903 | 914 | end |
|
904 | 915 | end |
|
905 | 916 | repo_prefix = nil |
|
906 | 917 | end |
|
907 | 918 | when 'attachment' |
|
908 | 919 | attachments = options[:attachments] || [] |
|
909 | 920 | attachments += obj.attachments if obj.respond_to?(:attachments) |
|
910 | 921 | if attachments && attachment = Attachment.latest_attach(attachments, name) |
|
911 | 922 | link = link_to_attachment(attachment, :only_path => only_path, :download => true, :class => 'attachment') |
|
912 | 923 | end |
|
913 | 924 | when 'project' |
|
914 | 925 | if p = Project.visible.where("identifier = :s OR LOWER(name) = :s", :s => name.downcase).first |
|
915 | 926 | link = link_to_project(p, {:only_path => only_path}, :class => 'project') |
|
916 | 927 | end |
|
917 | 928 | end |
|
918 | 929 | end |
|
919 | 930 | end |
|
920 | 931 | (leading + (link || "#{project_prefix}#{prefix}#{repo_prefix}#{sep}#{identifier}#{comment_suffix}")) |
|
921 | 932 | end |
|
922 | 933 | end |
|
923 | 934 | end |
|
924 | 935 | |
|
925 | 936 | HEADING_RE = /(<h(\d)( [^>]+)?>(.+?)<\/h(\d)>)/i unless const_defined?(:HEADING_RE) |
|
926 | 937 | |
|
927 | 938 | def parse_sections(text, project, obj, attr, only_path, options) |
|
928 | 939 | return unless options[:edit_section_links] |
|
929 | 940 | text.gsub!(HEADING_RE) do |
|
930 | 941 | heading, level = $1, $2 |
|
931 | 942 | @current_section += 1 |
|
932 | 943 | if @current_section > 1 |
|
933 | 944 | content_tag('div', |
|
934 | 945 | link_to(l(:button_edit_section), options[:edit_section_links].merge(:section => @current_section), |
|
935 | 946 | :class => 'icon-only icon-edit'), |
|
936 | 947 | :class => "contextual heading-#{level}", |
|
937 | 948 | :title => l(:button_edit_section), |
|
938 | 949 | :id => "section-#{@current_section}") + heading.html_safe |
|
939 | 950 | else |
|
940 | 951 | heading |
|
941 | 952 | end |
|
942 | 953 | end |
|
943 | 954 | end |
|
944 | 955 | |
|
945 | 956 | # Headings and TOC |
|
946 | 957 | # Adds ids and links to headings unless options[:headings] is set to false |
|
947 | 958 | def parse_headings(text, project, obj, attr, only_path, options) |
|
948 | 959 | return if options[:headings] == false |
|
949 | 960 | |
|
950 | 961 | text.gsub!(HEADING_RE) do |
|
951 | 962 | level, attrs, content = $2.to_i, $3, $4 |
|
952 | 963 | item = strip_tags(content).strip |
|
953 | 964 | anchor = sanitize_anchor_name(item) |
|
954 | 965 | # used for single-file wiki export |
|
955 | 966 | anchor = "#{obj.page.title}_#{anchor}" if options[:wiki_links] == :anchor && (obj.is_a?(WikiContent) || obj.is_a?(WikiContent::Version)) |
|
956 | 967 | @heading_anchors[anchor] ||= 0 |
|
957 | 968 | idx = (@heading_anchors[anchor] += 1) |
|
958 | 969 | if idx > 1 |
|
959 | 970 | anchor = "#{anchor}-#{idx}" |
|
960 | 971 | end |
|
961 | 972 | @parsed_headings << [level, anchor, item] |
|
962 | 973 | "<a name=\"#{anchor}\"></a>\n<h#{level} #{attrs}>#{content}<a href=\"##{anchor}\" class=\"wiki-anchor\">¶</a></h#{level}>" |
|
963 | 974 | end |
|
964 | 975 | end |
|
965 | 976 | |
|
966 | 977 | MACROS_RE = /( |
|
967 | 978 | (!)? # escaping |
|
968 | 979 | ( |
|
969 | 980 | \{\{ # opening tag |
|
970 | 981 | ([\w]+) # macro name |
|
971 | 982 | (\(([^\n\r]*?)\))? # optional arguments |
|
972 | 983 | ([\n\r].*?[\n\r])? # optional block of text |
|
973 | 984 | \}\} # closing tag |
|
974 | 985 | ) |
|
975 | 986 | )/mx unless const_defined?(:MACROS_RE) |
|
976 | 987 | |
|
977 | 988 | MACRO_SUB_RE = /( |
|
978 | 989 | \{\{ |
|
979 | 990 | macro\((\d+)\) |
|
980 | 991 | \}\} |
|
981 | 992 | )/x unless const_defined?(:MACRO_SUB_RE) |
|
982 | 993 | |
|
983 | 994 | # Extracts macros from text |
|
984 | 995 | def catch_macros(text) |
|
985 | 996 | macros = {} |
|
986 | 997 | text.gsub!(MACROS_RE) do |
|
987 | 998 | all, macro = $1, $4.downcase |
|
988 | 999 | if macro_exists?(macro) || all =~ MACRO_SUB_RE |
|
989 | 1000 | index = macros.size |
|
990 | 1001 | macros[index] = all |
|
991 | 1002 | "{{macro(#{index})}}" |
|
992 | 1003 | else |
|
993 | 1004 | all |
|
994 | 1005 | end |
|
995 | 1006 | end |
|
996 | 1007 | macros |
|
997 | 1008 | end |
|
998 | 1009 | |
|
999 | 1010 | # Executes and replaces macros in text |
|
1000 | 1011 | def inject_macros(text, obj, macros, execute=true) |
|
1001 | 1012 | text.gsub!(MACRO_SUB_RE) do |
|
1002 | 1013 | all, index = $1, $2.to_i |
|
1003 | 1014 | orig = macros.delete(index) |
|
1004 | 1015 | if execute && orig && orig =~ MACROS_RE |
|
1005 | 1016 | esc, all, macro, args, block = $2, $3, $4.downcase, $6.to_s, $7.try(:strip) |
|
1006 | 1017 | if esc.nil? |
|
1007 | 1018 | h(exec_macro(macro, obj, args, block) || all) |
|
1008 | 1019 | else |
|
1009 | 1020 | h(all) |
|
1010 | 1021 | end |
|
1011 | 1022 | elsif orig |
|
1012 | 1023 | h(orig) |
|
1013 | 1024 | else |
|
1014 | 1025 | h(all) |
|
1015 | 1026 | end |
|
1016 | 1027 | end |
|
1017 | 1028 | end |
|
1018 | 1029 | |
|
1019 | 1030 | TOC_RE = /<p>\{\{((<|<)|(>|>))?toc\}\}<\/p>/i unless const_defined?(:TOC_RE) |
|
1020 | 1031 | |
|
1021 | 1032 | # Renders the TOC with given headings |
|
1022 | 1033 | def replace_toc(text, headings) |
|
1023 | 1034 | text.gsub!(TOC_RE) do |
|
1024 | 1035 | left_align, right_align = $2, $3 |
|
1025 | 1036 | # Keep only the 4 first levels |
|
1026 | 1037 | headings = headings.select{|level, anchor, item| level <= 4} |
|
1027 | 1038 | if headings.empty? |
|
1028 | 1039 | '' |
|
1029 | 1040 | else |
|
1030 | 1041 | div_class = 'toc' |
|
1031 | 1042 | div_class << ' right' if right_align |
|
1032 | 1043 | div_class << ' left' if left_align |
|
1033 | 1044 | out = "<ul class=\"#{div_class}\"><li><strong>#{l :label_table_of_contents}</strong></li><li>" |
|
1034 | 1045 | root = headings.map(&:first).min |
|
1035 | 1046 | current = root |
|
1036 | 1047 | started = false |
|
1037 | 1048 | headings.each do |level, anchor, item| |
|
1038 | 1049 | if level > current |
|
1039 | 1050 | out << '<ul><li>' * (level - current) |
|
1040 | 1051 | elsif level < current |
|
1041 | 1052 | out << "</li></ul>\n" * (current - level) + "</li><li>" |
|
1042 | 1053 | elsif started |
|
1043 | 1054 | out << '</li><li>' |
|
1044 | 1055 | end |
|
1045 | 1056 | out << "<a href=\"##{anchor}\">#{item}</a>" |
|
1046 | 1057 | current = level |
|
1047 | 1058 | started = true |
|
1048 | 1059 | end |
|
1049 | 1060 | out << '</li></ul>' * (current - root) |
|
1050 | 1061 | out << '</li></ul>' |
|
1051 | 1062 | end |
|
1052 | 1063 | end |
|
1053 | 1064 | end |
|
1054 | 1065 | |
|
1055 | 1066 | # Same as Rails' simple_format helper without using paragraphs |
|
1056 | 1067 | def simple_format_without_paragraph(text) |
|
1057 | 1068 | text.to_s. |
|
1058 | 1069 | gsub(/\r\n?/, "\n"). # \r\n and \r -> \n |
|
1059 | 1070 | gsub(/\n\n+/, "<br /><br />"). # 2+ newline -> 2 br |
|
1060 | 1071 | gsub(/([^\n]\n)(?=[^\n])/, '\1<br />'). # 1 newline -> br |
|
1061 | 1072 | html_safe |
|
1062 | 1073 | end |
|
1063 | 1074 | |
|
1064 | 1075 | def lang_options_for_select(blank=true) |
|
1065 | 1076 | (blank ? [["(auto)", ""]] : []) + languages_options |
|
1066 | 1077 | end |
|
1067 | 1078 | |
|
1068 | 1079 | def labelled_form_for(*args, &proc) |
|
1069 | 1080 | args << {} unless args.last.is_a?(Hash) |
|
1070 | 1081 | options = args.last |
|
1071 | 1082 | if args.first.is_a?(Symbol) |
|
1072 | 1083 | options.merge!(:as => args.shift) |
|
1073 | 1084 | end |
|
1074 | 1085 | options.merge!({:builder => Redmine::Views::LabelledFormBuilder}) |
|
1075 | 1086 | form_for(*args, &proc) |
|
1076 | 1087 | end |
|
1077 | 1088 | |
|
1078 | 1089 | def labelled_fields_for(*args, &proc) |
|
1079 | 1090 | args << {} unless args.last.is_a?(Hash) |
|
1080 | 1091 | options = args.last |
|
1081 | 1092 | options.merge!({:builder => Redmine::Views::LabelledFormBuilder}) |
|
1082 | 1093 | fields_for(*args, &proc) |
|
1083 | 1094 | end |
|
1084 | 1095 | |
|
1085 | 1096 | # Render the error messages for the given objects |
|
1086 | 1097 | def error_messages_for(*objects) |
|
1087 | 1098 | objects = objects.map {|o| o.is_a?(String) ? instance_variable_get("@#{o}") : o}.compact |
|
1088 | 1099 | errors = objects.map {|o| o.errors.full_messages}.flatten |
|
1089 | 1100 | render_error_messages(errors) |
|
1090 | 1101 | end |
|
1091 | 1102 | |
|
1092 | 1103 | # Renders a list of error messages |
|
1093 | 1104 | def render_error_messages(errors) |
|
1094 | 1105 | html = "" |
|
1095 | 1106 | if errors.present? |
|
1096 | 1107 | html << "<div id='errorExplanation'><ul>\n" |
|
1097 | 1108 | errors.each do |error| |
|
1098 | 1109 | html << "<li>#{h error}</li>\n" |
|
1099 | 1110 | end |
|
1100 | 1111 | html << "</ul></div>\n" |
|
1101 | 1112 | end |
|
1102 | 1113 | html.html_safe |
|
1103 | 1114 | end |
|
1104 | 1115 | |
|
1105 | 1116 | def delete_link(url, options={}) |
|
1106 | 1117 | options = { |
|
1107 | 1118 | :method => :delete, |
|
1108 | 1119 | :data => {:confirm => l(:text_are_you_sure)}, |
|
1109 | 1120 | :class => 'icon icon-del' |
|
1110 | 1121 | }.merge(options) |
|
1111 | 1122 | |
|
1112 | 1123 | link_to l(:button_delete), url, options |
|
1113 | 1124 | end |
|
1114 | 1125 | |
|
1115 | 1126 | def preview_link(url, form, target='preview', options={}) |
|
1116 | 1127 | content_tag 'a', l(:label_preview), { |
|
1117 | 1128 | :href => "#", |
|
1118 | 1129 | :onclick => %|submitPreview("#{escape_javascript url_for(url)}", "#{escape_javascript form}", "#{escape_javascript target}"); return false;|, |
|
1119 | 1130 | :accesskey => accesskey(:preview) |
|
1120 | 1131 | }.merge(options) |
|
1121 | 1132 | end |
|
1122 | 1133 | |
|
1123 | 1134 | def link_to_function(name, function, html_options={}) |
|
1124 | 1135 | content_tag(:a, name, {:href => '#', :onclick => "#{function}; return false;"}.merge(html_options)) |
|
1125 | 1136 | end |
|
1126 | 1137 | |
|
1127 | 1138 | # Helper to render JSON in views |
|
1128 | 1139 | def raw_json(arg) |
|
1129 | 1140 | arg.to_json.to_s.gsub('/', '\/').html_safe |
|
1130 | 1141 | end |
|
1131 | 1142 | |
|
1132 | 1143 | def back_url |
|
1133 | 1144 | url = params[:back_url] |
|
1134 | 1145 | if url.nil? && referer = request.env['HTTP_REFERER'] |
|
1135 | 1146 | url = CGI.unescape(referer.to_s) |
|
1136 | 1147 | # URLs that contains the utf8=[checkmark] parameter added by Rails are |
|
1137 | 1148 | # parsed as invalid by URI.parse so the redirect to the back URL would |
|
1138 | 1149 | # not be accepted (ApplicationController#validate_back_url would return |
|
1139 | 1150 | # false) |
|
1140 | 1151 | url.gsub!(/(\?|&)utf8=\u2713&?/, '\1') |
|
1141 | 1152 | end |
|
1142 | 1153 | url |
|
1143 | 1154 | end |
|
1144 | 1155 | |
|
1145 | 1156 | def back_url_hidden_field_tag |
|
1146 | 1157 | url = back_url |
|
1147 | 1158 | hidden_field_tag('back_url', url, :id => nil) unless url.blank? |
|
1148 | 1159 | end |
|
1149 | 1160 | |
|
1150 | 1161 | def check_all_links(form_name) |
|
1151 | 1162 | link_to_function(l(:button_check_all), "checkAll('#{form_name}', true)") + |
|
1152 | 1163 | " | ".html_safe + |
|
1153 | 1164 | link_to_function(l(:button_uncheck_all), "checkAll('#{form_name}', false)") |
|
1154 | 1165 | end |
|
1155 | 1166 | |
|
1156 | 1167 | def toggle_checkboxes_link(selector) |
|
1157 | 1168 | link_to_function '', |
|
1158 | 1169 | "toggleCheckboxesBySelector('#{selector}')", |
|
1159 | 1170 | :title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}", |
|
1160 | 1171 | :class => 'toggle-checkboxes' |
|
1161 | 1172 | end |
|
1162 | 1173 | |
|
1163 | 1174 | def progress_bar(pcts, options={}) |
|
1164 | 1175 | pcts = [pcts, pcts] unless pcts.is_a?(Array) |
|
1165 | 1176 | pcts = pcts.collect(&:round) |
|
1166 | 1177 | pcts[1] = pcts[1] - pcts[0] |
|
1167 | 1178 | pcts << (100 - pcts[1] - pcts[0]) |
|
1168 | 1179 | titles = options[:titles].to_a |
|
1169 | 1180 | titles[0] = "#{pcts[0]}%" if titles[0].blank? |
|
1170 | 1181 | legend = options[:legend] || '' |
|
1171 | 1182 | content_tag('table', |
|
1172 | 1183 | content_tag('tr', |
|
1173 | 1184 | (pcts[0] > 0 ? content_tag('td', '', :style => "width: #{pcts[0]}%;", :class => 'closed', :title => titles[0]) : ''.html_safe) + |
|
1174 | 1185 | (pcts[1] > 0 ? content_tag('td', '', :style => "width: #{pcts[1]}%;", :class => 'done', :title => titles[1]) : ''.html_safe) + |
|
1175 | 1186 | (pcts[2] > 0 ? content_tag('td', '', :style => "width: #{pcts[2]}%;", :class => 'todo', :title => titles[2]) : ''.html_safe) |
|
1176 | 1187 | ), :class => "progress progress-#{pcts[0]}").html_safe + |
|
1177 | 1188 | content_tag('p', legend, :class => 'percent').html_safe |
|
1178 | 1189 | end |
|
1179 | 1190 | |
|
1180 | 1191 | def checked_image(checked=true) |
|
1181 | 1192 | if checked |
|
1182 | 1193 | @checked_image_tag ||= content_tag(:span, nil, :class => 'icon-only icon-checked') |
|
1183 | 1194 | end |
|
1184 | 1195 | end |
|
1185 | 1196 | |
|
1186 | 1197 | def context_menu |
|
1187 | 1198 | unless @context_menu_included |
|
1188 | 1199 | content_for :header_tags do |
|
1189 | 1200 | javascript_include_tag('context_menu') + |
|
1190 | 1201 | stylesheet_link_tag('context_menu') |
|
1191 | 1202 | end |
|
1192 | 1203 | if l(:direction) == 'rtl' |
|
1193 | 1204 | content_for :header_tags do |
|
1194 | 1205 | stylesheet_link_tag('context_menu_rtl') |
|
1195 | 1206 | end |
|
1196 | 1207 | end |
|
1197 | 1208 | @context_menu_included = true |
|
1198 | 1209 | end |
|
1199 | 1210 | nil |
|
1200 | 1211 | end |
|
1201 | 1212 | |
|
1202 | 1213 | def calendar_for(field_id) |
|
1203 | 1214 | include_calendar_headers_tags |
|
1204 | 1215 | javascript_tag("$(function() { $('##{field_id}').addClass('date').datepickerFallback(datepickerOptions); });") |
|
1205 | 1216 | end |
|
1206 | 1217 | |
|
1207 | 1218 | def include_calendar_headers_tags |
|
1208 | 1219 | unless @calendar_headers_tags_included |
|
1209 | 1220 | tags = ''.html_safe |
|
1210 | 1221 | @calendar_headers_tags_included = true |
|
1211 | 1222 | content_for :header_tags do |
|
1212 | 1223 | start_of_week = Setting.start_of_week |
|
1213 | 1224 | start_of_week = l(:general_first_day_of_week, :default => '1') if start_of_week.blank? |
|
1214 | 1225 | # Redmine uses 1..7 (monday..sunday) in settings and locales |
|
1215 | 1226 | # JQuery uses 0..6 (sunday..saturday), 7 needs to be changed to 0 |
|
1216 | 1227 | start_of_week = start_of_week.to_i % 7 |
|
1217 | 1228 | tags << javascript_tag( |
|
1218 | 1229 | "var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " + |
|
1219 | 1230 | "showOn: 'button', buttonImageOnly: true, buttonImage: '" + |
|
1220 | 1231 | path_to_image('/images/calendar.png') + |
|
1221 | 1232 | "', showButtonPanel: true, showWeek: true, showOtherMonths: true, " + |
|
1222 | 1233 | "selectOtherMonths: true, changeMonth: true, changeYear: true, " + |
|
1223 | 1234 | "beforeShow: beforeShowDatePicker};") |
|
1224 | 1235 | jquery_locale = l('jquery.locale', :default => current_language.to_s) |
|
1225 | 1236 | unless jquery_locale == 'en' |
|
1226 | 1237 | tags << javascript_include_tag("i18n/datepicker-#{jquery_locale}.js") |
|
1227 | 1238 | end |
|
1228 | 1239 | tags |
|
1229 | 1240 | end |
|
1230 | 1241 | end |
|
1231 | 1242 | end |
|
1232 | 1243 | |
|
1233 | 1244 | # Overrides Rails' stylesheet_link_tag with themes and plugins support. |
|
1234 | 1245 | # Examples: |
|
1235 | 1246 | # stylesheet_link_tag('styles') # => picks styles.css from the current theme or defaults |
|
1236 | 1247 | # stylesheet_link_tag('styles', :plugin => 'foo) # => picks styles.css from plugin's assets |
|
1237 | 1248 | # |
|
1238 | 1249 | def stylesheet_link_tag(*sources) |
|
1239 | 1250 | options = sources.last.is_a?(Hash) ? sources.pop : {} |
|
1240 | 1251 | plugin = options.delete(:plugin) |
|
1241 | 1252 | sources = sources.map do |source| |
|
1242 | 1253 | if plugin |
|
1243 | 1254 | "/plugin_assets/#{plugin}/stylesheets/#{source}" |
|
1244 | 1255 | elsif current_theme && current_theme.stylesheets.include?(source) |
|
1245 | 1256 | current_theme.stylesheet_path(source) |
|
1246 | 1257 | else |
|
1247 | 1258 | source |
|
1248 | 1259 | end |
|
1249 | 1260 | end |
|
1250 | 1261 | super *sources, options |
|
1251 | 1262 | end |
|
1252 | 1263 | |
|
1253 | 1264 | # Overrides Rails' image_tag with themes and plugins support. |
|
1254 | 1265 | # Examples: |
|
1255 | 1266 | # image_tag('image.png') # => picks image.png from the current theme or defaults |
|
1256 | 1267 | # image_tag('image.png', :plugin => 'foo) # => picks image.png from plugin's assets |
|
1257 | 1268 | # |
|
1258 | 1269 | def image_tag(source, options={}) |
|
1259 | 1270 | if plugin = options.delete(:plugin) |
|
1260 | 1271 | source = "/plugin_assets/#{plugin}/images/#{source}" |
|
1261 | 1272 | elsif current_theme && current_theme.images.include?(source) |
|
1262 | 1273 | source = current_theme.image_path(source) |
|
1263 | 1274 | end |
|
1264 | 1275 | super source, options |
|
1265 | 1276 | end |
|
1266 | 1277 | |
|
1267 | 1278 | # Overrides Rails' javascript_include_tag with plugins support |
|
1268 | 1279 | # Examples: |
|
1269 | 1280 | # javascript_include_tag('scripts') # => picks scripts.js from defaults |
|
1270 | 1281 | # javascript_include_tag('scripts', :plugin => 'foo) # => picks scripts.js from plugin's assets |
|
1271 | 1282 | # |
|
1272 | 1283 | def javascript_include_tag(*sources) |
|
1273 | 1284 | options = sources.last.is_a?(Hash) ? sources.pop : {} |
|
1274 | 1285 | if plugin = options.delete(:plugin) |
|
1275 | 1286 | sources = sources.map do |source| |
|
1276 | 1287 | if plugin |
|
1277 | 1288 | "/plugin_assets/#{plugin}/javascripts/#{source}" |
|
1278 | 1289 | else |
|
1279 | 1290 | source |
|
1280 | 1291 | end |
|
1281 | 1292 | end |
|
1282 | 1293 | end |
|
1283 | 1294 | super *sources, options |
|
1284 | 1295 | end |
|
1285 | 1296 | |
|
1286 | 1297 | def sidebar_content? |
|
1287 | 1298 | content_for?(:sidebar) || view_layouts_base_sidebar_hook_response.present? |
|
1288 | 1299 | end |
|
1289 | 1300 | |
|
1290 | 1301 | def view_layouts_base_sidebar_hook_response |
|
1291 | 1302 | @view_layouts_base_sidebar_hook_response ||= call_hook(:view_layouts_base_sidebar) |
|
1292 | 1303 | end |
|
1293 | 1304 | |
|
1294 | 1305 | def email_delivery_enabled? |
|
1295 | 1306 | !!ActionMailer::Base.perform_deliveries |
|
1296 | 1307 | end |
|
1297 | 1308 | |
|
1298 | 1309 | # Returns the avatar image tag for the given +user+ if avatars are enabled |
|
1299 | 1310 | # +user+ can be a User or a string that will be scanned for an email address (eg. 'joe <joe@foo.bar>') |
|
1300 | 1311 | def avatar(user, options = { }) |
|
1301 | 1312 | if Setting.gravatar_enabled? |
|
1302 | 1313 | options.merge!(:default => Setting.gravatar_default) |
|
1303 | 1314 | email = nil |
|
1304 | 1315 | if user.respond_to?(:mail) |
|
1305 | 1316 | email = user.mail |
|
1306 | 1317 | elsif user.to_s =~ %r{<(.+?)>} |
|
1307 | 1318 | email = $1 |
|
1308 | 1319 | end |
|
1309 | 1320 | return gravatar(email.to_s.downcase, options) unless email.blank? rescue nil |
|
1310 | 1321 | else |
|
1311 | 1322 | '' |
|
1312 | 1323 | end |
|
1313 | 1324 | end |
|
1314 | 1325 | |
|
1315 | 1326 | # Returns a link to edit user's avatar if avatars are enabled |
|
1316 | 1327 | def avatar_edit_link(user, options={}) |
|
1317 | 1328 | if Setting.gravatar_enabled? |
|
1318 | 1329 | url = "https://gravatar.com" |
|
1319 | 1330 | link_to avatar(user, {:title => l(:button_edit)}.merge(options)), url, :target => '_blank' |
|
1320 | 1331 | end |
|
1321 | 1332 | end |
|
1322 | 1333 | |
|
1323 | 1334 | def sanitize_anchor_name(anchor) |
|
1324 | 1335 | anchor.gsub(%r{[^\s\-\p{Word}]}, '').gsub(%r{\s+(\-+\s*)?}, '-') |
|
1325 | 1336 | end |
|
1326 | 1337 | |
|
1327 | 1338 | # Returns the javascript tags that are included in the html layout head |
|
1328 | 1339 | def javascript_heads |
|
1329 | 1340 | tags = javascript_include_tag('jquery-1.11.1-ui-1.11.0-ujs-3.1.4', 'application', 'responsive') |
|
1330 | 1341 | unless User.current.pref.warn_on_leaving_unsaved == '0' |
|
1331 | 1342 | tags << "\n".html_safe + javascript_tag("$(window).load(function(){ warnLeavingUnsaved('#{escape_javascript l(:text_warn_on_leaving_unsaved)}'); });") |
|
1332 | 1343 | end |
|
1333 | 1344 | tags |
|
1334 | 1345 | end |
|
1335 | 1346 | |
|
1336 | 1347 | def favicon |
|
1337 | 1348 | "<link rel='shortcut icon' href='#{favicon_path}' />".html_safe |
|
1338 | 1349 | end |
|
1339 | 1350 | |
|
1340 | 1351 | # Returns the path to the favicon |
|
1341 | 1352 | def favicon_path |
|
1342 | 1353 | icon = (current_theme && current_theme.favicon?) ? current_theme.favicon_path : '/favicon.ico' |
|
1343 | 1354 | image_path(icon) |
|
1344 | 1355 | end |
|
1345 | 1356 | |
|
1346 | 1357 | # Returns the full URL to the favicon |
|
1347 | 1358 | def favicon_url |
|
1348 | 1359 | # TODO: use #image_url introduced in Rails4 |
|
1349 | 1360 | path = favicon_path |
|
1350 | 1361 | base = url_for(:controller => 'welcome', :action => 'index', :only_path => false) |
|
1351 | 1362 | base.sub(%r{/+$},'') + '/' + path.sub(%r{^/+},'') |
|
1352 | 1363 | end |
|
1353 | 1364 | |
|
1354 | 1365 | def robot_exclusion_tag |
|
1355 | 1366 | '<meta name="robots" content="noindex,follow,noarchive" />'.html_safe |
|
1356 | 1367 | end |
|
1357 | 1368 | |
|
1358 | 1369 | # Returns true if arg is expected in the API response |
|
1359 | 1370 | def include_in_api_response?(arg) |
|
1360 | 1371 | unless @included_in_api_response |
|
1361 | 1372 | param = params[:include] |
|
1362 | 1373 | @included_in_api_response = param.is_a?(Array) ? param.collect(&:to_s) : param.to_s.split(',') |
|
1363 | 1374 | @included_in_api_response.collect!(&:strip) |
|
1364 | 1375 | end |
|
1365 | 1376 | @included_in_api_response.include?(arg.to_s) |
|
1366 | 1377 | end |
|
1367 | 1378 | |
|
1368 | 1379 | # Returns options or nil if nometa param or X-Redmine-Nometa header |
|
1369 | 1380 | # was set in the request |
|
1370 | 1381 | def api_meta(options) |
|
1371 | 1382 | if params[:nometa].present? || request.headers['X-Redmine-Nometa'] |
|
1372 | 1383 | # compatibility mode for activeresource clients that raise |
|
1373 | 1384 | # an error when deserializing an array with attributes |
|
1374 | 1385 | nil |
|
1375 | 1386 | else |
|
1376 | 1387 | options |
|
1377 | 1388 | end |
|
1378 | 1389 | end |
|
1379 | 1390 | |
|
1380 | 1391 | def generate_csv(&block) |
|
1381 | 1392 | decimal_separator = l(:general_csv_decimal_separator) |
|
1382 | 1393 | encoding = l(:general_csv_encoding) |
|
1383 | 1394 | end |
|
1384 | 1395 | |
|
1385 | 1396 | private |
|
1386 | 1397 | |
|
1387 | 1398 | def wiki_helper |
|
1388 | 1399 | helper = Redmine::WikiFormatting.helper_for(Setting.text_formatting) |
|
1389 | 1400 | extend helper |
|
1390 | 1401 | return self |
|
1391 | 1402 | end |
|
1392 | 1403 | end |
@@ -1,20 +1,20 | |||
|
1 | 1 | <% changesets.each do |changeset| %> |
|
2 | 2 | <div class="changeset <%= cycle('odd', 'even') %>"> |
|
3 | 3 | <p><%= link_to_revision(changeset, changeset.repository, |
|
4 | 4 | :text => "#{l(:label_revision)} #{changeset.format_identifier}") %> |
|
5 | 5 | <% if changeset.filechanges.any? && User.current.allowed_to?(:browse_repository, changeset.project) %> |
|
6 | 6 | (<%= link_to(l(:label_diff), |
|
7 | 7 | :controller => 'repositories', |
|
8 | 8 | :action => 'diff', |
|
9 | 9 | :id => changeset.project, |
|
10 | 10 | :repository_id => changeset.repository.identifier_param, |
|
11 | 11 | :path => "", |
|
12 | 12 | :rev => changeset.identifier) %>) |
|
13 | 13 | <% end %> |
|
14 | 14 | <br /> |
|
15 | 15 | <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p> |
|
16 | <div class="wiki"> | |
|
17 |
<%= |
|
|
16 | <div class="wiki changset-comments"> | |
|
17 | <%= format_changeset_comments changeset %> | |
|
18 | 18 | </div> |
|
19 | 19 | </div> |
|
20 | 20 | <% end %> |
@@ -1,40 +1,42 | |||
|
1 | 1 | <h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2> |
|
2 | 2 | |
|
3 | 3 | <div class="details"> |
|
4 | 4 | <h4> |
|
5 | 5 | <%= avatar(@changeset.user, :size => "24") %> |
|
6 | 6 | <%= authoring(@changeset.committed_on, @changeset.author) %> |
|
7 | 7 | </h4> |
|
8 | 8 | <% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %> |
|
9 | 9 | <ul class="revision-info"> |
|
10 | 10 | <% if @changeset.scmid.present? %> |
|
11 | 11 | <li> |
|
12 | 12 | <strong>ID </strong><%= @changeset.scmid %> |
|
13 | 13 | </li> |
|
14 | 14 | <% end %> |
|
15 | 15 | <% if @changeset.parents.present? %> |
|
16 | 16 | <li> |
|
17 | 17 | <strong><%= l(:label_parent_revision) %></strong> |
|
18 | 18 | <%= @changeset.parents.collect{ |
|
19 | 19 | |p| link_to_revision(p, @repository, :text => format_revision(p)) |
|
20 | 20 | }.join(", ").html_safe %> |
|
21 | 21 | </li> |
|
22 | 22 | <% end %> |
|
23 | 23 | <% if @changeset.children.present? %> |
|
24 | 24 | <li> |
|
25 | 25 | <strong><%= l(:label_child_revision) %></strong> |
|
26 | 26 | <%= @changeset.children.collect{ |
|
27 | 27 | |p| link_to_revision(p, @repository, :text => format_revision(p)) |
|
28 | 28 | }.join(", ").html_safe %> |
|
29 | 29 | </li> |
|
30 | 30 | <% end %> |
|
31 | 31 | </ul> |
|
32 | 32 | <% end %> |
|
33 | 33 | |
|
34 | 34 | </div> |
|
35 | 35 | |
|
36 | <%= textilizable @changeset.comments %> | |
|
36 | <div class="wiki changset-comments"> | |
|
37 | <%= format_changeset_comments @changeset %> | |
|
38 | </div> | |
|
37 | 39 | |
|
38 | 40 | <% if @changeset.issues.visible.any? || User.current.allowed_to?(:manage_related_issues, @repository.project) %> |
|
39 | 41 | <%= render :partial => 'related_issues' %> |
|
40 | 42 | <% end %> |
@@ -1,53 +1,53 | |||
|
1 | 1 | <div class="autoscroll"> |
|
2 | 2 | <% show_revision_graph = ( @repository.supports_revision_graph? && path.blank? ) %> |
|
3 | 3 | <%= if show_revision_graph && revisions && revisions.any? |
|
4 | 4 | indexed_commits, graph_space = index_commits(revisions, @repository.branches) do |scmid| |
|
5 | 5 | url_for( |
|
6 | 6 | :controller => 'repositories', |
|
7 | 7 | :action => 'revision', |
|
8 | 8 | :id => project, |
|
9 | 9 | :repository_id => @repository.identifier_param, |
|
10 | 10 | :rev => scmid) |
|
11 | 11 | end |
|
12 | 12 | render :partial => 'revision_graph', |
|
13 | 13 | :locals => { |
|
14 | 14 | :commits => indexed_commits, |
|
15 | 15 | :space => graph_space |
|
16 | 16 | } |
|
17 | 17 | end %> |
|
18 | 18 | <%= form_tag( |
|
19 | 19 | {:controller => 'repositories', :action => 'diff', :id => project, |
|
20 | 20 | :repository_id => @repository.identifier_param, :path => to_path_param(path)}, |
|
21 | 21 | :method => :get |
|
22 | 22 | ) do %> |
|
23 | 23 | <table class="list changesets"> |
|
24 | 24 | <thead><tr> |
|
25 | 25 | <th>#</th> |
|
26 | 26 | <th></th> |
|
27 | 27 | <th></th> |
|
28 | 28 | <th><%= l(:label_date) %></th> |
|
29 | 29 | <th><%= l(:field_author) %></th> |
|
30 | 30 | <th><%= l(:field_comments) %></th> |
|
31 | 31 | </tr></thead> |
|
32 | 32 | <tbody> |
|
33 | 33 | <% show_diff = revisions.size > 1 %> |
|
34 | 34 | <% line_num = 1 %> |
|
35 | 35 | <% revisions.each do |changeset| %> |
|
36 | 36 | <tr class="changeset <%= cycle 'odd', 'even' %>"> |
|
37 | 37 | <% id_style = (show_revision_graph ? "padding-left:#{(graph_space + 1) * 20}px" : nil) %> |
|
38 | 38 | <%= content_tag(:td, :class => 'id', :style => id_style) do %> |
|
39 | 39 | <%= link_to_revision(changeset, @repository) %> |
|
40 | 40 | <% end %> |
|
41 | 41 | <td class="checkbox"><%= radio_button_tag('rev', changeset.identifier, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('#cbto-#{line_num+1}').prop('checked',true);") if show_diff && (line_num < revisions.size) %></td> |
|
42 | 42 | <td class="checkbox"><%= radio_button_tag('rev_to', changeset.identifier, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('#cb-#{line_num}').prop('checked')) {$('#cb-#{line_num-1}').prop('checked',true);}") if show_diff && (line_num > 1) %></td> |
|
43 | 43 | <td class="committed_on"><%= format_time(changeset.committed_on) %></td> |
|
44 | 44 | <td class="author"><%= changeset.user.blank? ? changeset.author.to_s.truncate(30) : link_to_user(changeset.user) %></td> |
|
45 |
<td class="comments"><%= |
|
|
45 | <td class="comments"><%= format_changeset_comments changeset, :short => true %></td> | |
|
46 | 46 | </tr> |
|
47 | 47 | <% line_num += 1 %> |
|
48 | 48 | <% end %> |
|
49 | 49 | </tbody> |
|
50 | 50 | </table> |
|
51 | 51 | <%= submit_tag(l(:label_view_diff), :name => nil) if show_diff %> |
|
52 | 52 | <% end %> |
|
53 | 53 | </div> |
@@ -1,158 +1,160 | |||
|
1 | 1 | <%= form_tag({:action => 'edit', :tab => 'repositories'}) do %> |
|
2 | 2 | |
|
3 | 3 | <fieldset class="box settings enabled_scm"> |
|
4 | 4 | <legend><%= l(:setting_enabled_scm) %></legend> |
|
5 | 5 | <%= hidden_field_tag 'settings[enabled_scm][]', '' %> |
|
6 | 6 | <table> |
|
7 | 7 | <tr> |
|
8 | 8 | <th></th> |
|
9 | 9 | <th><%= l(:text_scm_command) %></th> |
|
10 | 10 | <th><%= l(:text_scm_command_version) %></th> |
|
11 | 11 | </tr> |
|
12 | 12 | <% Redmine::Scm::Base.all.collect do |choice| %> |
|
13 | 13 | <% scm_class = "Repository::#{choice}".constantize %> |
|
14 | 14 | <% text, value = (choice.is_a?(Array) ? choice : [choice, choice]) %> |
|
15 | 15 | <% setting = :enabled_scm %> |
|
16 | 16 | <% enabled = Setting.send(setting).include?(value) %> |
|
17 | 17 | <tr> |
|
18 | 18 | <td class="scm_name"> |
|
19 | 19 | <label> |
|
20 | 20 | <%= check_box_tag("settings[#{setting}][]", value, enabled, :id => nil) %> |
|
21 | 21 | <%= text.to_s %> |
|
22 | 22 | </label> |
|
23 | 23 | </td> |
|
24 | 24 | <td> |
|
25 | 25 | <% if enabled %> |
|
26 | 26 | <span class="icon <%= (scm_class.scm_available ? 'icon-ok' : 'icon-error') %>"></span> |
|
27 | 27 | <%= scm_class.scm_command %> |
|
28 | 28 | <% end %> |
|
29 | 29 | </td> |
|
30 | 30 | <td> |
|
31 | 31 | <%= scm_class.scm_version_string if enabled %> |
|
32 | 32 | </td> |
|
33 | 33 | </tr> |
|
34 | 34 | <% end %> |
|
35 | 35 | </table> |
|
36 | 36 | <p><em class="info"><%= l(:text_scm_config) %></em></p> |
|
37 | 37 | </fieldset> |
|
38 | 38 | |
|
39 | 39 | <div class="box tabular settings"> |
|
40 | 40 | <p><%= setting_check_box :autofetch_changesets %></p> |
|
41 | 41 | |
|
42 | 42 | <p><%= setting_check_box :sys_api_enabled, |
|
43 | 43 | :onclick => |
|
44 | 44 | "if (this.checked) { $('#settings_sys_api_key').removeAttr('disabled'); } else { $('#settings_sys_api_key').attr('disabled', true); }" %></p> |
|
45 | 45 | |
|
46 | 46 | <p><%= setting_text_field :sys_api_key, |
|
47 | 47 | :size => 30, |
|
48 | 48 | :id => 'settings_sys_api_key', |
|
49 | 49 | :disabled => !Setting.sys_api_enabled? %> |
|
50 | 50 | <%= link_to_function l(:label_generate_key), |
|
51 | 51 | "if (!$('#settings_sys_api_key').attr('disabled')) { $('#settings_sys_api_key').val(randomKey(20)) }" %> |
|
52 | 52 | </p> |
|
53 | 53 | |
|
54 | 54 | <p><%= setting_text_field :repository_log_display_limit, :size => 6 %></p> |
|
55 | ||
|
56 | <p><%= setting_check_box :commit_logs_formatting %></p> | |
|
55 | 57 | </div> |
|
56 | 58 | |
|
57 | 59 | <fieldset class="box tabular settings"> |
|
58 | 60 | <legend><%= l(:text_issues_ref_in_commit_messages) %></legend> |
|
59 | 61 | <p><%= setting_text_field :commit_ref_keywords, :size => 30 %> |
|
60 | 62 | <em class="info"><%= l(:text_comma_separated) %></em></p> |
|
61 | 63 | |
|
62 | 64 | <p><%= setting_check_box :commit_cross_project_ref %></p> |
|
63 | 65 | |
|
64 | 66 | <p><%= setting_check_box :commit_logtime_enabled, |
|
65 | 67 | :onclick => |
|
66 | 68 | "if (this.checked) { $('#settings_commit_logtime_activity_id').removeAttr('disabled'); } else { $('#settings_commit_logtime_activity_id').attr('disabled', true); }"%></p> |
|
67 | 69 | |
|
68 | 70 | <p><%= setting_select :commit_logtime_activity_id, |
|
69 | 71 | [[l(:label_default), 0]] + |
|
70 | 72 | TimeEntryActivity.shared.active.collect{|activity| [activity.name, activity.id.to_s]}, |
|
71 | 73 | :disabled => !Setting.commit_logtime_enabled?%></p> |
|
72 | 74 | </fieldset> |
|
73 | 75 | |
|
74 | 76 | <table class="list" id="commit-keywords"> |
|
75 | 77 | <thead> |
|
76 | 78 | <tr> |
|
77 | 79 | <th><%= l(:label_tracker) %></th> |
|
78 | 80 | <th><%= l(:setting_commit_fix_keywords) %></th> |
|
79 | 81 | <th><%= l(:label_applied_status) %></th> |
|
80 | 82 | <th><%= l(:field_done_ratio) %></th> |
|
81 | 83 | <th class="buttons"></th> |
|
82 | 84 | </tr> |
|
83 | 85 | </thead> |
|
84 | 86 | <tbody> |
|
85 | 87 | <% @commit_update_keywords.each do |rule| %> |
|
86 | 88 | <tr class="commit-keywords"> |
|
87 | 89 | <td> |
|
88 | 90 | <%= select_tag( |
|
89 | 91 | "settings[commit_update_keywords][if_tracker_id][]", |
|
90 | 92 | options_for_select( |
|
91 | 93 | [[l(:label_all), ""]] + |
|
92 | 94 | Tracker.sorted.map {|t| [t.name, t.id.to_s]}, |
|
93 | 95 | rule['if_tracker_id']), |
|
94 | 96 | :id => nil |
|
95 | 97 | ) %> |
|
96 | 98 | </td> |
|
97 | 99 | <td> |
|
98 | 100 | <%= text_field_tag("settings[commit_update_keywords][keywords][]", |
|
99 | 101 | rule['keywords'], :id => nil, :size => 30) %> |
|
100 | 102 | </td> |
|
101 | 103 | <td> |
|
102 | 104 | <%= select_tag("settings[commit_update_keywords][status_id][]", |
|
103 | 105 | options_for_select( |
|
104 | 106 | [["", 0]] + |
|
105 | 107 | IssueStatus.sorted. |
|
106 | 108 | collect{|status| [status.name, status.id.to_s]}, |
|
107 | 109 | rule['status_id']), |
|
108 | 110 | :id => nil |
|
109 | 111 | ) %> |
|
110 | 112 | </td> |
|
111 | 113 | <td> |
|
112 | 114 | <%= select_tag("settings[commit_update_keywords][done_ratio][]", |
|
113 | 115 | options_for_select( |
|
114 | 116 | [["", ""]] + |
|
115 | 117 | (0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }, |
|
116 | 118 | rule['done_ratio']), |
|
117 | 119 | :id => nil |
|
118 | 120 | ) %> |
|
119 | 121 | </td> |
|
120 | 122 | <td class="buttons"> |
|
121 | 123 | <%= link_to(l(:button_delete), '#', |
|
122 | 124 | :class => 'delete-commit-keywords icon-only icon-del', |
|
123 | 125 | :title => l(:button_delete)) %> |
|
124 | 126 | </td> |
|
125 | 127 | </tr> |
|
126 | 128 | <% end %> |
|
127 | 129 | <tr> |
|
128 | 130 | <td></td> |
|
129 | 131 | <td><em class="info"><%= l(:text_comma_separated) %></em></td> |
|
130 | 132 | <td></td> |
|
131 | 133 | <td></td> |
|
132 | 134 | <td class="buttons"> |
|
133 | 135 | <%= link_to(l(:button_add), '#', |
|
134 | 136 | :class => 'add-commit-keywords icon-only icon-add', |
|
135 | 137 | :title => l(:button_add)) %> |
|
136 | 138 | </td> |
|
137 | 139 | </tr> |
|
138 | 140 | </tbody> |
|
139 | 141 | </table> |
|
140 | 142 | |
|
141 | 143 | <p><%= submit_tag l(:button_save) %></p> |
|
142 | 144 | <% end %> |
|
143 | 145 | |
|
144 | 146 | <%= javascript_tag do %> |
|
145 | 147 | $('#commit-keywords').on('click', 'a.delete-commit-keywords', function(e){ |
|
146 | 148 | e.preventDefault(); |
|
147 | 149 | if ($('#commit-keywords tbody tr.commit-keywords').length > 1) { |
|
148 | 150 | $(this).parents('#commit-keywords tr').remove(); |
|
149 | 151 | } else { |
|
150 | 152 | $('#commit-keywords tbody tr.commit-keywords').find('input, select').val(''); |
|
151 | 153 | } |
|
152 | 154 | }); |
|
153 | 155 | $('#commit-keywords').on('click', 'a.add-commit-keywords', function(e){ |
|
154 | 156 | e.preventDefault(); |
|
155 | 157 | var row = $('#commit-keywords tr.commit-keywords:last'); |
|
156 | 158 | row.clone().insertAfter(row).find('input, select').val(''); |
|
157 | 159 | }); |
|
158 | 160 | <% end %> |
@@ -1,1200 +1,1201 | |||
|
1 | 1 | en: |
|
2 | 2 | # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl) |
|
3 | 3 | direction: ltr |
|
4 | 4 | date: |
|
5 | 5 | formats: |
|
6 | 6 | # Use the strftime parameters for formats. |
|
7 | 7 | # When no format has been given, it uses default. |
|
8 | 8 | # You can provide other formats here if you like! |
|
9 | 9 | default: "%m/%d/%Y" |
|
10 | 10 | short: "%b %d" |
|
11 | 11 | long: "%B %d, %Y" |
|
12 | 12 | |
|
13 | 13 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] |
|
14 | 14 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] |
|
15 | 15 | |
|
16 | 16 | # Don't forget the nil at the beginning; there's no such thing as a 0th month |
|
17 | 17 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] |
|
18 | 18 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] |
|
19 | 19 | # Used in date_select and datime_select. |
|
20 | 20 | order: |
|
21 | 21 | - :year |
|
22 | 22 | - :month |
|
23 | 23 | - :day |
|
24 | 24 | |
|
25 | 25 | time: |
|
26 | 26 | formats: |
|
27 | 27 | default: "%m/%d/%Y %I:%M %p" |
|
28 | 28 | time: "%I:%M %p" |
|
29 | 29 | short: "%d %b %H:%M" |
|
30 | 30 | long: "%B %d, %Y %H:%M" |
|
31 | 31 | am: "am" |
|
32 | 32 | pm: "pm" |
|
33 | 33 | |
|
34 | 34 | datetime: |
|
35 | 35 | distance_in_words: |
|
36 | 36 | half_a_minute: "half a minute" |
|
37 | 37 | less_than_x_seconds: |
|
38 | 38 | one: "less than 1 second" |
|
39 | 39 | other: "less than %{count} seconds" |
|
40 | 40 | x_seconds: |
|
41 | 41 | one: "1 second" |
|
42 | 42 | other: "%{count} seconds" |
|
43 | 43 | less_than_x_minutes: |
|
44 | 44 | one: "less than a minute" |
|
45 | 45 | other: "less than %{count} minutes" |
|
46 | 46 | x_minutes: |
|
47 | 47 | one: "1 minute" |
|
48 | 48 | other: "%{count} minutes" |
|
49 | 49 | about_x_hours: |
|
50 | 50 | one: "about 1 hour" |
|
51 | 51 | other: "about %{count} hours" |
|
52 | 52 | x_hours: |
|
53 | 53 | one: "1 hour" |
|
54 | 54 | other: "%{count} hours" |
|
55 | 55 | x_days: |
|
56 | 56 | one: "1 day" |
|
57 | 57 | other: "%{count} days" |
|
58 | 58 | about_x_months: |
|
59 | 59 | one: "about 1 month" |
|
60 | 60 | other: "about %{count} months" |
|
61 | 61 | x_months: |
|
62 | 62 | one: "1 month" |
|
63 | 63 | other: "%{count} months" |
|
64 | 64 | about_x_years: |
|
65 | 65 | one: "about 1 year" |
|
66 | 66 | other: "about %{count} years" |
|
67 | 67 | over_x_years: |
|
68 | 68 | one: "over 1 year" |
|
69 | 69 | other: "over %{count} years" |
|
70 | 70 | almost_x_years: |
|
71 | 71 | one: "almost 1 year" |
|
72 | 72 | other: "almost %{count} years" |
|
73 | 73 | |
|
74 | 74 | number: |
|
75 | 75 | format: |
|
76 | 76 | separator: "." |
|
77 | 77 | delimiter: "" |
|
78 | 78 | precision: 3 |
|
79 | 79 | |
|
80 | 80 | human: |
|
81 | 81 | format: |
|
82 | 82 | delimiter: "" |
|
83 | 83 | precision: 3 |
|
84 | 84 | storage_units: |
|
85 | 85 | format: "%n %u" |
|
86 | 86 | units: |
|
87 | 87 | byte: |
|
88 | 88 | one: "Byte" |
|
89 | 89 | other: "Bytes" |
|
90 | 90 | kb: "KB" |
|
91 | 91 | mb: "MB" |
|
92 | 92 | gb: "GB" |
|
93 | 93 | tb: "TB" |
|
94 | 94 | |
|
95 | 95 | # Used in array.to_sentence. |
|
96 | 96 | support: |
|
97 | 97 | array: |
|
98 | 98 | sentence_connector: "and" |
|
99 | 99 | skip_last_comma: false |
|
100 | 100 | |
|
101 | 101 | activerecord: |
|
102 | 102 | errors: |
|
103 | 103 | template: |
|
104 | 104 | header: |
|
105 | 105 | one: "1 error prohibited this %{model} from being saved" |
|
106 | 106 | other: "%{count} errors prohibited this %{model} from being saved" |
|
107 | 107 | messages: |
|
108 | 108 | inclusion: "is not included in the list" |
|
109 | 109 | exclusion: "is reserved" |
|
110 | 110 | invalid: "is invalid" |
|
111 | 111 | confirmation: "doesn't match confirmation" |
|
112 | 112 | accepted: "must be accepted" |
|
113 | 113 | empty: "cannot be empty" |
|
114 | 114 | blank: "cannot be blank" |
|
115 | 115 | too_long: "is too long (maximum is %{count} characters)" |
|
116 | 116 | too_short: "is too short (minimum is %{count} characters)" |
|
117 | 117 | wrong_length: "is the wrong length (should be %{count} characters)" |
|
118 | 118 | taken: "has already been taken" |
|
119 | 119 | not_a_number: "is not a number" |
|
120 | 120 | not_a_date: "is not a valid date" |
|
121 | 121 | greater_than: "must be greater than %{count}" |
|
122 | 122 | greater_than_or_equal_to: "must be greater than or equal to %{count}" |
|
123 | 123 | equal_to: "must be equal to %{count}" |
|
124 | 124 | less_than: "must be less than %{count}" |
|
125 | 125 | less_than_or_equal_to: "must be less than or equal to %{count}" |
|
126 | 126 | odd: "must be odd" |
|
127 | 127 | even: "must be even" |
|
128 | 128 | greater_than_start_date: "must be greater than start date" |
|
129 | 129 | not_same_project: "doesn't belong to the same project" |
|
130 | 130 | circular_dependency: "This relation would create a circular dependency" |
|
131 | 131 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" |
|
132 | 132 | earlier_than_minimum_start_date: "cannot be earlier than %{date} because of preceding issues" |
|
133 | 133 | |
|
134 | 134 | actionview_instancetag_blank_option: Please select |
|
135 | 135 | |
|
136 | 136 | general_text_No: 'No' |
|
137 | 137 | general_text_Yes: 'Yes' |
|
138 | 138 | general_text_no: 'no' |
|
139 | 139 | general_text_yes: 'yes' |
|
140 | 140 | general_lang_name: 'English' |
|
141 | 141 | general_csv_separator: ',' |
|
142 | 142 | general_csv_decimal_separator: '.' |
|
143 | 143 | general_csv_encoding: ISO-8859-1 |
|
144 | 144 | general_pdf_fontname: freesans |
|
145 | 145 | general_pdf_monospaced_fontname: freemono |
|
146 | 146 | general_first_day_of_week: '7' |
|
147 | 147 | |
|
148 | 148 | notice_account_updated: Account was successfully updated. |
|
149 | 149 | notice_account_invalid_credentials: Invalid user or password |
|
150 | 150 | notice_account_password_updated: Password was successfully updated. |
|
151 | 151 | notice_account_wrong_password: Wrong password |
|
152 | 152 | notice_account_register_done: Account was successfully created. An email containing the instructions to activate your account was sent to %{email}. |
|
153 | 153 | notice_account_unknown_email: Unknown user. |
|
154 | 154 | 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>. |
|
155 | 155 | notice_account_locked: Your account is locked. |
|
156 | 156 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. |
|
157 | 157 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. |
|
158 | 158 | notice_account_activated: Your account has been activated. You can now log in. |
|
159 | 159 | notice_successful_create: Successful creation. |
|
160 | 160 | notice_successful_update: Successful update. |
|
161 | 161 | notice_successful_delete: Successful deletion. |
|
162 | 162 | notice_successful_connection: Successful connection. |
|
163 | 163 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. |
|
164 | 164 | notice_locking_conflict: Data has been updated by another user. |
|
165 | 165 | notice_not_authorized: You are not authorized to access this page. |
|
166 | 166 | notice_not_authorized_archived_project: The project you're trying to access has been archived. |
|
167 | 167 | notice_email_sent: "An email was sent to %{value}" |
|
168 | 168 | notice_email_error: "An error occurred while sending mail (%{value})" |
|
169 | 169 | notice_feeds_access_key_reseted: Your Atom access key was reset. |
|
170 | 170 | notice_api_access_key_reseted: Your API access key was reset. |
|
171 | 171 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." |
|
172 | 172 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." |
|
173 | 173 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." |
|
174 | 174 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." |
|
175 | 175 | notice_account_pending: "Your account was created and is now pending administrator approval." |
|
176 | 176 | notice_default_data_loaded: Default configuration successfully loaded. |
|
177 | 177 | notice_unable_delete_version: Unable to delete version. |
|
178 | 178 | notice_unable_delete_time_entry: Unable to delete time log entry. |
|
179 | 179 | notice_issue_done_ratios_updated: Issue done ratios updated. |
|
180 | 180 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" |
|
181 | 181 | notice_issue_successful_create: "Issue %{id} created." |
|
182 | 182 | notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it." |
|
183 | 183 | notice_account_deleted: "Your account has been permanently deleted." |
|
184 | 184 | notice_user_successful_create: "User %{id} created." |
|
185 | 185 | notice_new_password_must_be_different: The new password must be different from the current password |
|
186 | 186 | notice_import_finished: "%{count} items have been imported" |
|
187 | 187 | notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" |
|
188 | 188 | |
|
189 | 189 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" |
|
190 | 190 | error_scm_not_found: "The entry or revision was not found in the repository." |
|
191 | 191 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" |
|
192 | 192 | error_scm_annotate: "The entry does not exist or cannot be annotated." |
|
193 | 193 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." |
|
194 | 194 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' |
|
195 | 195 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' |
|
196 | 196 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' |
|
197 | 197 | error_can_not_delete_custom_field: Unable to delete custom field |
|
198 | 198 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." |
|
199 | 199 | error_can_not_remove_role: "This role is in use and cannot be deleted." |
|
200 | 200 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' |
|
201 | 201 | error_can_not_archive_project: This project cannot be archived |
|
202 | 202 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." |
|
203 | 203 | error_workflow_copy_source: 'Please select a source tracker or role' |
|
204 | 204 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' |
|
205 | 205 | error_unable_delete_issue_status: 'Unable to delete issue status' |
|
206 | 206 | error_unable_to_connect: "Unable to connect (%{value})" |
|
207 | 207 | error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})" |
|
208 | 208 | error_session_expired: "Your session has expired. Please login again." |
|
209 | 209 | warning_attachments_not_saved: "%{count} file(s) could not be saved." |
|
210 | 210 | error_password_expired: "Your password has expired or the administrator requires you to change it." |
|
211 | 211 | error_invalid_file_encoding: "The file is not a valid %{encoding} encoded file" |
|
212 | 212 | error_invalid_csv_file_or_settings: "The file is not a CSV file or does not match the settings below" |
|
213 | 213 | error_can_not_read_import_file: "An error occurred while reading the file to import" |
|
214 | 214 | error_attachment_extension_not_allowed: "Attachment extension %{extension} is not allowed" |
|
215 | 215 | error_ldap_bind_credentials: "Invalid LDAP Account/Password" |
|
216 | 216 | error_no_tracker_allowed_for_new_issue_in_project: "The project doesn't have any trackers for which you can create an issue" |
|
217 | 217 | error_no_projects_with_tracker_allowed_for_new_issue: "There are no projects with trackers for which you can create an issue" |
|
218 | 218 | |
|
219 | 219 | mail_subject_lost_password: "Your %{value} password" |
|
220 | 220 | mail_body_lost_password: 'To change your password, click on the following link:' |
|
221 | 221 | mail_subject_register: "Your %{value} account activation" |
|
222 | 222 | mail_body_register: 'To activate your account, click on the following link:' |
|
223 | 223 | mail_body_account_information_external: "You can use your %{value} account to log in." |
|
224 | 224 | mail_body_account_information: Your account information |
|
225 | 225 | mail_subject_account_activation_request: "%{value} account activation request" |
|
226 | 226 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" |
|
227 | 227 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" |
|
228 | 228 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" |
|
229 | 229 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" |
|
230 | 230 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." |
|
231 | 231 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" |
|
232 | 232 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." |
|
233 | 233 | mail_subject_security_notification: "Security notification" |
|
234 | 234 | mail_body_security_notification_change: "%{field} was changed." |
|
235 | 235 | mail_body_security_notification_change_to: "%{field} was changed to %{value}." |
|
236 | 236 | mail_body_security_notification_add: "%{field} %{value} was added." |
|
237 | 237 | mail_body_security_notification_remove: "%{field} %{value} was removed." |
|
238 | 238 | mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications." |
|
239 | 239 | mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications." |
|
240 | 240 | mail_body_settings_updated: "The following settings were changed:" |
|
241 | 241 | mail_body_password_updated: "Your password has been changed." |
|
242 | 242 | |
|
243 | 243 | field_name: Name |
|
244 | 244 | field_description: Description |
|
245 | 245 | field_summary: Summary |
|
246 | 246 | field_is_required: Required |
|
247 | 247 | field_firstname: First name |
|
248 | 248 | field_lastname: Last name |
|
249 | 249 | field_mail: Email |
|
250 | 250 | field_address: Email |
|
251 | 251 | field_filename: File |
|
252 | 252 | field_filesize: Size |
|
253 | 253 | field_downloads: Downloads |
|
254 | 254 | field_author: Author |
|
255 | 255 | field_created_on: Created |
|
256 | 256 | field_updated_on: Updated |
|
257 | 257 | field_closed_on: Closed |
|
258 | 258 | field_field_format: Format |
|
259 | 259 | field_is_for_all: For all projects |
|
260 | 260 | field_possible_values: Possible values |
|
261 | 261 | field_regexp: Regular expression |
|
262 | 262 | field_min_length: Minimum length |
|
263 | 263 | field_max_length: Maximum length |
|
264 | 264 | field_value: Value |
|
265 | 265 | field_category: Category |
|
266 | 266 | field_title: Title |
|
267 | 267 | field_project: Project |
|
268 | 268 | field_issue: Issue |
|
269 | 269 | field_status: Status |
|
270 | 270 | field_notes: Notes |
|
271 | 271 | field_is_closed: Issue closed |
|
272 | 272 | field_is_default: Default value |
|
273 | 273 | field_tracker: Tracker |
|
274 | 274 | field_subject: Subject |
|
275 | 275 | field_due_date: Due date |
|
276 | 276 | field_assigned_to: Assignee |
|
277 | 277 | field_priority: Priority |
|
278 | 278 | field_fixed_version: Target version |
|
279 | 279 | field_user: User |
|
280 | 280 | field_principal: Principal |
|
281 | 281 | field_role: Role |
|
282 | 282 | field_homepage: Homepage |
|
283 | 283 | field_is_public: Public |
|
284 | 284 | field_parent: Subproject of |
|
285 | 285 | field_is_in_roadmap: Issues displayed in roadmap |
|
286 | 286 | field_login: Login |
|
287 | 287 | field_mail_notification: Email notifications |
|
288 | 288 | field_admin: Administrator |
|
289 | 289 | field_last_login_on: Last connection |
|
290 | 290 | field_language: Language |
|
291 | 291 | field_effective_date: Due date |
|
292 | 292 | field_password: Password |
|
293 | 293 | field_new_password: New password |
|
294 | 294 | field_password_confirmation: Confirmation |
|
295 | 295 | field_version: Version |
|
296 | 296 | field_type: Type |
|
297 | 297 | field_host: Host |
|
298 | 298 | field_port: Port |
|
299 | 299 | field_account: Account |
|
300 | 300 | field_base_dn: Base DN |
|
301 | 301 | field_attr_login: Login attribute |
|
302 | 302 | field_attr_firstname: Firstname attribute |
|
303 | 303 | field_attr_lastname: Lastname attribute |
|
304 | 304 | field_attr_mail: Email attribute |
|
305 | 305 | field_onthefly: On-the-fly user creation |
|
306 | 306 | field_start_date: Start date |
|
307 | 307 | field_done_ratio: "% Done" |
|
308 | 308 | field_auth_source: Authentication mode |
|
309 | 309 | field_hide_mail: Hide my email address |
|
310 | 310 | field_comments: Comment |
|
311 | 311 | field_url: URL |
|
312 | 312 | field_start_page: Start page |
|
313 | 313 | field_subproject: Subproject |
|
314 | 314 | field_hours: Hours |
|
315 | 315 | field_activity: Activity |
|
316 | 316 | field_spent_on: Date |
|
317 | 317 | field_identifier: Identifier |
|
318 | 318 | field_is_filter: Used as a filter |
|
319 | 319 | field_issue_to: Related issue |
|
320 | 320 | field_delay: Delay |
|
321 | 321 | field_assignable: Issues can be assigned to this role |
|
322 | 322 | field_redirect_existing_links: Redirect existing links |
|
323 | 323 | field_estimated_hours: Estimated time |
|
324 | 324 | field_column_names: Columns |
|
325 | 325 | field_time_entries: Log time |
|
326 | 326 | field_time_zone: Time zone |
|
327 | 327 | field_searchable: Searchable |
|
328 | 328 | field_default_value: Default value |
|
329 | 329 | field_comments_sorting: Display comments |
|
330 | 330 | field_parent_title: Parent page |
|
331 | 331 | field_editable: Editable |
|
332 | 332 | field_watcher: Watcher |
|
333 | 333 | field_identity_url: OpenID URL |
|
334 | 334 | field_content: Content |
|
335 | 335 | field_group_by: Group results by |
|
336 | 336 | field_sharing: Sharing |
|
337 | 337 | field_parent_issue: Parent task |
|
338 | 338 | field_member_of_group: "Assignee's group" |
|
339 | 339 | field_assigned_to_role: "Assignee's role" |
|
340 | 340 | field_text: Text field |
|
341 | 341 | field_visible: Visible |
|
342 | 342 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" |
|
343 | 343 | field_issues_visibility: Issues visibility |
|
344 | 344 | field_is_private: Private |
|
345 | 345 | field_commit_logs_encoding: Commit messages encoding |
|
346 | 346 | field_scm_path_encoding: Path encoding |
|
347 | 347 | field_path_to_repository: Path to repository |
|
348 | 348 | field_root_directory: Root directory |
|
349 | 349 | field_cvsroot: CVSROOT |
|
350 | 350 | field_cvs_module: Module |
|
351 | 351 | field_repository_is_default: Main repository |
|
352 | 352 | field_multiple: Multiple values |
|
353 | 353 | field_auth_source_ldap_filter: LDAP filter |
|
354 | 354 | field_core_fields: Standard fields |
|
355 | 355 | field_timeout: "Timeout (in seconds)" |
|
356 | 356 | field_board_parent: Parent forum |
|
357 | 357 | field_private_notes: Private notes |
|
358 | 358 | field_inherit_members: Inherit members |
|
359 | 359 | field_generate_password: Generate password |
|
360 | 360 | field_must_change_passwd: Must change password at next logon |
|
361 | 361 | field_default_status: Default status |
|
362 | 362 | field_users_visibility: Users visibility |
|
363 | 363 | field_time_entries_visibility: Time logs visibility |
|
364 | 364 | field_total_estimated_hours: Total estimated time |
|
365 | 365 | field_default_version: Default version |
|
366 | 366 | field_remote_ip: IP address |
|
367 | 367 | field_textarea_font: Font used for text areas |
|
368 | 368 | |
|
369 | 369 | setting_app_title: Application title |
|
370 | 370 | setting_app_subtitle: Application subtitle |
|
371 | 371 | setting_welcome_text: Welcome text |
|
372 | 372 | setting_default_language: Default language |
|
373 | 373 | setting_login_required: Authentication required |
|
374 | 374 | setting_self_registration: Self-registration |
|
375 | 375 | setting_attachment_max_size: Maximum attachment size |
|
376 | 376 | setting_issues_export_limit: Issues export limit |
|
377 | 377 | setting_mail_from: Emission email address |
|
378 | 378 | setting_bcc_recipients: Blind carbon copy recipients (bcc) |
|
379 | 379 | setting_plain_text_mail: Plain text mail (no HTML) |
|
380 | 380 | setting_host_name: Host name and path |
|
381 | 381 | setting_text_formatting: Text formatting |
|
382 | 382 | setting_wiki_compression: Wiki history compression |
|
383 | 383 | setting_feeds_limit: Maximum number of items in Atom feeds |
|
384 | 384 | setting_default_projects_public: New projects are public by default |
|
385 | 385 | setting_autofetch_changesets: Fetch commits automatically |
|
386 | 386 | setting_sys_api_enabled: Enable WS for repository management |
|
387 | 387 | setting_commit_ref_keywords: Referencing keywords |
|
388 | 388 | setting_commit_fix_keywords: Fixing keywords |
|
389 | 389 | setting_autologin: Autologin |
|
390 | 390 | setting_date_format: Date format |
|
391 | 391 | setting_time_format: Time format |
|
392 | 392 | setting_timespan_format: Time span format |
|
393 | 393 | setting_cross_project_issue_relations: Allow cross-project issue relations |
|
394 | 394 | setting_cross_project_subtasks: Allow cross-project subtasks |
|
395 | 395 | setting_issue_list_default_columns: Default columns displayed on the issue list |
|
396 | 396 | setting_repositories_encodings: Attachments and repositories encodings |
|
397 | 397 | setting_emails_header: Email header |
|
398 | 398 | setting_emails_footer: Email footer |
|
399 | 399 | setting_protocol: Protocol |
|
400 | 400 | setting_per_page_options: Objects per page options |
|
401 | 401 | setting_user_format: Users display format |
|
402 | 402 | setting_activity_days_default: Days displayed on project activity |
|
403 | 403 | setting_display_subprojects_issues: Display subprojects issues on main projects by default |
|
404 | 404 | setting_enabled_scm: Enabled SCM |
|
405 | 405 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" |
|
406 | 406 | setting_mail_handler_api_enabled: Enable WS for incoming emails |
|
407 | 407 | setting_mail_handler_api_key: Incoming email WS API key |
|
408 | 408 | setting_sys_api_key: Repository management WS API key |
|
409 | 409 | setting_sequential_project_identifiers: Generate sequential project identifiers |
|
410 | 410 | setting_gravatar_enabled: Use Gravatar user icons |
|
411 | 411 | setting_gravatar_default: Default Gravatar image |
|
412 | 412 | setting_diff_max_lines_displayed: Maximum number of diff lines displayed |
|
413 | 413 | setting_file_max_size_displayed: Maximum size of text files displayed inline |
|
414 | 414 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log |
|
415 | 415 | setting_openid: Allow OpenID login and registration |
|
416 | 416 | setting_password_max_age: Require password change after |
|
417 | 417 | setting_password_min_length: Minimum password length |
|
418 | 418 | setting_lost_password: Allow password reset via email |
|
419 | 419 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project |
|
420 | 420 | setting_default_projects_modules: Default enabled modules for new projects |
|
421 | 421 | setting_issue_done_ratio: Calculate the issue done ratio with |
|
422 | 422 | setting_issue_done_ratio_issue_field: Use the issue field |
|
423 | 423 | setting_issue_done_ratio_issue_status: Use the issue status |
|
424 | 424 | setting_start_of_week: Start calendars on |
|
425 | 425 | setting_rest_api_enabled: Enable REST web service |
|
426 | 426 | setting_cache_formatted_text: Cache formatted text |
|
427 | 427 | setting_default_notification_option: Default notification option |
|
428 | 428 | setting_commit_logtime_enabled: Enable time logging |
|
429 | 429 | setting_commit_logtime_activity_id: Activity for logged time |
|
430 | 430 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart |
|
431 | 431 | setting_issue_group_assignment: Allow issue assignment to groups |
|
432 | 432 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues |
|
433 | 433 | setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed |
|
434 | 434 | setting_unsubscribe: Allow users to delete their own account |
|
435 | 435 | setting_session_lifetime: Session maximum lifetime |
|
436 | 436 | setting_session_timeout: Session inactivity timeout |
|
437 | 437 | setting_thumbnails_enabled: Display attachment thumbnails |
|
438 | 438 | setting_thumbnails_size: Thumbnails size (in pixels) |
|
439 | 439 | setting_non_working_week_days: Non-working days |
|
440 | 440 | setting_jsonp_enabled: Enable JSONP support |
|
441 | 441 | setting_default_projects_tracker_ids: Default trackers for new projects |
|
442 | 442 | setting_mail_handler_excluded_filenames: Exclude attachments by name |
|
443 | 443 | setting_force_default_language_for_anonymous: Force default language for anonymous users |
|
444 | 444 | setting_force_default_language_for_loggedin: Force default language for logged-in users |
|
445 | 445 | setting_link_copied_issue: Link issues on copy |
|
446 | 446 | setting_max_additional_emails: Maximum number of additional email addresses |
|
447 | 447 | setting_search_results_per_page: Search results per page |
|
448 | 448 | setting_attachment_extensions_allowed: Allowed extensions |
|
449 | 449 | setting_attachment_extensions_denied: Disallowed extensions |
|
450 | 450 | setting_new_item_menu_tab: Project menu tab for creating new objects |
|
451 | setting_commit_logs_formatting: Apply text formatting to commit messages | |
|
451 | 452 | |
|
452 | 453 | permission_add_project: Create project |
|
453 | 454 | permission_add_subprojects: Create subprojects |
|
454 | 455 | permission_edit_project: Edit project |
|
455 | 456 | permission_close_project: Close / reopen the project |
|
456 | 457 | permission_select_project_modules: Select project modules |
|
457 | 458 | permission_manage_members: Manage members |
|
458 | 459 | permission_manage_project_activities: Manage project activities |
|
459 | 460 | permission_manage_versions: Manage versions |
|
460 | 461 | permission_manage_categories: Manage issue categories |
|
461 | 462 | permission_view_issues: View Issues |
|
462 | 463 | permission_add_issues: Add issues |
|
463 | 464 | permission_edit_issues: Edit issues |
|
464 | 465 | permission_copy_issues: Copy issues |
|
465 | 466 | permission_manage_issue_relations: Manage issue relations |
|
466 | 467 | permission_set_issues_private: Set issues public or private |
|
467 | 468 | permission_set_own_issues_private: Set own issues public or private |
|
468 | 469 | permission_add_issue_notes: Add notes |
|
469 | 470 | permission_edit_issue_notes: Edit notes |
|
470 | 471 | permission_edit_own_issue_notes: Edit own notes |
|
471 | 472 | permission_view_private_notes: View private notes |
|
472 | 473 | permission_set_notes_private: Set notes as private |
|
473 | 474 | permission_move_issues: Move issues |
|
474 | 475 | permission_delete_issues: Delete issues |
|
475 | 476 | permission_manage_public_queries: Manage public queries |
|
476 | 477 | permission_save_queries: Save queries |
|
477 | 478 | permission_view_gantt: View gantt chart |
|
478 | 479 | permission_view_calendar: View calendar |
|
479 | 480 | permission_view_issue_watchers: View watchers list |
|
480 | 481 | permission_add_issue_watchers: Add watchers |
|
481 | 482 | permission_delete_issue_watchers: Delete watchers |
|
482 | 483 | permission_log_time: Log spent time |
|
483 | 484 | permission_view_time_entries: View spent time |
|
484 | 485 | permission_edit_time_entries: Edit time logs |
|
485 | 486 | permission_edit_own_time_entries: Edit own time logs |
|
486 | 487 | permission_manage_news: Manage news |
|
487 | 488 | permission_comment_news: Comment news |
|
488 | 489 | permission_view_documents: View documents |
|
489 | 490 | permission_add_documents: Add documents |
|
490 | 491 | permission_edit_documents: Edit documents |
|
491 | 492 | permission_delete_documents: Delete documents |
|
492 | 493 | permission_manage_files: Manage files |
|
493 | 494 | permission_view_files: View files |
|
494 | 495 | permission_manage_wiki: Manage wiki |
|
495 | 496 | permission_rename_wiki_pages: Rename wiki pages |
|
496 | 497 | permission_delete_wiki_pages: Delete wiki pages |
|
497 | 498 | permission_view_wiki_pages: View wiki |
|
498 | 499 | permission_view_wiki_edits: View wiki history |
|
499 | 500 | permission_edit_wiki_pages: Edit wiki pages |
|
500 | 501 | permission_delete_wiki_pages_attachments: Delete attachments |
|
501 | 502 | permission_protect_wiki_pages: Protect wiki pages |
|
502 | 503 | permission_manage_repository: Manage repository |
|
503 | 504 | permission_browse_repository: Browse repository |
|
504 | 505 | permission_view_changesets: View changesets |
|
505 | 506 | permission_commit_access: Commit access |
|
506 | 507 | permission_manage_boards: Manage forums |
|
507 | 508 | permission_view_messages: View messages |
|
508 | 509 | permission_add_messages: Post messages |
|
509 | 510 | permission_edit_messages: Edit messages |
|
510 | 511 | permission_edit_own_messages: Edit own messages |
|
511 | 512 | permission_delete_messages: Delete messages |
|
512 | 513 | permission_delete_own_messages: Delete own messages |
|
513 | 514 | permission_export_wiki_pages: Export wiki pages |
|
514 | 515 | permission_manage_subtasks: Manage subtasks |
|
515 | 516 | permission_manage_related_issues: Manage related issues |
|
516 | 517 | permission_import_issues: Import issues |
|
517 | 518 | |
|
518 | 519 | project_module_issue_tracking: Issue tracking |
|
519 | 520 | project_module_time_tracking: Time tracking |
|
520 | 521 | project_module_news: News |
|
521 | 522 | project_module_documents: Documents |
|
522 | 523 | project_module_files: Files |
|
523 | 524 | project_module_wiki: Wiki |
|
524 | 525 | project_module_repository: Repository |
|
525 | 526 | project_module_boards: Forums |
|
526 | 527 | project_module_calendar: Calendar |
|
527 | 528 | project_module_gantt: Gantt |
|
528 | 529 | |
|
529 | 530 | label_user: User |
|
530 | 531 | label_user_plural: Users |
|
531 | 532 | label_user_new: New user |
|
532 | 533 | label_user_anonymous: Anonymous |
|
533 | 534 | label_project: Project |
|
534 | 535 | label_project_new: New project |
|
535 | 536 | label_project_plural: Projects |
|
536 | 537 | label_x_projects: |
|
537 | 538 | zero: no projects |
|
538 | 539 | one: 1 project |
|
539 | 540 | other: "%{count} projects" |
|
540 | 541 | label_project_all: All Projects |
|
541 | 542 | label_project_latest: Latest projects |
|
542 | 543 | label_issue: Issue |
|
543 | 544 | label_issue_new: New issue |
|
544 | 545 | label_issue_plural: Issues |
|
545 | 546 | label_issue_view_all: View all issues |
|
546 | 547 | label_issues_by: "Issues by %{value}" |
|
547 | 548 | label_issue_added: Issue added |
|
548 | 549 | label_issue_updated: Issue updated |
|
549 | 550 | label_issue_note_added: Note added |
|
550 | 551 | label_issue_status_updated: Status updated |
|
551 | 552 | label_issue_assigned_to_updated: Assignee updated |
|
552 | 553 | label_issue_priority_updated: Priority updated |
|
553 | 554 | label_document: Document |
|
554 | 555 | label_document_new: New document |
|
555 | 556 | label_document_plural: Documents |
|
556 | 557 | label_document_added: Document added |
|
557 | 558 | label_role: Role |
|
558 | 559 | label_role_plural: Roles |
|
559 | 560 | label_role_new: New role |
|
560 | 561 | label_role_and_permissions: Roles and permissions |
|
561 | 562 | label_role_anonymous: Anonymous |
|
562 | 563 | label_role_non_member: Non member |
|
563 | 564 | label_member: Member |
|
564 | 565 | label_member_new: New member |
|
565 | 566 | label_member_plural: Members |
|
566 | 567 | label_tracker: Tracker |
|
567 | 568 | label_tracker_plural: Trackers |
|
568 | 569 | label_tracker_all: All trackers |
|
569 | 570 | label_tracker_new: New tracker |
|
570 | 571 | label_workflow: Workflow |
|
571 | 572 | label_issue_status: Issue status |
|
572 | 573 | label_issue_status_plural: Issue statuses |
|
573 | 574 | label_issue_status_new: New status |
|
574 | 575 | label_issue_category: Issue category |
|
575 | 576 | label_issue_category_plural: Issue categories |
|
576 | 577 | label_issue_category_new: New category |
|
577 | 578 | label_custom_field: Custom field |
|
578 | 579 | label_custom_field_plural: Custom fields |
|
579 | 580 | label_custom_field_new: New custom field |
|
580 | 581 | label_enumerations: Enumerations |
|
581 | 582 | label_enumeration_new: New value |
|
582 | 583 | label_information: Information |
|
583 | 584 | label_information_plural: Information |
|
584 | 585 | label_please_login: Please log in |
|
585 | 586 | label_register: Register |
|
586 | 587 | label_login_with_open_id_option: or login with OpenID |
|
587 | 588 | label_password_lost: Lost password |
|
588 | 589 | label_password_required: Confirm your password to continue |
|
589 | 590 | label_home: Home |
|
590 | 591 | label_my_page: My page |
|
591 | 592 | label_my_account: My account |
|
592 | 593 | label_my_projects: My projects |
|
593 | 594 | label_my_page_block: My page block |
|
594 | 595 | label_administration: Administration |
|
595 | 596 | label_login: Sign in |
|
596 | 597 | label_logout: Sign out |
|
597 | 598 | label_help: Help |
|
598 | 599 | label_reported_issues: Reported issues |
|
599 | 600 | label_assigned_issues: Assigned issues |
|
600 | 601 | label_assigned_to_me_issues: Issues assigned to me |
|
601 | 602 | label_last_login: Last connection |
|
602 | 603 | label_registered_on: Registered on |
|
603 | 604 | label_activity: Activity |
|
604 | 605 | label_overall_activity: Overall activity |
|
605 | 606 | label_user_activity: "%{value}'s activity" |
|
606 | 607 | label_new: New |
|
607 | 608 | label_logged_as: Logged in as |
|
608 | 609 | label_environment: Environment |
|
609 | 610 | label_authentication: Authentication |
|
610 | 611 | label_auth_source: Authentication mode |
|
611 | 612 | label_auth_source_new: New authentication mode |
|
612 | 613 | label_auth_source_plural: Authentication modes |
|
613 | 614 | label_subproject_plural: Subprojects |
|
614 | 615 | label_subproject_new: New subproject |
|
615 | 616 | label_and_its_subprojects: "%{value} and its subprojects" |
|
616 | 617 | label_min_max_length: Min - Max length |
|
617 | 618 | label_list: List |
|
618 | 619 | label_date: Date |
|
619 | 620 | label_integer: Integer |
|
620 | 621 | label_float: Float |
|
621 | 622 | label_boolean: Boolean |
|
622 | 623 | label_string: Text |
|
623 | 624 | label_text: Long text |
|
624 | 625 | label_attribute: Attribute |
|
625 | 626 | label_attribute_plural: Attributes |
|
626 | 627 | label_no_data: No data to display |
|
627 | 628 | label_no_preview: No preview available |
|
628 | 629 | label_change_status: Change status |
|
629 | 630 | label_history: History |
|
630 | 631 | label_attachment: File |
|
631 | 632 | label_attachment_new: New file |
|
632 | 633 | label_attachment_delete: Delete file |
|
633 | 634 | label_attachment_plural: Files |
|
634 | 635 | label_file_added: File added |
|
635 | 636 | label_report: Report |
|
636 | 637 | label_report_plural: Reports |
|
637 | 638 | label_news: News |
|
638 | 639 | label_news_new: Add news |
|
639 | 640 | label_news_plural: News |
|
640 | 641 | label_news_latest: Latest news |
|
641 | 642 | label_news_view_all: View all news |
|
642 | 643 | label_news_added: News added |
|
643 | 644 | label_news_comment_added: Comment added to a news |
|
644 | 645 | label_settings: Settings |
|
645 | 646 | label_overview: Overview |
|
646 | 647 | label_version: Version |
|
647 | 648 | label_version_new: New version |
|
648 | 649 | label_version_plural: Versions |
|
649 | 650 | label_close_versions: Close completed versions |
|
650 | 651 | label_confirmation: Confirmation |
|
651 | 652 | label_export_to: 'Also available in:' |
|
652 | 653 | label_read: Read... |
|
653 | 654 | label_public_projects: Public projects |
|
654 | 655 | label_open_issues: open |
|
655 | 656 | label_open_issues_plural: open |
|
656 | 657 | label_closed_issues: closed |
|
657 | 658 | label_closed_issues_plural: closed |
|
658 | 659 | label_x_open_issues_abbr: |
|
659 | 660 | zero: 0 open |
|
660 | 661 | one: 1 open |
|
661 | 662 | other: "%{count} open" |
|
662 | 663 | label_x_closed_issues_abbr: |
|
663 | 664 | zero: 0 closed |
|
664 | 665 | one: 1 closed |
|
665 | 666 | other: "%{count} closed" |
|
666 | 667 | label_x_issues: |
|
667 | 668 | zero: 0 issues |
|
668 | 669 | one: 1 issue |
|
669 | 670 | other: "%{count} issues" |
|
670 | 671 | label_total: Total |
|
671 | 672 | label_total_plural: Totals |
|
672 | 673 | label_total_time: Total time |
|
673 | 674 | label_permissions: Permissions |
|
674 | 675 | label_current_status: Current status |
|
675 | 676 | label_new_statuses_allowed: New statuses allowed |
|
676 | 677 | label_all: all |
|
677 | 678 | label_any: any |
|
678 | 679 | label_none: none |
|
679 | 680 | label_nobody: nobody |
|
680 | 681 | label_next: Next |
|
681 | 682 | label_previous: Previous |
|
682 | 683 | label_used_by: Used by |
|
683 | 684 | label_details: Details |
|
684 | 685 | label_add_note: Add a note |
|
685 | 686 | label_calendar: Calendar |
|
686 | 687 | label_months_from: months from |
|
687 | 688 | label_gantt: Gantt |
|
688 | 689 | label_internal: Internal |
|
689 | 690 | label_last_changes: "last %{count} changes" |
|
690 | 691 | label_change_view_all: View all changes |
|
691 | 692 | label_personalize_page: Personalize this page |
|
692 | 693 | label_comment: Comment |
|
693 | 694 | label_comment_plural: Comments |
|
694 | 695 | label_x_comments: |
|
695 | 696 | zero: no comments |
|
696 | 697 | one: 1 comment |
|
697 | 698 | other: "%{count} comments" |
|
698 | 699 | label_comment_add: Add a comment |
|
699 | 700 | label_comment_added: Comment added |
|
700 | 701 | label_comment_delete: Delete comments |
|
701 | 702 | label_query: Custom query |
|
702 | 703 | label_query_plural: Custom queries |
|
703 | 704 | label_query_new: New query |
|
704 | 705 | label_my_queries: My custom queries |
|
705 | 706 | label_filter_add: Add filter |
|
706 | 707 | label_filter_plural: Filters |
|
707 | 708 | label_equals: is |
|
708 | 709 | label_not_equals: is not |
|
709 | 710 | label_in_less_than: in less than |
|
710 | 711 | label_in_more_than: in more than |
|
711 | 712 | label_in_the_next_days: in the next |
|
712 | 713 | label_in_the_past_days: in the past |
|
713 | 714 | label_greater_or_equal: '>=' |
|
714 | 715 | label_less_or_equal: '<=' |
|
715 | 716 | label_between: between |
|
716 | 717 | label_in: in |
|
717 | 718 | label_today: today |
|
718 | 719 | label_all_time: all time |
|
719 | 720 | label_yesterday: yesterday |
|
720 | 721 | label_this_week: this week |
|
721 | 722 | label_last_week: last week |
|
722 | 723 | label_last_n_weeks: "last %{count} weeks" |
|
723 | 724 | label_last_n_days: "last %{count} days" |
|
724 | 725 | label_this_month: this month |
|
725 | 726 | label_last_month: last month |
|
726 | 727 | label_this_year: this year |
|
727 | 728 | label_date_range: Date range |
|
728 | 729 | label_less_than_ago: less than days ago |
|
729 | 730 | label_more_than_ago: more than days ago |
|
730 | 731 | label_ago: days ago |
|
731 | 732 | label_contains: contains |
|
732 | 733 | label_not_contains: doesn't contain |
|
733 | 734 | label_any_issues_in_project: any issues in project |
|
734 | 735 | label_any_issues_not_in_project: any issues not in project |
|
735 | 736 | label_no_issues_in_project: no issues in project |
|
736 | 737 | label_any_open_issues: any open issues |
|
737 | 738 | label_no_open_issues: no open issues |
|
738 | 739 | label_day_plural: days |
|
739 | 740 | label_repository: Repository |
|
740 | 741 | label_repository_new: New repository |
|
741 | 742 | label_repository_plural: Repositories |
|
742 | 743 | label_browse: Browse |
|
743 | 744 | label_branch: Branch |
|
744 | 745 | label_tag: Tag |
|
745 | 746 | label_revision: Revision |
|
746 | 747 | label_revision_plural: Revisions |
|
747 | 748 | label_revision_id: "Revision %{value}" |
|
748 | 749 | label_associated_revisions: Associated revisions |
|
749 | 750 | label_added: added |
|
750 | 751 | label_modified: modified |
|
751 | 752 | label_copied: copied |
|
752 | 753 | label_renamed: renamed |
|
753 | 754 | label_deleted: deleted |
|
754 | 755 | label_latest_revision: Latest revision |
|
755 | 756 | label_latest_revision_plural: Latest revisions |
|
756 | 757 | label_view_revisions: View revisions |
|
757 | 758 | label_view_all_revisions: View all revisions |
|
758 | 759 | label_max_size: Maximum size |
|
759 | 760 | label_sort_highest: Move to top |
|
760 | 761 | label_sort_higher: Move up |
|
761 | 762 | label_sort_lower: Move down |
|
762 | 763 | label_sort_lowest: Move to bottom |
|
763 | 764 | label_roadmap: Roadmap |
|
764 | 765 | label_roadmap_due_in: "Due in %{value}" |
|
765 | 766 | label_roadmap_overdue: "%{value} late" |
|
766 | 767 | label_roadmap_no_issues: No issues for this version |
|
767 | 768 | label_search: Search |
|
768 | 769 | label_result_plural: Results |
|
769 | 770 | label_all_words: All words |
|
770 | 771 | label_wiki: Wiki |
|
771 | 772 | label_wiki_edit: Wiki edit |
|
772 | 773 | label_wiki_edit_plural: Wiki edits |
|
773 | 774 | label_wiki_page: Wiki page |
|
774 | 775 | label_wiki_page_plural: Wiki pages |
|
775 | 776 | label_wiki_page_new: New wiki page |
|
776 | 777 | label_index_by_title: Index by title |
|
777 | 778 | label_index_by_date: Index by date |
|
778 | 779 | label_current_version: Current version |
|
779 | 780 | label_preview: Preview |
|
780 | 781 | label_feed_plural: Feeds |
|
781 | 782 | label_changes_details: Details of all changes |
|
782 | 783 | label_issue_tracking: Issue tracking |
|
783 | 784 | label_spent_time: Spent time |
|
784 | 785 | label_total_spent_time: Total spent time |
|
785 | 786 | label_overall_spent_time: Overall spent time |
|
786 | 787 | label_f_hour: "%{value} hour" |
|
787 | 788 | label_f_hour_plural: "%{value} hours" |
|
788 | 789 | label_f_hour_short: "%{value} h" |
|
789 | 790 | label_time_tracking: Time tracking |
|
790 | 791 | label_change_plural: Changes |
|
791 | 792 | label_statistics: Statistics |
|
792 | 793 | label_commits_per_month: Commits per month |
|
793 | 794 | label_commits_per_author: Commits per author |
|
794 | 795 | label_diff: diff |
|
795 | 796 | label_view_diff: View differences |
|
796 | 797 | label_diff_inline: inline |
|
797 | 798 | label_diff_side_by_side: side by side |
|
798 | 799 | label_options: Options |
|
799 | 800 | label_copy_workflow_from: Copy workflow from |
|
800 | 801 | label_permissions_report: Permissions report |
|
801 | 802 | label_watched_issues: Watched issues |
|
802 | 803 | label_related_issues: Related issues |
|
803 | 804 | label_applied_status: Applied status |
|
804 | 805 | label_loading: Loading... |
|
805 | 806 | label_relation_new: New relation |
|
806 | 807 | label_relation_delete: Delete relation |
|
807 | 808 | label_relates_to: Related to |
|
808 | 809 | label_duplicates: Duplicates |
|
809 | 810 | label_duplicated_by: Duplicated by |
|
810 | 811 | label_blocks: Blocks |
|
811 | 812 | label_blocked_by: Blocked by |
|
812 | 813 | label_precedes: Precedes |
|
813 | 814 | label_follows: Follows |
|
814 | 815 | label_copied_to: Copied to |
|
815 | 816 | label_copied_from: Copied from |
|
816 | 817 | label_stay_logged_in: Stay logged in |
|
817 | 818 | label_disabled: disabled |
|
818 | 819 | label_show_completed_versions: Show completed versions |
|
819 | 820 | label_me: me |
|
820 | 821 | label_board: Forum |
|
821 | 822 | label_board_new: New forum |
|
822 | 823 | label_board_plural: Forums |
|
823 | 824 | label_board_locked: Locked |
|
824 | 825 | label_board_sticky: Sticky |
|
825 | 826 | label_topic_plural: Topics |
|
826 | 827 | label_message_plural: Messages |
|
827 | 828 | label_message_last: Last message |
|
828 | 829 | label_message_new: New message |
|
829 | 830 | label_message_posted: Message added |
|
830 | 831 | label_reply_plural: Replies |
|
831 | 832 | label_send_information: Send account information to the user |
|
832 | 833 | label_year: Year |
|
833 | 834 | label_month: Month |
|
834 | 835 | label_week: Week |
|
835 | 836 | label_date_from: From |
|
836 | 837 | label_date_to: To |
|
837 | 838 | label_language_based: Based on user's language |
|
838 | 839 | label_sort_by: "Sort by %{value}" |
|
839 | 840 | label_send_test_email: Send a test email |
|
840 | 841 | label_feeds_access_key: Atom access key |
|
841 | 842 | label_missing_feeds_access_key: Missing a Atom access key |
|
842 | 843 | label_feeds_access_key_created_on: "Atom access key created %{value} ago" |
|
843 | 844 | label_module_plural: Modules |
|
844 | 845 | label_added_time_by: "Added by %{author} %{age} ago" |
|
845 | 846 | label_updated_time_by: "Updated by %{author} %{age} ago" |
|
846 | 847 | label_updated_time: "Updated %{value} ago" |
|
847 | 848 | label_jump_to_a_project: Jump to a project... |
|
848 | 849 | label_file_plural: Files |
|
849 | 850 | label_changeset_plural: Changesets |
|
850 | 851 | label_default_columns: Default columns |
|
851 | 852 | label_no_change_option: (No change) |
|
852 | 853 | label_bulk_edit_selected_issues: Bulk edit selected issues |
|
853 | 854 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries |
|
854 | 855 | label_theme: Theme |
|
855 | 856 | label_default: Default |
|
856 | 857 | label_search_titles_only: Search titles only |
|
857 | 858 | label_user_mail_option_all: "For any event on all my projects" |
|
858 | 859 | label_user_mail_option_selected: "For any event on the selected projects only..." |
|
859 | 860 | label_user_mail_option_none: "No events" |
|
860 | 861 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" |
|
861 | 862 | label_user_mail_option_only_assigned: "Only for things I am assigned to" |
|
862 | 863 | label_user_mail_option_only_owner: "Only for things I am the owner of" |
|
863 | 864 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" |
|
864 | 865 | label_registration_activation_by_email: account activation by email |
|
865 | 866 | label_registration_manual_activation: manual account activation |
|
866 | 867 | label_registration_automatic_activation: automatic account activation |
|
867 | 868 | label_display_per_page: "Per page: %{value}" |
|
868 | 869 | label_age: Age |
|
869 | 870 | label_change_properties: Change properties |
|
870 | 871 | label_general: General |
|
871 | 872 | label_more: More |
|
872 | 873 | label_scm: SCM |
|
873 | 874 | label_plugins: Plugins |
|
874 | 875 | label_ldap_authentication: LDAP authentication |
|
875 | 876 | label_downloads_abbr: D/L |
|
876 | 877 | label_optional_description: Optional description |
|
877 | 878 | label_add_another_file: Add another file |
|
878 | 879 | label_preferences: Preferences |
|
879 | 880 | label_chronological_order: In chronological order |
|
880 | 881 | label_reverse_chronological_order: In reverse chronological order |
|
881 | 882 | label_planning: Planning |
|
882 | 883 | label_incoming_emails: Incoming emails |
|
883 | 884 | label_generate_key: Generate a key |
|
884 | 885 | label_issue_watchers: Watchers |
|
885 | 886 | label_example: Example |
|
886 | 887 | label_display: Display |
|
887 | 888 | label_sort: Sort |
|
888 | 889 | label_ascending: Ascending |
|
889 | 890 | label_descending: Descending |
|
890 | 891 | label_date_from_to: From %{start} to %{end} |
|
891 | 892 | label_wiki_content_added: Wiki page added |
|
892 | 893 | label_wiki_content_updated: Wiki page updated |
|
893 | 894 | label_group: Group |
|
894 | 895 | label_group_plural: Groups |
|
895 | 896 | label_group_new: New group |
|
896 | 897 | label_group_anonymous: Anonymous users |
|
897 | 898 | label_group_non_member: Non member users |
|
898 | 899 | label_time_entry_plural: Spent time |
|
899 | 900 | label_version_sharing_none: Not shared |
|
900 | 901 | label_version_sharing_descendants: With subprojects |
|
901 | 902 | label_version_sharing_hierarchy: With project hierarchy |
|
902 | 903 | label_version_sharing_tree: With project tree |
|
903 | 904 | label_version_sharing_system: With all projects |
|
904 | 905 | label_update_issue_done_ratios: Update issue done ratios |
|
905 | 906 | label_copy_source: Source |
|
906 | 907 | label_copy_target: Target |
|
907 | 908 | label_copy_same_as_target: Same as target |
|
908 | 909 | label_display_used_statuses_only: Only display statuses that are used by this tracker |
|
909 | 910 | label_api_access_key: API access key |
|
910 | 911 | label_missing_api_access_key: Missing an API access key |
|
911 | 912 | label_api_access_key_created_on: "API access key created %{value} ago" |
|
912 | 913 | label_profile: Profile |
|
913 | 914 | label_subtask_plural: Subtasks |
|
914 | 915 | label_project_copy_notifications: Send email notifications during the project copy |
|
915 | 916 | label_principal_search: "Search for user or group:" |
|
916 | 917 | label_user_search: "Search for user:" |
|
917 | 918 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author |
|
918 | 919 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee |
|
919 | 920 | label_issues_visibility_all: All issues |
|
920 | 921 | label_issues_visibility_public: All non private issues |
|
921 | 922 | label_issues_visibility_own: Issues created by or assigned to the user |
|
922 | 923 | label_git_report_last_commit: Report last commit for files and directories |
|
923 | 924 | label_parent_revision: Parent |
|
924 | 925 | label_child_revision: Child |
|
925 | 926 | label_export_options: "%{export_format} export options" |
|
926 | 927 | label_copy_attachments: Copy attachments |
|
927 | 928 | label_copy_subtasks: Copy subtasks |
|
928 | 929 | label_item_position: "%{position} of %{count}" |
|
929 | 930 | label_completed_versions: Completed versions |
|
930 | 931 | label_search_for_watchers: Search for watchers to add |
|
931 | 932 | label_session_expiration: Session expiration |
|
932 | 933 | label_show_closed_projects: View closed projects |
|
933 | 934 | label_status_transitions: Status transitions |
|
934 | 935 | label_fields_permissions: Fields permissions |
|
935 | 936 | label_readonly: Read-only |
|
936 | 937 | label_required: Required |
|
937 | 938 | label_hidden: Hidden |
|
938 | 939 | label_attribute_of_project: "Project's %{name}" |
|
939 | 940 | label_attribute_of_issue: "Issue's %{name}" |
|
940 | 941 | label_attribute_of_author: "Author's %{name}" |
|
941 | 942 | label_attribute_of_assigned_to: "Assignee's %{name}" |
|
942 | 943 | label_attribute_of_user: "User's %{name}" |
|
943 | 944 | label_attribute_of_fixed_version: "Target version's %{name}" |
|
944 | 945 | label_cross_project_descendants: With subprojects |
|
945 | 946 | label_cross_project_tree: With project tree |
|
946 | 947 | label_cross_project_hierarchy: With project hierarchy |
|
947 | 948 | label_cross_project_system: With all projects |
|
948 | 949 | label_gantt_progress_line: Progress line |
|
949 | 950 | label_visibility_private: to me only |
|
950 | 951 | label_visibility_roles: to these roles only |
|
951 | 952 | label_visibility_public: to any users |
|
952 | 953 | label_link: Link |
|
953 | 954 | label_only: only |
|
954 | 955 | label_drop_down_list: drop-down list |
|
955 | 956 | label_checkboxes: checkboxes |
|
956 | 957 | label_radio_buttons: radio buttons |
|
957 | 958 | label_link_values_to: Link values to URL |
|
958 | 959 | label_custom_field_select_type: Select the type of object to which the custom field is to be attached |
|
959 | 960 | label_check_for_updates: Check for updates |
|
960 | 961 | label_latest_compatible_version: Latest compatible version |
|
961 | 962 | label_unknown_plugin: Unknown plugin |
|
962 | 963 | label_add_projects: Add projects |
|
963 | 964 | label_users_visibility_all: All active users |
|
964 | 965 | label_users_visibility_members_of_visible_projects: Members of visible projects |
|
965 | 966 | label_edit_attachments: Edit attached files |
|
966 | 967 | label_link_copied_issue: Link copied issue |
|
967 | 968 | label_ask: Ask |
|
968 | 969 | label_search_attachments_yes: Search attachment filenames and descriptions |
|
969 | 970 | label_search_attachments_no: Do not search attachments |
|
970 | 971 | label_search_attachments_only: Search attachments only |
|
971 | 972 | label_search_open_issues_only: Open issues only |
|
972 | 973 | label_email_address_plural: Emails |
|
973 | 974 | label_email_address_add: Add email address |
|
974 | 975 | label_enable_notifications: Enable notifications |
|
975 | 976 | label_disable_notifications: Disable notifications |
|
976 | 977 | label_blank_value: blank |
|
977 | 978 | label_parent_task_attributes: Parent tasks attributes |
|
978 | 979 | label_parent_task_attributes_derived: Calculated from subtasks |
|
979 | 980 | label_parent_task_attributes_independent: Independent of subtasks |
|
980 | 981 | label_time_entries_visibility_all: All time entries |
|
981 | 982 | label_time_entries_visibility_own: Time entries created by the user |
|
982 | 983 | label_member_management: Member management |
|
983 | 984 | label_member_management_all_roles: All roles |
|
984 | 985 | label_member_management_selected_roles_only: Only these roles |
|
985 | 986 | label_import_issues: Import issues |
|
986 | 987 | label_select_file_to_import: Select the file to import |
|
987 | 988 | label_fields_separator: Field separator |
|
988 | 989 | label_fields_wrapper: Field wrapper |
|
989 | 990 | label_encoding: Encoding |
|
990 | 991 | label_comma_char: Comma |
|
991 | 992 | label_semi_colon_char: Semicolon |
|
992 | 993 | label_quote_char: Quote |
|
993 | 994 | label_double_quote_char: Double quote |
|
994 | 995 | label_fields_mapping: Fields mapping |
|
995 | 996 | label_file_content_preview: File content preview |
|
996 | 997 | label_create_missing_values: Create missing values |
|
997 | 998 | label_api: API |
|
998 | 999 | label_field_format_enumeration: Key/value list |
|
999 | 1000 | label_default_values_for_new_users: Default values for new users |
|
1000 | 1001 | label_relations: Relations |
|
1001 | 1002 | label_new_project_issue_tab_enabled: Display the "New issue" tab |
|
1002 | 1003 | label_new_object_tab_enabled: Display the "+" drop-down |
|
1003 | 1004 | label_table_of_contents: Table of contents |
|
1004 | 1005 | label_font_default: Default font |
|
1005 | 1006 | label_font_monospace: Monospaced font |
|
1006 | 1007 | label_font_proportional: Proportional font |
|
1007 | 1008 | |
|
1008 | 1009 | button_login: Login |
|
1009 | 1010 | button_submit: Submit |
|
1010 | 1011 | button_save: Save |
|
1011 | 1012 | button_check_all: Check all |
|
1012 | 1013 | button_uncheck_all: Uncheck all |
|
1013 | 1014 | button_collapse_all: Collapse all |
|
1014 | 1015 | button_expand_all: Expand all |
|
1015 | 1016 | button_delete: Delete |
|
1016 | 1017 | button_create: Create |
|
1017 | 1018 | button_create_and_continue: Create and continue |
|
1018 | 1019 | button_test: Test |
|
1019 | 1020 | button_edit: Edit |
|
1020 | 1021 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" |
|
1021 | 1022 | button_add: Add |
|
1022 | 1023 | button_change: Change |
|
1023 | 1024 | button_apply: Apply |
|
1024 | 1025 | button_clear: Clear |
|
1025 | 1026 | button_lock: Lock |
|
1026 | 1027 | button_unlock: Unlock |
|
1027 | 1028 | button_download: Download |
|
1028 | 1029 | button_list: List |
|
1029 | 1030 | button_view: View |
|
1030 | 1031 | button_move: Move |
|
1031 | 1032 | button_move_and_follow: Move and follow |
|
1032 | 1033 | button_back: Back |
|
1033 | 1034 | button_cancel: Cancel |
|
1034 | 1035 | button_activate: Activate |
|
1035 | 1036 | button_sort: Sort |
|
1036 | 1037 | button_log_time: Log time |
|
1037 | 1038 | button_rollback: Rollback to this version |
|
1038 | 1039 | button_watch: Watch |
|
1039 | 1040 | button_unwatch: Unwatch |
|
1040 | 1041 | button_reply: Reply |
|
1041 | 1042 | button_archive: Archive |
|
1042 | 1043 | button_unarchive: Unarchive |
|
1043 | 1044 | button_reset: Reset |
|
1044 | 1045 | button_rename: Rename |
|
1045 | 1046 | button_change_password: Change password |
|
1046 | 1047 | button_copy: Copy |
|
1047 | 1048 | button_copy_and_follow: Copy and follow |
|
1048 | 1049 | button_annotate: Annotate |
|
1049 | 1050 | button_update: Update |
|
1050 | 1051 | button_configure: Configure |
|
1051 | 1052 | button_quote: Quote |
|
1052 | 1053 | button_duplicate: Duplicate |
|
1053 | 1054 | button_show: Show |
|
1054 | 1055 | button_hide: Hide |
|
1055 | 1056 | button_edit_section: Edit this section |
|
1056 | 1057 | button_export: Export |
|
1057 | 1058 | button_delete_my_account: Delete my account |
|
1058 | 1059 | button_close: Close |
|
1059 | 1060 | button_reopen: Reopen |
|
1060 | 1061 | button_import: Import |
|
1061 | 1062 | button_filter: Filter |
|
1062 | 1063 | |
|
1063 | 1064 | status_active: active |
|
1064 | 1065 | status_registered: registered |
|
1065 | 1066 | status_locked: locked |
|
1066 | 1067 | |
|
1067 | 1068 | project_status_active: active |
|
1068 | 1069 | project_status_closed: closed |
|
1069 | 1070 | project_status_archived: archived |
|
1070 | 1071 | |
|
1071 | 1072 | version_status_open: open |
|
1072 | 1073 | version_status_locked: locked |
|
1073 | 1074 | version_status_closed: closed |
|
1074 | 1075 | |
|
1075 | 1076 | field_active: Active |
|
1076 | 1077 | |
|
1077 | 1078 | text_select_mail_notifications: Select actions for which email notifications should be sent. |
|
1078 | 1079 | text_regexp_info: eg. ^[A-Z0-9]+$ |
|
1079 | 1080 | text_min_max_length_info: 0 means no restriction |
|
1080 | 1081 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? |
|
1081 | 1082 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." |
|
1082 | 1083 | text_workflow_edit: Select a role and a tracker to edit the workflow |
|
1083 | 1084 | text_are_you_sure: Are you sure? |
|
1084 | 1085 | text_journal_changed: "%{label} changed from %{old} to %{new}" |
|
1085 | 1086 | text_journal_changed_no_detail: "%{label} updated" |
|
1086 | 1087 | text_journal_set_to: "%{label} set to %{value}" |
|
1087 | 1088 | text_journal_deleted: "%{label} deleted (%{old})" |
|
1088 | 1089 | text_journal_added: "%{label} %{value} added" |
|
1089 | 1090 | text_tip_issue_begin_day: issue beginning this day |
|
1090 | 1091 | text_tip_issue_end_day: issue ending this day |
|
1091 | 1092 | text_tip_issue_begin_end_day: issue beginning and ending this day |
|
1092 | 1093 | 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.' |
|
1093 | 1094 | text_caracters_maximum: "%{count} characters maximum." |
|
1094 | 1095 | text_caracters_minimum: "Must be at least %{count} characters long." |
|
1095 | 1096 | text_length_between: "Length between %{min} and %{max} characters." |
|
1096 | 1097 | text_tracker_no_workflow: No workflow defined for this tracker |
|
1097 | 1098 | text_unallowed_characters: Unallowed characters |
|
1098 | 1099 | text_comma_separated: Multiple values allowed (comma separated). |
|
1099 | 1100 | text_line_separated: Multiple values allowed (one line for each value). |
|
1100 | 1101 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages |
|
1101 | 1102 | text_issue_added: "Issue %{id} has been reported by %{author}." |
|
1102 | 1103 | text_issue_updated: "Issue %{id} has been updated by %{author}." |
|
1103 | 1104 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? |
|
1104 | 1105 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" |
|
1105 | 1106 | text_issue_category_destroy_assignments: Remove category assignments |
|
1106 | 1107 | text_issue_category_reassign_to: Reassign issues to this category |
|
1107 | 1108 | 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)." |
|
1108 | 1109 | 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." |
|
1109 | 1110 | text_load_default_configuration: Load the default configuration |
|
1110 | 1111 | text_status_changed_by_changeset: "Applied in changeset %{value}." |
|
1111 | 1112 | text_time_logged_by_changeset: "Applied in changeset %{value}." |
|
1112 | 1113 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' |
|
1113 | 1114 | text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)." |
|
1114 | 1115 | text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?' |
|
1115 | 1116 | text_select_project_modules: 'Select modules to enable for this project:' |
|
1116 | 1117 | text_default_administrator_account_changed: Default administrator account changed |
|
1117 | 1118 | text_file_repository_writable: Attachments directory writable |
|
1118 | 1119 | text_plugin_assets_writable: Plugin assets directory writable |
|
1119 | 1120 | text_rmagick_available: RMagick available (optional) |
|
1120 | 1121 | text_convert_available: ImageMagick convert available (optional) |
|
1121 | 1122 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" |
|
1122 | 1123 | text_destroy_time_entries: Delete reported hours |
|
1123 | 1124 | text_assign_time_entries_to_project: Assign reported hours to the project |
|
1124 | 1125 | text_reassign_time_entries: 'Reassign reported hours to this issue:' |
|
1125 | 1126 | text_user_wrote: "%{value} wrote:" |
|
1126 | 1127 | text_enumeration_destroy_question: "%{count} objects are assigned to the value β%{name}β." |
|
1127 | 1128 | text_enumeration_category_reassign_to: 'Reassign them to this value:' |
|
1128 | 1129 | 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." |
|
1129 | 1130 | 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." |
|
1130 | 1131 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' |
|
1131 | 1132 | text_custom_field_possible_values_info: 'One line for each value' |
|
1132 | 1133 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" |
|
1133 | 1134 | text_wiki_page_nullify_children: "Keep child pages as root pages" |
|
1134 | 1135 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" |
|
1135 | 1136 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" |
|
1136 | 1137 | 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?" |
|
1137 | 1138 | text_zoom_in: Zoom in |
|
1138 | 1139 | text_zoom_out: Zoom out |
|
1139 | 1140 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." |
|
1140 | 1141 | text_scm_path_encoding_note: "Default: UTF-8" |
|
1141 | 1142 | text_subversion_repository_note: "Examples: file:///, http://, https://, svn://, svn+[tunnelscheme]://" |
|
1142 | 1143 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
1143 | 1144 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) |
|
1144 | 1145 | text_scm_command: Command |
|
1145 | 1146 | text_scm_command_version: Version |
|
1146 | 1147 | text_scm_config: You can configure your SCM commands in config/configuration.yml. Please restart the application after editing it. |
|
1147 | 1148 | text_scm_command_not_available: SCM command is not available. Please check settings on the administration panel. |
|
1148 | 1149 | text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)" |
|
1149 | 1150 | text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes" |
|
1150 | 1151 | text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}" |
|
1151 | 1152 | text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it." |
|
1152 | 1153 | text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours." |
|
1153 | 1154 | text_project_closed: This project is closed and read-only. |
|
1154 | 1155 | text_turning_multiple_off: "If you disable multiple values, multiple values will be removed in order to preserve only one value per item." |
|
1155 | 1156 | |
|
1156 | 1157 | default_role_manager: Manager |
|
1157 | 1158 | default_role_developer: Developer |
|
1158 | 1159 | default_role_reporter: Reporter |
|
1159 | 1160 | default_tracker_bug: Bug |
|
1160 | 1161 | default_tracker_feature: Feature |
|
1161 | 1162 | default_tracker_support: Support |
|
1162 | 1163 | default_issue_status_new: New |
|
1163 | 1164 | default_issue_status_in_progress: In Progress |
|
1164 | 1165 | default_issue_status_resolved: Resolved |
|
1165 | 1166 | default_issue_status_feedback: Feedback |
|
1166 | 1167 | default_issue_status_closed: Closed |
|
1167 | 1168 | default_issue_status_rejected: Rejected |
|
1168 | 1169 | default_doc_category_user: User documentation |
|
1169 | 1170 | default_doc_category_tech: Technical documentation |
|
1170 | 1171 | default_priority_low: Low |
|
1171 | 1172 | default_priority_normal: Normal |
|
1172 | 1173 | default_priority_high: High |
|
1173 | 1174 | default_priority_urgent: Urgent |
|
1174 | 1175 | default_priority_immediate: Immediate |
|
1175 | 1176 | default_activity_design: Design |
|
1176 | 1177 | default_activity_development: Development |
|
1177 | 1178 | |
|
1178 | 1179 | enumeration_issue_priorities: Issue priorities |
|
1179 | 1180 | enumeration_doc_categories: Document categories |
|
1180 | 1181 | enumeration_activities: Activities (time tracking) |
|
1181 | 1182 | enumeration_system_activity: System Activity |
|
1182 | 1183 | description_filter: Filter |
|
1183 | 1184 | description_search: Searchfield |
|
1184 | 1185 | description_choose_project: Projects |
|
1185 | 1186 | description_project_scope: Search scope |
|
1186 | 1187 | description_notes: Notes |
|
1187 | 1188 | description_message_content: Message content |
|
1188 | 1189 | description_query_sort_criteria_attribute: Sort attribute |
|
1189 | 1190 | description_query_sort_criteria_direction: Sort direction |
|
1190 | 1191 | description_user_mail_notification: Mail notification settings |
|
1191 | 1192 | description_available_columns: Available Columns |
|
1192 | 1193 | description_selected_columns: Selected Columns |
|
1193 | 1194 | description_all_columns: All Columns |
|
1194 | 1195 | description_issue_category_reassign: Choose issue category |
|
1195 | 1196 | description_wiki_subpages_reassign: Choose new parent page |
|
1196 | 1197 | description_date_range_list: Choose range from list |
|
1197 | 1198 | description_date_range_interval: Choose range by selecting start and end date |
|
1198 | 1199 | description_date_from: Enter start date |
|
1199 | 1200 | description_date_to: Enter end date |
|
1200 | 1201 | 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,1220 +1,1221 | |||
|
1 | 1 | # French translations for Ruby on Rails |
|
2 | 2 | # by Christian Lescuyer (christian@flyingcoders.com) |
|
3 | 3 | # contributor: Sebastien Grosjean - ZenCocoon.com |
|
4 | 4 | # contributor: Thibaut Cuvelier - Developpez.com |
|
5 | 5 | |
|
6 | 6 | fr: |
|
7 | 7 | direction: ltr |
|
8 | 8 | date: |
|
9 | 9 | formats: |
|
10 | 10 | default: "%d/%m/%Y" |
|
11 | 11 | short: "%e %b" |
|
12 | 12 | long: "%e %B %Y" |
|
13 | 13 | long_ordinal: "%e %B %Y" |
|
14 | 14 | only_day: "%e" |
|
15 | 15 | |
|
16 | 16 | day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi] |
|
17 | 17 | abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam] |
|
18 | 18 | |
|
19 | 19 | # Don't forget the nil at the beginning; there's no such thing as a 0th month |
|
20 | 20 | month_names: [~, janvier, fΓ©vrier, mars, avril, mai, juin, juillet, aoΓ»t, septembre, octobre, novembre, dΓ©cembre] |
|
21 | 21 | abbr_month_names: [~, jan., fΓ©v., mar., avr., mai, juin, juil., aoΓ»t, sept., oct., nov., dΓ©c.] |
|
22 | 22 | # Used in date_select and datime_select. |
|
23 | 23 | order: |
|
24 | 24 | - :day |
|
25 | 25 | - :month |
|
26 | 26 | - :year |
|
27 | 27 | |
|
28 | 28 | time: |
|
29 | 29 | formats: |
|
30 | 30 | default: "%d/%m/%Y %H:%M" |
|
31 | 31 | time: "%H:%M" |
|
32 | 32 | short: "%d %b %H:%M" |
|
33 | 33 | long: "%A %d %B %Y %H:%M:%S %Z" |
|
34 | 34 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" |
|
35 | 35 | only_second: "%S" |
|
36 | 36 | am: 'am' |
|
37 | 37 | pm: 'pm' |
|
38 | 38 | |
|
39 | 39 | datetime: |
|
40 | 40 | distance_in_words: |
|
41 | 41 | half_a_minute: "30 secondes" |
|
42 | 42 | less_than_x_seconds: |
|
43 | 43 | zero: "moins d'une seconde" |
|
44 | 44 | one: "moins d'uneΒ seconde" |
|
45 | 45 | other: "moins de %{count}Β secondes" |
|
46 | 46 | x_seconds: |
|
47 | 47 | one: "1Β seconde" |
|
48 | 48 | other: "%{count}Β secondes" |
|
49 | 49 | less_than_x_minutes: |
|
50 | 50 | zero: "moins d'une minute" |
|
51 | 51 | one: "moins d'uneΒ minute" |
|
52 | 52 | other: "moins de %{count}Β minutes" |
|
53 | 53 | x_minutes: |
|
54 | 54 | one: "1Β minute" |
|
55 | 55 | other: "%{count}Β minutes" |
|
56 | 56 | about_x_hours: |
|
57 | 57 | one: "environ une heure" |
|
58 | 58 | other: "environ %{count}Β heures" |
|
59 | 59 | x_hours: |
|
60 | 60 | one: "une heure" |
|
61 | 61 | other: "%{count}Β heures" |
|
62 | 62 | x_days: |
|
63 | 63 | one: "unΒ jour" |
|
64 | 64 | other: "%{count}Β jours" |
|
65 | 65 | about_x_months: |
|
66 | 66 | one: "environ un mois" |
|
67 | 67 | other: "environ %{count}Β mois" |
|
68 | 68 | x_months: |
|
69 | 69 | one: "unΒ mois" |
|
70 | 70 | other: "%{count}Β mois" |
|
71 | 71 | about_x_years: |
|
72 | 72 | one: "environ un an" |
|
73 | 73 | other: "environ %{count}Β ans" |
|
74 | 74 | over_x_years: |
|
75 | 75 | one: "plus d'un an" |
|
76 | 76 | other: "plus de %{count}Β ans" |
|
77 | 77 | almost_x_years: |
|
78 | 78 | one: "presqu'un an" |
|
79 | 79 | other: "presque %{count} ans" |
|
80 | 80 | prompts: |
|
81 | 81 | year: "AnnΓ©e" |
|
82 | 82 | month: "Mois" |
|
83 | 83 | day: "Jour" |
|
84 | 84 | hour: "Heure" |
|
85 | 85 | minute: "Minute" |
|
86 | 86 | second: "Seconde" |
|
87 | 87 | |
|
88 | 88 | number: |
|
89 | 89 | format: |
|
90 | 90 | precision: 3 |
|
91 | 91 | separator: ',' |
|
92 | 92 | delimiter: 'Β ' |
|
93 | 93 | currency: |
|
94 | 94 | format: |
|
95 | 95 | unit: 'β¬' |
|
96 | 96 | precision: 2 |
|
97 | 97 | format: '%nΒ %u' |
|
98 | 98 | human: |
|
99 | 99 | format: |
|
100 | 100 | precision: 3 |
|
101 | 101 | storage_units: |
|
102 | 102 | format: "%n %u" |
|
103 | 103 | units: |
|
104 | 104 | byte: |
|
105 | 105 | one: "octet" |
|
106 | 106 | other: "octets" |
|
107 | 107 | kb: "ko" |
|
108 | 108 | mb: "Mo" |
|
109 | 109 | gb: "Go" |
|
110 | 110 | tb: "To" |
|
111 | 111 | |
|
112 | 112 | support: |
|
113 | 113 | array: |
|
114 | 114 | sentence_connector: 'et' |
|
115 | 115 | skip_last_comma: true |
|
116 | 116 | word_connector: ", " |
|
117 | 117 | two_words_connector: " et " |
|
118 | 118 | last_word_connector: " et " |
|
119 | 119 | |
|
120 | 120 | activerecord: |
|
121 | 121 | errors: |
|
122 | 122 | template: |
|
123 | 123 | header: |
|
124 | 124 | one: "Impossible d'enregistrer %{model} : une erreur" |
|
125 | 125 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." |
|
126 | 126 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" |
|
127 | 127 | messages: |
|
128 | 128 | inclusion: "n'est pas inclus(e) dans la liste" |
|
129 | 129 | exclusion: "n'est pas disponible" |
|
130 | 130 | invalid: "n'est pas valide" |
|
131 | 131 | confirmation: "ne concorde pas avec la confirmation" |
|
132 | 132 | accepted: "doit Γͺtre acceptΓ©(e)" |
|
133 | 133 | empty: "doit Γͺtre renseignΓ©(e)" |
|
134 | 134 | blank: "doit Γͺtre renseignΓ©(e)" |
|
135 | 135 | too_long: "est trop long (pas plus de %{count} caractères)" |
|
136 | 136 | too_short: "est trop court (au moins %{count} caractères)" |
|
137 | 137 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" |
|
138 | 138 | taken: "est dΓ©jΓ utilisΓ©" |
|
139 | 139 | not_a_number: "n'est pas un nombre" |
|
140 | 140 | not_a_date: "n'est pas une date valide" |
|
141 | 141 | greater_than: "doit Γͺtre supΓ©rieur Γ %{count}" |
|
142 | 142 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ %{count}" |
|
143 | 143 | equal_to: "doit Γͺtre Γ©gal Γ %{count}" |
|
144 | 144 | less_than: "doit Γͺtre infΓ©rieur Γ %{count}" |
|
145 | 145 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ %{count}" |
|
146 | 146 | odd: "doit Γͺtre impair" |
|
147 | 147 | even: "doit Γͺtre pair" |
|
148 | 148 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" |
|
149 | 149 | not_same_project: "n'appartient pas au mΓͺme projet" |
|
150 | 150 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" |
|
151 | 151 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" |
|
152 | 152 | earlier_than_minimum_start_date: "ne peut pas Γͺtre antΓ©rieure au %{date} Γ cause des demandes qui prΓ©cΓ¨dent" |
|
153 | 153 | |
|
154 | 154 | actionview_instancetag_blank_option: Choisir |
|
155 | 155 | |
|
156 | 156 | general_text_No: 'Non' |
|
157 | 157 | general_text_Yes: 'Oui' |
|
158 | 158 | general_text_no: 'non' |
|
159 | 159 | general_text_yes: 'oui' |
|
160 | 160 | general_lang_name: 'French (FranΓ§ais)' |
|
161 | 161 | general_csv_separator: ';' |
|
162 | 162 | general_csv_decimal_separator: ',' |
|
163 | 163 | general_csv_encoding: ISO-8859-1 |
|
164 | 164 | general_pdf_fontname: freesans |
|
165 | 165 | general_pdf_monospaced_fontname: freemono |
|
166 | 166 | general_first_day_of_week: '1' |
|
167 | 167 | |
|
168 | 168 | notice_account_updated: Le compte a été mis à jour avec succès. |
|
169 | 169 | notice_account_invalid_credentials: Identifiant ou mot de passe invalide. |
|
170 | 170 | notice_account_password_updated: Mot de passe mis à jour avec succès. |
|
171 | 171 | notice_account_wrong_password: Mot de passe incorrect |
|
172 | 172 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ© Γ l'adresse %{email}. |
|
173 | 173 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. |
|
174 | 174 | 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>. |
|
175 | 175 | notice_account_locked: Votre compte est verrouillΓ©. |
|
176 | 176 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. |
|
177 | 177 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. |
|
178 | 178 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. |
|
179 | 179 | notice_successful_create: Création effectuée avec succès. |
|
180 | 180 | notice_successful_update: Mise à jour effectuée avec succès. |
|
181 | 181 | notice_successful_delete: Suppression effectuée avec succès. |
|
182 | 182 | notice_successful_connection: Connexion rΓ©ussie. |
|
183 | 183 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." |
|
184 | 184 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. |
|
185 | 185 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ accΓ©der Γ cette page." |
|
186 | 186 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. |
|
187 | 187 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ %{value}" |
|
188 | 188 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" |
|
189 | 189 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux Atom a été réinitialisée." |
|
190 | 190 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. |
|
191 | 191 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : %{ids}." |
|
192 | 192 | notice_failed_to_save_time_entries: "%{count} temps passΓ©(s) sur les %{total} sΓ©lectionnΓ©s n'ont pas pu Γͺtre mis Γ jour: %{ids}." |
|
193 | 193 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." |
|
194 | 194 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." |
|
195 | 195 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." |
|
196 | 196 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. |
|
197 | 197 | notice_unable_delete_version: Impossible de supprimer cette version. |
|
198 | 198 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. |
|
199 | 199 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. |
|
200 | 200 | notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})" |
|
201 | 201 | notice_issue_successful_create: "Demande %{id} créée." |
|
202 | 202 | notice_issue_update_conflict: "La demande a Γ©tΓ© mise Γ jour par un autre utilisateur pendant que vous la modifiez." |
|
203 | 203 | notice_account_deleted: "Votre compte a Γ©tΓ© dΓ©finitivement supprimΓ©." |
|
204 | 204 | notice_user_successful_create: "Utilisateur %{id} créé." |
|
205 | 205 | notice_new_password_must_be_different: Votre nouveau mot de passe doit Γͺtre diffΓ©rent de votre mot de passe actuel |
|
206 | 206 | notice_import_finished: "%{count} Γ©lΓ©ments ont Γ©tΓ© importΓ©(s)" |
|
207 | 207 | notice_import_finished_with_errors: "%{count} Γ©lΓ©ment(s) sur %{total} n'ont pas pu Γͺtre importΓ©(s)" |
|
208 | 208 | |
|
209 | 209 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}" |
|
210 | 210 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." |
|
211 | 211 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" |
|
212 | 212 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." |
|
213 | 213 | error_scm_annotate_big_text_file: Cette entrΓ©e ne peut pas Γͺtre annotΓ©e car elle excΓ¨de la taille maximale. |
|
214 | 214 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" |
|
215 | 215 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." |
|
216 | 216 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." |
|
217 | 217 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© |
|
218 | 218 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. |
|
219 | 219 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. |
|
220 | 220 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' |
|
221 | 221 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" |
|
222 | 222 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. |
|
223 | 223 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' |
|
224 | 224 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' |
|
225 | 225 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande |
|
226 | 226 | error_unable_to_connect: Connexion impossible (%{value}) |
|
227 | 227 | error_attachment_too_big: Ce fichier ne peut pas Γͺtre attachΓ© car il excΓ¨de la taille maximale autorisΓ©e (%{max_size}) |
|
228 | 228 | error_session_expired: "Votre session a expirΓ©. Veuillez vous reconnecter." |
|
229 | 229 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." |
|
230 | 230 | error_password_expired: "Votre mot de passe a expirΓ© ou nΓ©cessite d'Γͺtre changΓ©." |
|
231 | 231 | error_invalid_file_encoding: "Le fichier n'est pas un fichier %{encoding} valide" |
|
232 | 232 | 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" |
|
233 | 233 | error_can_not_read_import_file: "Une erreur est survenue lors de la lecture du fichier Γ importer" |
|
234 | 234 | error_attachment_extension_not_allowed: "L'extension %{extension} n'est pas autorisΓ©e" |
|
235 | 235 | error_ldap_bind_credentials: "Identifiant ou mot de passe LDAP incorrect" |
|
236 | 236 | error_no_tracker_allowed_for_new_issue_in_project: "Le projet ne dispose d'aucun tracker sur lequel vous pouvez crΓ©er une demande" |
|
237 | 237 | error_no_projects_with_tracker_allowed_for_new_issue: "Aucun projet ne dispose d'un tracker sur lequel vous pouvez crΓ©er une demande" |
|
238 | 238 | |
|
239 | 239 | mail_subject_lost_password: "Votre mot de passe %{value}" |
|
240 | 240 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' |
|
241 | 241 | mail_subject_register: "Activation de votre compte %{value}" |
|
242 | 242 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' |
|
243 | 243 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." |
|
244 | 244 | mail_body_account_information: Paramètres de connexion de votre compte |
|
245 | 245 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" |
|
246 | 246 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :" |
|
247 | 247 | mail_subject_reminder: "%{count} demande(s) arrivent Γ Γ©chΓ©ance (%{days})" |
|
248 | 248 | mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les %{days} prochains jours :" |
|
249 | 249 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e" |
|
250 | 250 | mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}." |
|
251 | 251 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ jour" |
|
252 | 252 | mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ jour par %{author}." |
|
253 | 253 | mail_body_settings_updated: "Les paramètres suivants ont été modifiés :" |
|
254 | 254 | mail_body_password_updated: "Votre mot de passe a Γ©tΓ© changΓ©." |
|
255 | 255 | |
|
256 | 256 | field_name: Nom |
|
257 | 257 | field_description: Description |
|
258 | 258 | field_summary: RΓ©sumΓ© |
|
259 | 259 | field_is_required: Obligatoire |
|
260 | 260 | field_firstname: PrΓ©nom |
|
261 | 261 | field_lastname: Nom |
|
262 | 262 | field_mail: Email |
|
263 | 263 | field_address: Email |
|
264 | 264 | field_filename: Fichier |
|
265 | 265 | field_filesize: Taille |
|
266 | 266 | field_downloads: TΓ©lΓ©chargements |
|
267 | 267 | field_author: Auteur |
|
268 | 268 | field_created_on: Créé |
|
269 | 269 | field_updated_on: Mis-Γ -jour |
|
270 | 270 | field_closed_on: FermΓ© |
|
271 | 271 | field_field_format: Format |
|
272 | 272 | field_is_for_all: Pour tous les projets |
|
273 | 273 | field_possible_values: Valeurs possibles |
|
274 | 274 | field_regexp: Expression régulière |
|
275 | 275 | field_min_length: Longueur minimum |
|
276 | 276 | field_max_length: Longueur maximum |
|
277 | 277 | field_value: Valeur |
|
278 | 278 | field_category: CatΓ©gorie |
|
279 | 279 | field_title: Titre |
|
280 | 280 | field_project: Projet |
|
281 | 281 | field_issue: Demande |
|
282 | 282 | field_status: Statut |
|
283 | 283 | field_notes: Notes |
|
284 | 284 | field_is_closed: Demande fermΓ©e |
|
285 | 285 | field_is_default: Valeur par dΓ©faut |
|
286 | 286 | field_tracker: Tracker |
|
287 | 287 | field_subject: Sujet |
|
288 | 288 | field_due_date: EchΓ©ance |
|
289 | 289 | field_assigned_to: AssignΓ© Γ |
|
290 | 290 | field_priority: PrioritΓ© |
|
291 | 291 | field_fixed_version: Version cible |
|
292 | 292 | field_user: Utilisateur |
|
293 | 293 | field_principal: Principal |
|
294 | 294 | field_role: RΓ΄le |
|
295 | 295 | field_homepage: Site web |
|
296 | 296 | field_is_public: Public |
|
297 | 297 | field_parent: Sous-projet de |
|
298 | 298 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap |
|
299 | 299 | field_login: Identifiant |
|
300 | 300 | field_mail_notification: Notifications par mail |
|
301 | 301 | field_admin: Administrateur |
|
302 | 302 | field_last_login_on: Dernière connexion |
|
303 | 303 | field_language: Langue |
|
304 | 304 | field_effective_date: Date |
|
305 | 305 | field_password: Mot de passe |
|
306 | 306 | field_new_password: Nouveau mot de passe |
|
307 | 307 | field_password_confirmation: Confirmation |
|
308 | 308 | field_version: Version |
|
309 | 309 | field_type: Type |
|
310 | 310 | field_host: HΓ΄te |
|
311 | 311 | field_port: Port |
|
312 | 312 | field_account: Compte |
|
313 | 313 | field_base_dn: Base DN |
|
314 | 314 | field_attr_login: Attribut Identifiant |
|
315 | 315 | field_attr_firstname: Attribut PrΓ©nom |
|
316 | 316 | field_attr_lastname: Attribut Nom |
|
317 | 317 | field_attr_mail: Attribut Email |
|
318 | 318 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e |
|
319 | 319 | field_start_date: DΓ©but |
|
320 | 320 | field_done_ratio: "% rΓ©alisΓ©" |
|
321 | 321 | field_auth_source: Mode d'authentification |
|
322 | 322 | field_hide_mail: Cacher mon adresse mail |
|
323 | 323 | field_comments: Commentaire |
|
324 | 324 | field_url: URL |
|
325 | 325 | field_start_page: Page de dΓ©marrage |
|
326 | 326 | field_subproject: Sous-projet |
|
327 | 327 | field_hours: Heures |
|
328 | 328 | field_activity: ActivitΓ© |
|
329 | 329 | field_spent_on: Date |
|
330 | 330 | field_identifier: Identifiant |
|
331 | 331 | field_is_filter: UtilisΓ© comme filtre |
|
332 | 332 | field_issue_to: Demande liΓ©e |
|
333 | 333 | field_delay: Retard |
|
334 | 334 | field_assignable: Demandes assignables Γ ce rΓ΄le |
|
335 | 335 | field_redirect_existing_links: Rediriger les liens existants |
|
336 | 336 | field_estimated_hours: Temps estimΓ© |
|
337 | 337 | field_column_names: Colonnes |
|
338 | 338 | field_time_entries: Temps passΓ© |
|
339 | 339 | field_time_zone: Fuseau horaire |
|
340 | 340 | field_searchable: UtilisΓ© pour les recherches |
|
341 | 341 | field_default_value: Valeur par dΓ©faut |
|
342 | 342 | field_comments_sorting: Afficher les commentaires |
|
343 | 343 | field_parent_title: Page parent |
|
344 | 344 | field_editable: Modifiable |
|
345 | 345 | field_watcher: Observateur |
|
346 | 346 | field_identity_url: URL OpenID |
|
347 | 347 | field_content: Contenu |
|
348 | 348 | field_group_by: Grouper par |
|
349 | 349 | field_sharing: Partage |
|
350 | 350 | field_parent_issue: TΓ’che parente |
|
351 | 351 | field_member_of_group: Groupe de l'assignΓ© |
|
352 | 352 | field_assigned_to_role: RΓ΄le de l'assignΓ© |
|
353 | 353 | field_text: Champ texte |
|
354 | 354 | field_visible: Visible |
|
355 | 355 | field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©" |
|
356 | 356 | field_issues_visibility: VisibilitΓ© des demandes |
|
357 | 357 | field_is_private: PrivΓ©e |
|
358 | 358 | field_commit_logs_encoding: Encodage des messages de commit |
|
359 | 359 | field_scm_path_encoding: Encodage des chemins |
|
360 | 360 | field_path_to_repository: Chemin du dΓ©pΓ΄t |
|
361 | 361 | field_root_directory: RΓ©pertoire racine |
|
362 | 362 | field_cvsroot: CVSROOT |
|
363 | 363 | field_cvs_module: Module |
|
364 | 364 | field_repository_is_default: DΓ©pΓ΄t principal |
|
365 | 365 | field_multiple: Valeurs multiples |
|
366 | 366 | field_auth_source_ldap_filter: Filtre LDAP |
|
367 | 367 | field_core_fields: Champs standards |
|
368 | 368 | field_timeout: "Timeout (en secondes)" |
|
369 | 369 | field_board_parent: Forum parent |
|
370 | 370 | field_private_notes: Notes privΓ©es |
|
371 | 371 | field_inherit_members: HΓ©riter les membres |
|
372 | 372 | field_generate_password: GΓ©nΓ©rer un mot de passe |
|
373 | 373 | field_must_change_passwd: Doit changer de mot de passe Γ la prochaine connexion |
|
374 | 374 | field_default_status: Statut par dΓ©faut |
|
375 | 375 | field_users_visibility: VisibilitΓ© des utilisateurs |
|
376 | 376 | field_time_entries_visibility: VisibilitΓ© du temps passΓ© |
|
377 | 377 | field_total_estimated_hours: Temps estimΓ© total |
|
378 | 378 | field_default_version: Version par dΓ©faut |
|
379 | 379 | field_textarea_font: Police utilisΓ©e pour les champs texte |
|
380 | 380 | |
|
381 | 381 | setting_app_title: Titre de l'application |
|
382 | 382 | setting_app_subtitle: Sous-titre de l'application |
|
383 | 383 | setting_welcome_text: Texte d'accueil |
|
384 | 384 | setting_default_language: Langue par dΓ©faut |
|
385 | 385 | setting_login_required: Authentification obligatoire |
|
386 | 386 | setting_self_registration: Inscription des nouveaux utilisateurs |
|
387 | 387 | setting_attachment_max_size: Taille maximale des fichiers |
|
388 | 388 | setting_issues_export_limit: Limite d'exportation des demandes |
|
389 | 389 | setting_mail_from: Adresse d'Γ©mission |
|
390 | 390 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) |
|
391 | 391 | setting_plain_text_mail: Mail en texte brut (non HTML) |
|
392 | 392 | setting_host_name: Nom d'hΓ΄te et chemin |
|
393 | 393 | setting_text_formatting: Formatage du texte |
|
394 | 394 | setting_wiki_compression: Compression de l'historique des pages wiki |
|
395 | 395 | setting_feeds_limit: Nombre maximal d'Γ©lΓ©ments dans les flux Atom |
|
396 | 396 | setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut |
|
397 | 397 | setting_autofetch_changesets: RΓ©cupΓ©ration automatique des commits |
|
398 | 398 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts |
|
399 | 399 | setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement |
|
400 | 400 | setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution |
|
401 | 401 | setting_autologin: DurΓ©e maximale de connexion automatique |
|
402 | 402 | setting_date_format: Format de date |
|
403 | 403 | setting_time_format: Format d'heure |
|
404 | 404 | setting_timespan_format: Format des temps en heures |
|
405 | 405 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets |
|
406 | 406 | setting_cross_project_subtasks: Autoriser les sous-tΓ’ches dans des projets diffΓ©rents |
|
407 | 407 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes |
|
408 | 408 | setting_repositories_encodings: Encodages des fichiers et des dΓ©pΓ΄ts |
|
409 | 409 | setting_emails_header: En-tΓͺte des emails |
|
410 | 410 | setting_emails_footer: Pied-de-page des emails |
|
411 | 411 | setting_protocol: Protocole |
|
412 | 412 | setting_per_page_options: Options d'objets affichΓ©s par page |
|
413 | 413 | setting_user_format: Format d'affichage des utilisateurs |
|
414 | 414 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets |
|
415 | 415 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux |
|
416 | 416 | setting_enabled_scm: SCM activΓ©s |
|
417 | 417 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" |
|
418 | 418 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" |
|
419 | 419 | setting_mail_handler_api_key: ClΓ© de protection de l'API |
|
420 | 420 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels |
|
421 | 421 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs |
|
422 | 422 | setting_gravatar_default: Image Gravatar par dΓ©faut |
|
423 | 423 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es |
|
424 | 424 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne |
|
425 | 425 | setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier" |
|
426 | 426 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" |
|
427 | 427 | setting_password_max_age: Expiration des mots de passe après |
|
428 | 428 | setting_password_min_length: Longueur minimum des mots de passe |
|
429 | 429 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet |
|
430 | 430 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets |
|
431 | 431 | setting_issue_done_ratio: Calcul de l'avancement des demandes |
|
432 | 432 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' |
|
433 | 433 | setting_issue_done_ratio_issue_status: Utiliser le statut |
|
434 | 434 | setting_start_of_week: Jour de dΓ©but des calendriers |
|
435 | 435 | setting_rest_api_enabled: Activer l'API REST |
|
436 | 436 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© |
|
437 | 437 | setting_default_notification_option: Option de notification par dΓ©faut |
|
438 | 438 | setting_commit_logtime_enabled: Permettre la saisie de temps |
|
439 | 439 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi |
|
440 | 440 | setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt |
|
441 | 441 | setting_issue_group_assignment: Permettre l'assignation des demandes aux groupes |
|
442 | 442 | 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 |
|
443 | 443 | setting_commit_cross_project_ref: Permettre le rΓ©fΓ©rencement et la rΓ©solution des demandes de tous les autres projets |
|
444 | 444 | setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte |
|
445 | 445 | setting_session_lifetime: DurΓ©e de vie maximale des sessions |
|
446 | 446 | setting_session_timeout: DurΓ©e maximale d'inactivitΓ© |
|
447 | 447 | setting_thumbnails_enabled: Afficher les vignettes des images |
|
448 | 448 | setting_thumbnails_size: Taille des vignettes (en pixels) |
|
449 | 449 | setting_non_working_week_days: Jours non travaillΓ©s |
|
450 | 450 | setting_jsonp_enabled: Activer le support JSONP |
|
451 | 451 | setting_default_projects_tracker_ids: Trackers par dΓ©faut pour les nouveaux projets |
|
452 | 452 | setting_mail_handler_excluded_filenames: Exclure les fichiers attachΓ©s par leur nom |
|
453 | 453 | setting_force_default_language_for_anonymous: Forcer la langue par dΓ©fault pour les utilisateurs anonymes |
|
454 | 454 | setting_force_default_language_for_loggedin: Forcer la langue par dΓ©fault pour les utilisateurs identifiΓ©s |
|
455 | 455 | setting_link_copied_issue: Lier les demandes lors de la copie |
|
456 | 456 | setting_max_additional_emails: Nombre maximal d'adresses email additionnelles |
|
457 | 457 | setting_search_results_per_page: RΓ©sultats de recherche affichΓ©s par page |
|
458 | 458 | setting_attachment_extensions_allowed: Extensions autorisΓ©es |
|
459 | 459 | setting_attachment_extensions_denied: Extensions non autorisΓ©es |
|
460 | 460 | setting_sys_api_key: ClΓ© de protection de l'API |
|
461 | 461 | setting_lost_password: Autoriser la rΓ©initialisation par email de mot de passe perdu |
|
462 | 462 | setting_new_item_menu_tab: Onglet de crΓ©ation d'objets dans le menu du project |
|
463 | setting_commit_logs_formatting: Appliquer le formattage de texte aux messages de commit | |
|
463 | 464 | |
|
464 | 465 | permission_add_project: CrΓ©er un projet |
|
465 | 466 | permission_add_subprojects: CrΓ©er des sous-projets |
|
466 | 467 | permission_edit_project: Modifier le projet |
|
467 | 468 | permission_close_project: Fermer / rΓ©ouvrir le projet |
|
468 | 469 | permission_select_project_modules: Choisir les modules |
|
469 | 470 | permission_manage_members: GΓ©rer les membres |
|
470 | 471 | permission_manage_project_activities: GΓ©rer les activitΓ©s |
|
471 | 472 | permission_manage_versions: GΓ©rer les versions |
|
472 | 473 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes |
|
473 | 474 | permission_view_issues: Voir les demandes |
|
474 | 475 | permission_add_issues: CrΓ©er des demandes |
|
475 | 476 | permission_edit_issues: Modifier les demandes |
|
476 | 477 | permission_copy_issues: Copier les demandes |
|
477 | 478 | permission_manage_issue_relations: GΓ©rer les relations |
|
478 | 479 | permission_set_issues_private: Rendre les demandes publiques ou privΓ©es |
|
479 | 480 | permission_set_own_issues_private: Rendre ses propres demandes publiques ou privΓ©es |
|
480 | 481 | permission_add_issue_notes: Ajouter des notes |
|
481 | 482 | permission_edit_issue_notes: Modifier les notes |
|
482 | 483 | permission_edit_own_issue_notes: Modifier ses propres notes |
|
483 | 484 | permission_view_private_notes: Voir les notes privΓ©es |
|
484 | 485 | permission_set_notes_private: Rendre les notes privΓ©es |
|
485 | 486 | permission_move_issues: DΓ©placer les demandes |
|
486 | 487 | permission_delete_issues: Supprimer les demandes |
|
487 | 488 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques |
|
488 | 489 | permission_save_queries: Sauvegarder les requΓͺtes |
|
489 | 490 | permission_view_gantt: Voir le gantt |
|
490 | 491 | permission_view_calendar: Voir le calendrier |
|
491 | 492 | permission_view_issue_watchers: Voir la liste des observateurs |
|
492 | 493 | permission_add_issue_watchers: Ajouter des observateurs |
|
493 | 494 | permission_delete_issue_watchers: Supprimer des observateurs |
|
494 | 495 | permission_log_time: Saisir le temps passΓ© |
|
495 | 496 | permission_view_time_entries: Voir le temps passΓ© |
|
496 | 497 | permission_edit_time_entries: Modifier les temps passΓ©s |
|
497 | 498 | permission_edit_own_time_entries: Modifier son propre temps passΓ© |
|
498 | 499 | permission_manage_news: GΓ©rer les annonces |
|
499 | 500 | permission_comment_news: Commenter les annonces |
|
500 | 501 | permission_view_documents: Voir les documents |
|
501 | 502 | permission_add_documents: Ajouter des documents |
|
502 | 503 | permission_edit_documents: Modifier les documents |
|
503 | 504 | permission_delete_documents: Supprimer les documents |
|
504 | 505 | permission_manage_files: GΓ©rer les fichiers |
|
505 | 506 | permission_view_files: Voir les fichiers |
|
506 | 507 | permission_manage_wiki: GΓ©rer le wiki |
|
507 | 508 | permission_rename_wiki_pages: Renommer les pages |
|
508 | 509 | permission_delete_wiki_pages: Supprimer les pages |
|
509 | 510 | permission_view_wiki_pages: Voir le wiki |
|
510 | 511 | permission_view_wiki_edits: "Voir l'historique des modifications" |
|
511 | 512 | permission_edit_wiki_pages: Modifier les pages |
|
512 | 513 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints |
|
513 | 514 | permission_protect_wiki_pages: ProtΓ©ger les pages |
|
514 | 515 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources |
|
515 | 516 | permission_browse_repository: Parcourir les sources |
|
516 | 517 | permission_view_changesets: Voir les rΓ©visions |
|
517 | 518 | permission_commit_access: Droit de commit |
|
518 | 519 | permission_manage_boards: GΓ©rer les forums |
|
519 | 520 | permission_view_messages: Voir les messages |
|
520 | 521 | permission_add_messages: Poster un message |
|
521 | 522 | permission_edit_messages: Modifier les messages |
|
522 | 523 | permission_edit_own_messages: Modifier ses propres messages |
|
523 | 524 | permission_delete_messages: Supprimer les messages |
|
524 | 525 | permission_delete_own_messages: Supprimer ses propres messages |
|
525 | 526 | permission_export_wiki_pages: Exporter les pages |
|
526 | 527 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches |
|
527 | 528 | permission_manage_related_issues: GΓ©rer les demandes associΓ©es |
|
528 | 529 | permission_import_issues: Importer des demandes |
|
529 | 530 | |
|
530 | 531 | project_module_issue_tracking: Suivi des demandes |
|
531 | 532 | project_module_time_tracking: Suivi du temps passΓ© |
|
532 | 533 | project_module_news: Publication d'annonces |
|
533 | 534 | project_module_documents: Publication de documents |
|
534 | 535 | project_module_files: Publication de fichiers |
|
535 | 536 | project_module_wiki: Wiki |
|
536 | 537 | project_module_repository: DΓ©pΓ΄t de sources |
|
537 | 538 | project_module_boards: Forums de discussion |
|
538 | 539 | project_module_calendar: Calendrier |
|
539 | 540 | project_module_gantt: Gantt |
|
540 | 541 | |
|
541 | 542 | label_user: Utilisateur |
|
542 | 543 | label_user_plural: Utilisateurs |
|
543 | 544 | label_user_new: Nouvel utilisateur |
|
544 | 545 | label_user_anonymous: Anonyme |
|
545 | 546 | label_project: Projet |
|
546 | 547 | label_project_new: Nouveau projet |
|
547 | 548 | label_project_plural: Projets |
|
548 | 549 | label_x_projects: |
|
549 | 550 | zero: aucun projet |
|
550 | 551 | one: un projet |
|
551 | 552 | other: "%{count} projets" |
|
552 | 553 | label_project_all: Tous les projets |
|
553 | 554 | label_project_latest: Derniers projets |
|
554 | 555 | label_issue: Demande |
|
555 | 556 | label_issue_new: Nouvelle demande |
|
556 | 557 | label_issue_plural: Demandes |
|
557 | 558 | label_issue_view_all: Voir toutes les demandes |
|
558 | 559 | label_issues_by: "Demandes par %{value}" |
|
559 | 560 | label_issue_added: Demande ajoutΓ©e |
|
560 | 561 | label_issue_updated: Demande mise Γ jour |
|
561 | 562 | label_issue_note_added: Note ajoutΓ©e |
|
562 | 563 | label_issue_status_updated: Statut changΓ© |
|
563 | 564 | label_issue_assigned_to_updated: AssignΓ© changΓ© |
|
564 | 565 | label_issue_priority_updated: PrioritΓ© changΓ©e |
|
565 | 566 | label_document: Document |
|
566 | 567 | label_document_new: Nouveau document |
|
567 | 568 | label_document_plural: Documents |
|
568 | 569 | label_document_added: Document ajoutΓ© |
|
569 | 570 | label_role: RΓ΄le |
|
570 | 571 | label_role_plural: RΓ΄les |
|
571 | 572 | label_role_new: Nouveau rΓ΄le |
|
572 | 573 | label_role_and_permissions: RΓ΄les et permissions |
|
573 | 574 | label_role_anonymous: Anonyme |
|
574 | 575 | label_role_non_member: Non membre |
|
575 | 576 | label_member: Membre |
|
576 | 577 | label_member_new: Nouveau membre |
|
577 | 578 | label_member_plural: Membres |
|
578 | 579 | label_tracker: Tracker |
|
579 | 580 | label_tracker_plural: Trackers |
|
580 | 581 | label_tracker_all: Tous les trackers |
|
581 | 582 | label_tracker_new: Nouveau tracker |
|
582 | 583 | label_workflow: Workflow |
|
583 | 584 | label_issue_status: Statut de demandes |
|
584 | 585 | label_issue_status_plural: Statuts de demandes |
|
585 | 586 | label_issue_status_new: Nouveau statut |
|
586 | 587 | label_issue_category: CatΓ©gorie de demandes |
|
587 | 588 | label_issue_category_plural: CatΓ©gories de demandes |
|
588 | 589 | label_issue_category_new: Nouvelle catΓ©gorie |
|
589 | 590 | label_custom_field: Champ personnalisΓ© |
|
590 | 591 | label_custom_field_plural: Champs personnalisΓ©s |
|
591 | 592 | label_custom_field_new: Nouveau champ personnalisΓ© |
|
592 | 593 | label_enumerations: Listes de valeurs |
|
593 | 594 | label_enumeration_new: Nouvelle valeur |
|
594 | 595 | label_information: Information |
|
595 | 596 | label_information_plural: Informations |
|
596 | 597 | label_please_login: Identification |
|
597 | 598 | label_register: S'enregistrer |
|
598 | 599 | label_login_with_open_id_option: S'authentifier avec OpenID |
|
599 | 600 | label_password_lost: Mot de passe perdu |
|
600 | 601 | label_password_required: Confirmez votre mot de passe pour continuer |
|
601 | 602 | label_home: Accueil |
|
602 | 603 | label_my_page: Ma page |
|
603 | 604 | label_my_account: Mon compte |
|
604 | 605 | label_my_projects: Mes projets |
|
605 | 606 | label_my_page_block: Blocs disponibles |
|
606 | 607 | label_administration: Administration |
|
607 | 608 | label_login: Connexion |
|
608 | 609 | label_logout: DΓ©connexion |
|
609 | 610 | label_help: Aide |
|
610 | 611 | label_reported_issues: Demandes soumises |
|
611 | 612 | label_assigned_issues: Demandes assignΓ©es |
|
612 | 613 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es |
|
613 | 614 | label_last_login: Dernière connexion |
|
614 | 615 | label_registered_on: Inscrit le |
|
615 | 616 | label_activity: ActivitΓ© |
|
616 | 617 | label_overall_activity: ActivitΓ© globale |
|
617 | 618 | label_user_activity: "ActivitΓ© de %{value}" |
|
618 | 619 | label_new: Nouveau |
|
619 | 620 | label_logged_as: ConnectΓ© en tant que |
|
620 | 621 | label_environment: Environnement |
|
621 | 622 | label_authentication: Authentification |
|
622 | 623 | label_auth_source: Mode d'authentification |
|
623 | 624 | label_auth_source_new: Nouveau mode d'authentification |
|
624 | 625 | label_auth_source_plural: Modes d'authentification |
|
625 | 626 | label_subproject_plural: Sous-projets |
|
626 | 627 | label_subproject_new: Nouveau sous-projet |
|
627 | 628 | label_and_its_subprojects: "%{value} et ses sous-projets" |
|
628 | 629 | label_min_max_length: Longueurs mini - maxi |
|
629 | 630 | label_list: Liste |
|
630 | 631 | label_date: Date |
|
631 | 632 | label_integer: Entier |
|
632 | 633 | label_float: Nombre dΓ©cimal |
|
633 | 634 | label_boolean: BoolΓ©en |
|
634 | 635 | label_string: Texte |
|
635 | 636 | label_text: Texte long |
|
636 | 637 | label_attribute: Attribut |
|
637 | 638 | label_attribute_plural: Attributs |
|
638 | 639 | label_no_data: Aucune donnΓ©e Γ afficher |
|
639 | 640 | label_change_status: Changer le statut |
|
640 | 641 | label_history: Historique |
|
641 | 642 | label_attachment: Fichier |
|
642 | 643 | label_attachment_new: Nouveau fichier |
|
643 | 644 | label_attachment_delete: Supprimer le fichier |
|
644 | 645 | label_attachment_plural: Fichiers |
|
645 | 646 | label_file_added: Fichier ajoutΓ© |
|
646 | 647 | label_report: Rapport |
|
647 | 648 | label_report_plural: Rapports |
|
648 | 649 | label_news: Annonce |
|
649 | 650 | label_news_new: Nouvelle annonce |
|
650 | 651 | label_news_plural: Annonces |
|
651 | 652 | label_news_latest: Dernières annonces |
|
652 | 653 | label_news_view_all: Voir toutes les annonces |
|
653 | 654 | label_news_added: Annonce ajoutΓ©e |
|
654 | 655 | label_news_comment_added: Commentaire ajoutΓ© Γ une annonce |
|
655 | 656 | label_settings: Configuration |
|
656 | 657 | label_overview: AperΓ§u |
|
657 | 658 | label_version: Version |
|
658 | 659 | label_version_new: Nouvelle version |
|
659 | 660 | label_version_plural: Versions |
|
660 | 661 | label_close_versions: Fermer les versions terminΓ©es |
|
661 | 662 | label_confirmation: Confirmation |
|
662 | 663 | label_export_to: 'Formats disponibles :' |
|
663 | 664 | label_read: Lire... |
|
664 | 665 | label_public_projects: Projets publics |
|
665 | 666 | label_open_issues: ouvert |
|
666 | 667 | label_open_issues_plural: ouverts |
|
667 | 668 | label_closed_issues: fermΓ© |
|
668 | 669 | label_closed_issues_plural: fermΓ©s |
|
669 | 670 | label_x_open_issues_abbr: |
|
670 | 671 | zero: 0 ouverte |
|
671 | 672 | one: 1 ouverte |
|
672 | 673 | other: "%{count} ouvertes" |
|
673 | 674 | label_x_closed_issues_abbr: |
|
674 | 675 | zero: 0 fermΓ©e |
|
675 | 676 | one: 1 fermΓ©e |
|
676 | 677 | other: "%{count} fermΓ©es" |
|
677 | 678 | label_x_issues: |
|
678 | 679 | zero: 0 demande |
|
679 | 680 | one: 1 demande |
|
680 | 681 | other: "%{count} demandes" |
|
681 | 682 | label_total: Total |
|
682 | 683 | label_total_plural: Totaux |
|
683 | 684 | label_total_time: Temps total |
|
684 | 685 | label_permissions: Permissions |
|
685 | 686 | label_current_status: Statut actuel |
|
686 | 687 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s |
|
687 | 688 | label_all: tous |
|
688 | 689 | label_any: tous |
|
689 | 690 | label_none: aucun |
|
690 | 691 | label_nobody: personne |
|
691 | 692 | label_next: Suivant |
|
692 | 693 | label_previous: PrΓ©cΓ©dent |
|
693 | 694 | label_used_by: UtilisΓ© par |
|
694 | 695 | label_details: DΓ©tails |
|
695 | 696 | label_add_note: Ajouter une note |
|
696 | 697 | label_calendar: Calendrier |
|
697 | 698 | label_months_from: mois depuis |
|
698 | 699 | label_gantt: Gantt |
|
699 | 700 | label_internal: Interne |
|
700 | 701 | label_last_changes: "%{count} derniers changements" |
|
701 | 702 | label_change_view_all: Voir tous les changements |
|
702 | 703 | label_personalize_page: Personnaliser cette page |
|
703 | 704 | label_comment: Commentaire |
|
704 | 705 | label_comment_plural: Commentaires |
|
705 | 706 | label_x_comments: |
|
706 | 707 | zero: aucun commentaire |
|
707 | 708 | one: un commentaire |
|
708 | 709 | other: "%{count} commentaires" |
|
709 | 710 | label_comment_add: Ajouter un commentaire |
|
710 | 711 | label_comment_added: Commentaire ajoutΓ© |
|
711 | 712 | label_comment_delete: Supprimer les commentaires |
|
712 | 713 | label_query: Rapport personnalisΓ© |
|
713 | 714 | label_query_plural: Rapports personnalisΓ©s |
|
714 | 715 | label_query_new: Nouveau rapport |
|
715 | 716 | label_my_queries: Mes rapports personnalisΓ©s |
|
716 | 717 | label_filter_add: Ajouter le filtre |
|
717 | 718 | label_filter_plural: Filtres |
|
718 | 719 | label_equals: Γ©gal |
|
719 | 720 | label_not_equals: diffΓ©rent |
|
720 | 721 | label_in_less_than: dans moins de |
|
721 | 722 | label_in_more_than: dans plus de |
|
722 | 723 | label_in_the_next_days: dans les prochains jours |
|
723 | 724 | label_in_the_past_days: dans les derniers jours |
|
724 | 725 | label_greater_or_equal: '>=' |
|
725 | 726 | label_less_or_equal: '<=' |
|
726 | 727 | label_between: entre |
|
727 | 728 | label_in: dans |
|
728 | 729 | label_today: aujourd'hui |
|
729 | 730 | label_all_time: toute la pΓ©riode |
|
730 | 731 | label_yesterday: hier |
|
731 | 732 | label_this_week: cette semaine |
|
732 | 733 | label_last_week: la semaine dernière |
|
733 | 734 | label_last_n_weeks: "les %{count} dernières semaines" |
|
734 | 735 | label_last_n_days: "les %{count} derniers jours" |
|
735 | 736 | label_this_month: ce mois-ci |
|
736 | 737 | label_last_month: le mois dernier |
|
737 | 738 | label_this_year: cette annΓ©e |
|
738 | 739 | label_date_range: PΓ©riode |
|
739 | 740 | label_less_than_ago: il y a moins de |
|
740 | 741 | label_more_than_ago: il y a plus de |
|
741 | 742 | label_ago: il y a |
|
742 | 743 | label_contains: contient |
|
743 | 744 | label_not_contains: ne contient pas |
|
744 | 745 | label_any_issues_in_project: une demande du projet |
|
745 | 746 | label_any_issues_not_in_project: une demande hors du projet |
|
746 | 747 | label_no_issues_in_project: aucune demande du projet |
|
747 | 748 | label_any_open_issues: une demande ouverte |
|
748 | 749 | label_no_open_issues: aucune demande ouverte |
|
749 | 750 | label_day_plural: jours |
|
750 | 751 | label_repository: DΓ©pΓ΄t |
|
751 | 752 | label_repository_new: Nouveau dΓ©pΓ΄t |
|
752 | 753 | label_repository_plural: DΓ©pΓ΄ts |
|
753 | 754 | label_browse: Parcourir |
|
754 | 755 | label_branch: Branche |
|
755 | 756 | label_tag: Tag |
|
756 | 757 | label_revision: RΓ©vision |
|
757 | 758 | label_revision_plural: RΓ©visions |
|
758 | 759 | label_revision_id: "RΓ©vision %{value}" |
|
759 | 760 | label_associated_revisions: RΓ©visions associΓ©es |
|
760 | 761 | label_added: ajoutΓ© |
|
761 | 762 | label_modified: modifiΓ© |
|
762 | 763 | label_copied: copiΓ© |
|
763 | 764 | label_renamed: renommΓ© |
|
764 | 765 | label_deleted: supprimΓ© |
|
765 | 766 | label_latest_revision: Dernière révision |
|
766 | 767 | label_latest_revision_plural: Dernières révisions |
|
767 | 768 | label_view_revisions: Voir les rΓ©visions |
|
768 | 769 | label_view_all_revisions: Voir toutes les rΓ©visions |
|
769 | 770 | label_max_size: Taille maximale |
|
770 | 771 | label_sort_highest: Remonter en premier |
|
771 | 772 | label_sort_higher: Remonter |
|
772 | 773 | label_sort_lower: Descendre |
|
773 | 774 | label_sort_lowest: Descendre en dernier |
|
774 | 775 | label_roadmap: Roadmap |
|
775 | 776 | label_roadmap_due_in: "ΓchΓ©ance dans %{value}" |
|
776 | 777 | label_roadmap_overdue: "En retard de %{value}" |
|
777 | 778 | label_roadmap_no_issues: Aucune demande pour cette version |
|
778 | 779 | label_search: Recherche |
|
779 | 780 | label_result_plural: RΓ©sultats |
|
780 | 781 | label_all_words: Tous les mots |
|
781 | 782 | label_wiki: Wiki |
|
782 | 783 | label_wiki_edit: RΓ©vision wiki |
|
783 | 784 | label_wiki_edit_plural: RΓ©visions wiki |
|
784 | 785 | label_wiki_page: Page wiki |
|
785 | 786 | label_wiki_page_plural: Pages wiki |
|
786 | 787 | label_wiki_page_new: Nouvelle page wiki |
|
787 | 788 | label_index_by_title: Index par titre |
|
788 | 789 | label_index_by_date: Index par date |
|
789 | 790 | label_current_version: Version actuelle |
|
790 | 791 | label_preview: PrΓ©visualisation |
|
791 | 792 | label_feed_plural: Flux Atom |
|
792 | 793 | label_changes_details: DΓ©tails de tous les changements |
|
793 | 794 | label_issue_tracking: Suivi des demandes |
|
794 | 795 | label_spent_time: Temps passΓ© |
|
795 | 796 | label_total_spent_time: Temps passΓ© total |
|
796 | 797 | label_overall_spent_time: Temps passΓ© global |
|
797 | 798 | label_f_hour: "%{value} heure" |
|
798 | 799 | label_f_hour_plural: "%{value} heures" |
|
799 | 800 | label_f_hour_short: "%{value} h" |
|
800 | 801 | label_time_tracking: Suivi du temps |
|
801 | 802 | label_change_plural: Changements |
|
802 | 803 | label_statistics: Statistiques |
|
803 | 804 | label_commits_per_month: Commits par mois |
|
804 | 805 | label_commits_per_author: Commits par auteur |
|
805 | 806 | label_diff: diff |
|
806 | 807 | label_view_diff: Voir les diffΓ©rences |
|
807 | 808 | label_diff_inline: en ligne |
|
808 | 809 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te |
|
809 | 810 | label_options: Options |
|
810 | 811 | label_copy_workflow_from: Copier le workflow de |
|
811 | 812 | label_permissions_report: Synthèse des permissions |
|
812 | 813 | label_watched_issues: Demandes surveillΓ©es |
|
813 | 814 | label_related_issues: Demandes liΓ©es |
|
814 | 815 | label_applied_status: Statut appliquΓ© |
|
815 | 816 | label_loading: Chargement... |
|
816 | 817 | label_relation_new: Nouvelle relation |
|
817 | 818 | label_relation_delete: Supprimer la relation |
|
818 | 819 | label_relates_to: LiΓ© Γ |
|
819 | 820 | label_duplicates: Duplique |
|
820 | 821 | label_duplicated_by: DupliquΓ© par |
|
821 | 822 | label_blocks: Bloque |
|
822 | 823 | label_blocked_by: BloquΓ© par |
|
823 | 824 | label_precedes: Précède |
|
824 | 825 | label_follows: Suit |
|
825 | 826 | label_copied_to: CopiΓ© vers |
|
826 | 827 | label_copied_from: CopiΓ© depuis |
|
827 | 828 | label_stay_logged_in: Rester connectΓ© |
|
828 | 829 | label_disabled: dΓ©sactivΓ© |
|
829 | 830 | label_show_completed_versions: Voir les versions passΓ©es |
|
830 | 831 | label_me: moi |
|
831 | 832 | label_board: Forum |
|
832 | 833 | label_board_new: Nouveau forum |
|
833 | 834 | label_board_plural: Forums |
|
834 | 835 | label_board_locked: VerrouillΓ© |
|
835 | 836 | label_board_sticky: Sticky |
|
836 | 837 | label_topic_plural: Discussions |
|
837 | 838 | label_message_plural: Messages |
|
838 | 839 | label_message_last: Dernier message |
|
839 | 840 | label_message_new: Nouveau message |
|
840 | 841 | label_message_posted: Message ajoutΓ© |
|
841 | 842 | label_reply_plural: RΓ©ponses |
|
842 | 843 | label_send_information: Envoyer les informations Γ l'utilisateur |
|
843 | 844 | label_year: AnnΓ©e |
|
844 | 845 | label_month: Mois |
|
845 | 846 | label_week: Semaine |
|
846 | 847 | label_date_from: Du |
|
847 | 848 | label_date_to: Au |
|
848 | 849 | label_language_based: BasΓ© sur la langue de l'utilisateur |
|
849 | 850 | label_sort_by: "Trier par %{value}" |
|
850 | 851 | label_send_test_email: Envoyer un email de test |
|
851 | 852 | label_feeds_access_key: Clé d'accès Atom |
|
852 | 853 | label_missing_feeds_access_key: Clé d'accès Atom manquante |
|
853 | 854 | label_feeds_access_key_created_on: "Clé d'accès Atom créée il y a %{value}" |
|
854 | 855 | label_module_plural: Modules |
|
855 | 856 | label_added_time_by: "AjoutΓ© par %{author} il y a %{age}" |
|
856 | 857 | label_updated_time_by: "Mis Γ jour par %{author} il y a %{age}" |
|
857 | 858 | label_updated_time: "Mis Γ jour il y a %{value}" |
|
858 | 859 | label_jump_to_a_project: Aller Γ un projet... |
|
859 | 860 | label_file_plural: Fichiers |
|
860 | 861 | label_changeset_plural: RΓ©visions |
|
861 | 862 | label_default_columns: Colonnes par dΓ©faut |
|
862 | 863 | label_no_change_option: (Pas de changement) |
|
863 | 864 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es |
|
864 | 865 | label_bulk_edit_selected_time_entries: Modifier les temps passΓ©s sΓ©lectionnΓ©s |
|
865 | 866 | label_theme: Thème |
|
866 | 867 | label_default: DΓ©faut |
|
867 | 868 | label_search_titles_only: Uniquement dans les titres |
|
868 | 869 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" |
|
869 | 870 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." |
|
870 | 871 | label_user_mail_option_none: Aucune notification |
|
871 | 872 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille |
|
872 | 873 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© |
|
873 | 874 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé |
|
874 | 875 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" |
|
875 | 876 | label_registration_activation_by_email: activation du compte par email |
|
876 | 877 | label_registration_manual_activation: activation manuelle du compte |
|
877 | 878 | label_registration_automatic_activation: activation automatique du compte |
|
878 | 879 | label_display_per_page: "Par page : %{value}" |
|
879 | 880 | label_age: Γge |
|
880 | 881 | label_change_properties: Changer les propriΓ©tΓ©s |
|
881 | 882 | label_general: GΓ©nΓ©ral |
|
882 | 883 | label_more: Plus |
|
883 | 884 | label_scm: SCM |
|
884 | 885 | label_plugins: Plugins |
|
885 | 886 | label_ldap_authentication: Authentification LDAP |
|
886 | 887 | label_downloads_abbr: D/L |
|
887 | 888 | label_optional_description: Description facultative |
|
888 | 889 | label_add_another_file: Ajouter un autre fichier |
|
889 | 890 | label_preferences: PrΓ©fΓ©rences |
|
890 | 891 | label_chronological_order: Dans l'ordre chronologique |
|
891 | 892 | label_reverse_chronological_order: Dans l'ordre chronologique inverse |
|
892 | 893 | label_planning: Planning |
|
893 | 894 | label_incoming_emails: Emails entrants |
|
894 | 895 | label_generate_key: GΓ©nΓ©rer une clΓ© |
|
895 | 896 | label_issue_watchers: Observateurs |
|
896 | 897 | label_example: Exemple |
|
897 | 898 | label_display: Affichage |
|
898 | 899 | label_sort: Tri |
|
899 | 900 | label_ascending: Croissant |
|
900 | 901 | label_descending: DΓ©croissant |
|
901 | 902 | label_date_from_to: Du %{start} au %{end} |
|
902 | 903 | label_wiki_content_added: Page wiki ajoutΓ©e |
|
903 | 904 | label_wiki_content_updated: Page wiki mise Γ jour |
|
904 | 905 | label_group: Groupe |
|
905 | 906 | label_group_plural: Groupes |
|
906 | 907 | label_group_new: Nouveau groupe |
|
907 | 908 | label_group_anonymous: Utilisateurs anonymes |
|
908 | 909 | label_group_non_member: Utilisateurs non membres |
|
909 | 910 | label_time_entry_plural: Temps passΓ© |
|
910 | 911 | label_version_sharing_none: Non partagΓ© |
|
911 | 912 | label_version_sharing_descendants: Avec les sous-projets |
|
912 | 913 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie |
|
913 | 914 | label_version_sharing_tree: Avec tout l'arbre |
|
914 | 915 | label_version_sharing_system: Avec tous les projets |
|
915 | 916 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes |
|
916 | 917 | label_copy_source: Source |
|
917 | 918 | label_copy_target: Cible |
|
918 | 919 | label_copy_same_as_target: Comme la cible |
|
919 | 920 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker |
|
920 | 921 | label_api_access_key: Clé d'accès API |
|
921 | 922 | label_missing_api_access_key: Clé d'accès API manquante |
|
922 | 923 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} |
|
923 | 924 | label_profile: Profil |
|
924 | 925 | label_subtask_plural: Sous-tΓ’ches |
|
925 | 926 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet |
|
926 | 927 | label_principal_search: "Rechercher un utilisateur ou un groupe :" |
|
927 | 928 | label_user_search: "Rechercher un utilisateur :" |
|
928 | 929 | label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande |
|
929 | 930 | label_additional_workflow_transitions_for_assignee: Autorisations supplΓ©mentaires lorsque la demande est assignΓ©e Γ l'utilisateur |
|
930 | 931 | label_issues_visibility_all: Toutes les demandes |
|
931 | 932 | label_issues_visibility_public: Toutes les demandes non privΓ©es |
|
932 | 933 | label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur |
|
933 | 934 | label_git_report_last_commit: Afficher le dernier commit des fichiers et rΓ©pertoires |
|
934 | 935 | label_parent_revision: Parent |
|
935 | 936 | label_child_revision: Enfant |
|
936 | 937 | label_export_options: Options d'exportation %{export_format} |
|
937 | 938 | label_copy_attachments: Copier les fichiers |
|
938 | 939 | label_copy_subtasks: Copier les sous-tΓ’ches |
|
939 | 940 | label_item_position: "%{position} sur %{count}" |
|
940 | 941 | label_completed_versions: Versions passΓ©es |
|
941 | 942 | label_search_for_watchers: Rechercher des observateurs |
|
942 | 943 | label_session_expiration: Expiration des sessions |
|
943 | 944 | label_show_closed_projects: Voir les projets fermΓ©s |
|
944 | 945 | label_status_transitions: Changements de statut |
|
945 | 946 | label_fields_permissions: Permissions sur les champs |
|
946 | 947 | label_readonly: Lecture |
|
947 | 948 | label_required: Obligatoire |
|
948 | 949 | label_hidden: CachΓ© |
|
949 | 950 | label_attribute_of_project: "%{name} du projet" |
|
950 | 951 | label_attribute_of_issue: "%{name} de la demande" |
|
951 | 952 | label_attribute_of_author: "%{name} de l'auteur" |
|
952 | 953 | label_attribute_of_assigned_to: "%{name} de l'assignΓ©" |
|
953 | 954 | label_attribute_of_user: "%{name} de l'utilisateur" |
|
954 | 955 | label_attribute_of_fixed_version: "%{name} de la version cible" |
|
955 | 956 | label_cross_project_descendants: Avec les sous-projets |
|
956 | 957 | label_cross_project_tree: Avec tout l'arbre |
|
957 | 958 | label_cross_project_hierarchy: Avec toute la hiΓ©rarchie |
|
958 | 959 | label_cross_project_system: Avec tous les projets |
|
959 | 960 | label_gantt_progress_line: Ligne de progression |
|
960 | 961 | label_visibility_private: par moi uniquement |
|
961 | 962 | label_visibility_roles: par ces rΓ΄les uniquement |
|
962 | 963 | label_visibility_public: par tout le monde |
|
963 | 964 | label_link: Lien |
|
964 | 965 | label_only: seulement |
|
965 | 966 | label_drop_down_list: liste dΓ©roulante |
|
966 | 967 | label_checkboxes: cases Γ cocher |
|
967 | 968 | label_radio_buttons: boutons radio |
|
968 | 969 | label_link_values_to: Lier les valeurs vers l'URL |
|
969 | 970 | label_custom_field_select_type: Selectionner le type d'objet auquel attacher le champ personnalisΓ© |
|
970 | 971 | label_check_for_updates: VΓ©rifier les mises Γ jour |
|
971 | 972 | label_latest_compatible_version: Dernière version compatible |
|
972 | 973 | label_unknown_plugin: Plugin inconnu |
|
973 | 974 | label_add_projects: Ajouter des projets |
|
974 | 975 | label_users_visibility_all: Tous les utilisateurs actifs |
|
975 | 976 | label_users_visibility_members_of_visible_projects: Membres des projets visibles |
|
976 | 977 | label_edit_attachments: Modifier les fichiers attachΓ©s |
|
977 | 978 | label_link_copied_issue: Lier la demande copiΓ©e |
|
978 | 979 | label_ask: Demander |
|
979 | 980 | label_search_attachments_yes: Rechercher les noms et descriptions de fichiers |
|
980 | 981 | label_search_attachments_no: Ne pas rechercher les fichiers |
|
981 | 982 | label_search_attachments_only: Rechercher les fichiers uniquement |
|
982 | 983 | label_search_open_issues_only: Demandes ouvertes uniquement |
|
983 | 984 | label_email_address_plural: Emails |
|
984 | 985 | label_email_address_add: Ajouter une adresse email |
|
985 | 986 | label_enable_notifications: Activer les notifications |
|
986 | 987 | label_disable_notifications: DΓ©sactiver les notifications |
|
987 | 988 | label_blank_value: non renseignΓ© |
|
988 | 989 | label_parent_task_attributes: Attributs des tΓ’ches parentes |
|
989 | 990 | label_time_entries_visibility_all: Tous les temps passΓ©s |
|
990 | 991 | label_time_entries_visibility_own: Ses propres temps passΓ©s |
|
991 | 992 | label_member_management: Gestion des membres |
|
992 | 993 | label_member_management_all_roles: Tous les rΓ΄les |
|
993 | 994 | label_member_management_selected_roles_only: Ces rΓ΄les uniquement |
|
994 | 995 | label_import_issues: Importer des demandes |
|
995 | 996 | label_select_file_to_import: SΓ©lectionner le fichier Γ importer |
|
996 | 997 | label_fields_separator: SΓ©parateur de champs |
|
997 | 998 | label_fields_wrapper: DΓ©limiteur de texte |
|
998 | 999 | label_encoding: Encodage |
|
999 | 1000 | label_comma_char: Virgule |
|
1000 | 1001 | label_semi_colon_char: Point virgule |
|
1001 | 1002 | label_quote_char: Apostrophe |
|
1002 | 1003 | label_double_quote_char: Double apostrophe |
|
1003 | 1004 | label_fields_mapping: Correspondance des champs |
|
1004 | 1005 | label_file_content_preview: AperΓ§u du contenu du fichier |
|
1005 | 1006 | label_create_missing_values: CrΓ©er les valeurs manquantes |
|
1006 | 1007 | label_api: API |
|
1007 | 1008 | label_field_format_enumeration: Liste clΓ©/valeur |
|
1008 | 1009 | label_default_values_for_new_users: Valeurs par dΓ©faut pour les nouveaux utilisateurs |
|
1009 | 1010 | label_relations: Relations |
|
1010 | 1011 | label_new_project_issue_tab_enabled: Afficher l'onglet "Nouvelle demande" |
|
1011 | 1012 | label_new_object_tab_enabled: Afficher le menu dΓ©roulant "+" |
|
1012 | 1013 | label_table_of_contents: Contenu |
|
1013 | 1014 | label_font_default: Police par dΓ©faut |
|
1014 | 1015 | label_font_monospace: Police non proportionnelle |
|
1015 | 1016 | label_font_proportional: Police proportionnelle |
|
1016 | 1017 | |
|
1017 | 1018 | button_login: Connexion |
|
1018 | 1019 | button_submit: Soumettre |
|
1019 | 1020 | button_save: Sauvegarder |
|
1020 | 1021 | button_check_all: Tout cocher |
|
1021 | 1022 | button_uncheck_all: Tout dΓ©cocher |
|
1022 | 1023 | button_collapse_all: Plier tout |
|
1023 | 1024 | button_expand_all: DΓ©plier tout |
|
1024 | 1025 | button_delete: Supprimer |
|
1025 | 1026 | button_create: CrΓ©er |
|
1026 | 1027 | button_create_and_continue: CrΓ©er et continuer |
|
1027 | 1028 | button_test: Tester |
|
1028 | 1029 | button_edit: Modifier |
|
1029 | 1030 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}" |
|
1030 | 1031 | button_add: Ajouter |
|
1031 | 1032 | button_change: Changer |
|
1032 | 1033 | button_apply: Appliquer |
|
1033 | 1034 | button_clear: Effacer |
|
1034 | 1035 | button_lock: Verrouiller |
|
1035 | 1036 | button_unlock: DΓ©verrouiller |
|
1036 | 1037 | button_download: TΓ©lΓ©charger |
|
1037 | 1038 | button_list: Lister |
|
1038 | 1039 | button_view: Voir |
|
1039 | 1040 | button_move: DΓ©placer |
|
1040 | 1041 | button_move_and_follow: DΓ©placer et suivre |
|
1041 | 1042 | button_back: Retour |
|
1042 | 1043 | button_cancel: Annuler |
|
1043 | 1044 | button_activate: Activer |
|
1044 | 1045 | button_sort: Trier |
|
1045 | 1046 | button_log_time: Saisir temps |
|
1046 | 1047 | button_rollback: Revenir Γ cette version |
|
1047 | 1048 | button_watch: Surveiller |
|
1048 | 1049 | button_unwatch: Ne plus surveiller |
|
1049 | 1050 | button_reply: RΓ©pondre |
|
1050 | 1051 | button_archive: Archiver |
|
1051 | 1052 | button_unarchive: DΓ©sarchiver |
|
1052 | 1053 | button_reset: RΓ©initialiser |
|
1053 | 1054 | button_rename: Renommer |
|
1054 | 1055 | button_change_password: Changer de mot de passe |
|
1055 | 1056 | button_copy: Copier |
|
1056 | 1057 | button_copy_and_follow: Copier et suivre |
|
1057 | 1058 | button_annotate: Annoter |
|
1058 | 1059 | button_update: Mettre Γ jour |
|
1059 | 1060 | button_configure: Configurer |
|
1060 | 1061 | button_quote: Citer |
|
1061 | 1062 | button_duplicate: Dupliquer |
|
1062 | 1063 | button_show: Afficher |
|
1063 | 1064 | button_hide: Cacher |
|
1064 | 1065 | button_edit_section: Modifier cette section |
|
1065 | 1066 | button_export: Exporter |
|
1066 | 1067 | button_delete_my_account: Supprimer mon compte |
|
1067 | 1068 | button_close: Fermer |
|
1068 | 1069 | button_reopen: RΓ©ouvrir |
|
1069 | 1070 | button_import: Importer |
|
1070 | 1071 | button_filter: Filtrer |
|
1071 | 1072 | |
|
1072 | 1073 | status_active: actif |
|
1073 | 1074 | status_registered: enregistrΓ© |
|
1074 | 1075 | status_locked: verrouillΓ© |
|
1075 | 1076 | |
|
1076 | 1077 | project_status_active: actif |
|
1077 | 1078 | project_status_closed: fermΓ© |
|
1078 | 1079 | project_status_archived: archivΓ© |
|
1079 | 1080 | |
|
1080 | 1081 | version_status_open: ouvert |
|
1081 | 1082 | version_status_locked: verrouillΓ© |
|
1082 | 1083 | version_status_closed: fermΓ© |
|
1083 | 1084 | |
|
1084 | 1085 | field_active: Actif |
|
1085 | 1086 | |
|
1086 | 1087 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e |
|
1087 | 1088 | text_regexp_info: ex. ^[A-Z0-9]+$ |
|
1088 | 1089 | text_min_max_length_info: 0 pour aucune restriction |
|
1089 | 1090 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? |
|
1090 | 1091 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s." |
|
1091 | 1092 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow |
|
1092 | 1093 | text_are_you_sure: Γtes-vous sΓ»r ? |
|
1093 | 1094 | text_journal_changed: "%{label} changΓ© de %{old} Γ %{new}" |
|
1094 | 1095 | text_journal_changed_no_detail: "%{label} mis Γ jour" |
|
1095 | 1096 | text_journal_set_to: "%{label} mis Γ %{value}" |
|
1096 | 1097 | text_journal_deleted: "%{label} %{old} supprimΓ©" |
|
1097 | 1098 | text_journal_added: "%{label} %{value} ajoutΓ©" |
|
1098 | 1099 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour |
|
1099 | 1100 | text_tip_issue_end_day: tΓ’che finissant ce jour |
|
1100 | 1101 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour |
|
1101 | 1102 | 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Γ©.' |
|
1102 | 1103 | text_caracters_maximum: "%{count} caractères maximum." |
|
1103 | 1104 | text_caracters_minimum: "%{count} caractères minimum." |
|
1104 | 1105 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." |
|
1105 | 1106 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker |
|
1106 | 1107 | text_unallowed_characters: Caractères non autorisés |
|
1107 | 1108 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). |
|
1108 | 1109 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). |
|
1109 | 1110 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits |
|
1110 | 1111 | text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}." |
|
1111 | 1112 | text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ jour par %{author}." |
|
1112 | 1113 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? |
|
1113 | 1114 | text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ cette catΓ©gorie. Que voulez-vous faire ?" |
|
1114 | 1115 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie |
|
1115 | 1116 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie |
|
1116 | 1117 | 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)." |
|
1117 | 1118 | 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Γ©." |
|
1118 | 1119 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut |
|
1119 | 1120 | text_status_changed_by_changeset: "AppliquΓ© par commit %{value}." |
|
1120 | 1121 | text_time_logged_by_changeset: "AppliquΓ© par commit %{value}" |
|
1121 | 1122 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer la ou les demandes(s) selectionnΓ©e(s) ?' |
|
1122 | 1123 | text_issues_destroy_descendants_confirmation: "Cela entrainera Γ©galement la suppression de %{count} sous-tΓ’che(s)." |
|
1123 | 1124 | text_time_entries_destroy_confirmation: "Etes-vous sΓ»r de vouloir supprimer les temps passΓ©s sΓ©lectionnΓ©s ?" |
|
1124 | 1125 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' |
|
1125 | 1126 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© |
|
1126 | 1127 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture |
|
1127 | 1128 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture |
|
1128 | 1129 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) |
|
1129 | 1130 | text_convert_available: Binaire convert de ImageMagick prΓ©sent (optionel) |
|
1130 | 1131 | text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" |
|
1131 | 1132 | text_destroy_time_entries: Supprimer les heures |
|
1132 | 1133 | text_assign_time_entries_to_project: Reporter les heures sur le projet |
|
1133 | 1134 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' |
|
1134 | 1135 | text_user_wrote: "%{value} a Γ©crit :" |
|
1135 | 1136 | text_enumeration_destroy_question: "La valeur Β« %{name} Β» est affectΓ©e Γ %{count} objet(s)." |
|
1136 | 1137 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' |
|
1137 | 1138 | 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." |
|
1138 | 1139 | 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." |
|
1139 | 1140 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' |
|
1140 | 1141 | text_custom_field_possible_values_info: 'Une ligne par valeur' |
|
1141 | 1142 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" |
|
1142 | 1143 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" |
|
1143 | 1144 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" |
|
1144 | 1145 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" |
|
1145 | 1146 | 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 ?" |
|
1146 | 1147 | text_zoom_in: Zoom avant |
|
1147 | 1148 | text_zoom_out: Zoom arrière |
|
1148 | 1149 | text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page." |
|
1149 | 1150 | text_scm_path_encoding_note: "DΓ©faut : UTF-8" |
|
1150 | 1151 | text_subversion_repository_note: "Exemples (en fonction des protocoles supportΓ©s) : file:///, http://, https://, svn://, svn+[tunnelscheme]://" |
|
1151 | 1152 | text_git_repository_note: "Chemin vers un dΓ©pΓ΄t vide et local (exemples : /gitrepo, c:\\gitrepo)" |
|
1152 | 1153 | text_mercurial_repository_note: "Chemin vers un dΓ©pΓ΄t local (exemples : /hgrepo, c:\\hgrepo)" |
|
1153 | 1154 | text_scm_command: Commande |
|
1154 | 1155 | text_scm_command_version: Version |
|
1155 | 1156 | text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification. |
|
1156 | 1157 | text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration. |
|
1157 | 1158 | 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)" |
|
1158 | 1159 | text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements" |
|
1159 | 1160 | text_issue_conflict_resolution_cancel: "Annuler ma mise Γ jour et rΓ©afficher %{link}" |
|
1160 | 1161 | text_account_destroy_confirmation: "Γtes-vous sΓ»r de vouloir continuer ?\nVotre compte sera dΓ©finitivement supprimΓ©, sans aucune possibilitΓ© de le rΓ©activer." |
|
1161 | 1162 | 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." |
|
1162 | 1163 | text_project_closed: Ce projet est fermΓ© et accessible en lecture seule. |
|
1163 | 1164 | 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." |
|
1164 | 1165 | |
|
1165 | 1166 | default_role_manager: Manager |
|
1166 | 1167 | default_role_developer: DΓ©veloppeur |
|
1167 | 1168 | default_role_reporter: Rapporteur |
|
1168 | 1169 | default_tracker_bug: Anomalie |
|
1169 | 1170 | default_tracker_feature: Evolution |
|
1170 | 1171 | default_tracker_support: Assistance |
|
1171 | 1172 | default_issue_status_new: Nouveau |
|
1172 | 1173 | default_issue_status_in_progress: En cours |
|
1173 | 1174 | default_issue_status_resolved: RΓ©solu |
|
1174 | 1175 | default_issue_status_feedback: Commentaire |
|
1175 | 1176 | default_issue_status_closed: FermΓ© |
|
1176 | 1177 | default_issue_status_rejected: RejetΓ© |
|
1177 | 1178 | default_doc_category_user: Documentation utilisateur |
|
1178 | 1179 | default_doc_category_tech: Documentation technique |
|
1179 | 1180 | default_priority_low: Bas |
|
1180 | 1181 | default_priority_normal: Normal |
|
1181 | 1182 | default_priority_high: Haut |
|
1182 | 1183 | default_priority_urgent: Urgent |
|
1183 | 1184 | default_priority_immediate: ImmΓ©diat |
|
1184 | 1185 | default_activity_design: Conception |
|
1185 | 1186 | default_activity_development: DΓ©veloppement |
|
1186 | 1187 | |
|
1187 | 1188 | enumeration_issue_priorities: PrioritΓ©s des demandes |
|
1188 | 1189 | enumeration_doc_categories: CatΓ©gories des documents |
|
1189 | 1190 | enumeration_activities: ActivitΓ©s (suivi du temps) |
|
1190 | 1191 | enumeration_system_activity: Activité système |
|
1191 | 1192 | description_filter: Filtre |
|
1192 | 1193 | description_search: Champ de recherche |
|
1193 | 1194 | description_choose_project: Projets |
|
1194 | 1195 | description_project_scope: Périmètre de recherche |
|
1195 | 1196 | description_notes: Notes |
|
1196 | 1197 | description_message_content: Contenu du message |
|
1197 | 1198 | description_query_sort_criteria_attribute: Critère de tri |
|
1198 | 1199 | description_query_sort_criteria_direction: Ordre de tri |
|
1199 | 1200 | description_user_mail_notification: Option de notification |
|
1200 | 1201 | description_available_columns: Colonnes disponibles |
|
1201 | 1202 | description_selected_columns: Colonnes sΓ©lectionnΓ©es |
|
1202 | 1203 | description_all_columns: Toutes les colonnes |
|
1203 | 1204 | description_issue_category_reassign: Choisir une catΓ©gorie |
|
1204 | 1205 | description_wiki_subpages_reassign: Choisir une nouvelle page parent |
|
1205 | 1206 | description_date_range_list: Choisir une pΓ©riode prΓ©dΓ©finie |
|
1206 | 1207 | description_date_range_interval: Choisir une pΓ©riode |
|
1207 | 1208 | description_date_from: Date de dΓ©but |
|
1208 | 1209 | description_date_to: Date de fin |
|
1209 | 1210 | 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Γ©.' |
|
1210 | 1211 | label_parent_task_attributes_derived: CalculΓ© Γ partir des sous-tΓ’ches |
|
1211 | 1212 | label_parent_task_attributes_independent: IndΓ©pendent des sous-tΓ’ches |
|
1212 | 1213 | mail_subject_security_notification: Notification de sΓ©curitΓ© |
|
1213 | 1214 | mail_body_security_notification_change: ! '%{field} modifiΓ©(e).' |
|
1214 | 1215 | mail_body_security_notification_change_to: ! '%{field} changΓ©(e) en %{value}.' |
|
1215 | 1216 | mail_body_security_notification_add: ! '%{field} %{value} ajoutΓ©(e).' |
|
1216 | 1217 | mail_body_security_notification_remove: ! '%{field} %{value} supprimΓ©(e).' |
|
1217 | 1218 | mail_body_security_notification_notify_enabled: Les notifications ont Γ©tΓ© activΓ©es pour l'adresse %{value} |
|
1218 | 1219 | mail_body_security_notification_notify_disabled: Les notifications ont Γ©tΓ© dΓ©sactivΓ©es pour l'adresse %{value} |
|
1219 | 1220 | field_remote_ip: Adresse IP |
|
1220 | 1221 | label_no_preview: No preview available |
@@ -1,281 +1,283 | |||
|
1 | 1 | # Redmine - project management software |
|
2 | 2 | # Copyright (C) 2006-2016 Jean-Philippe Lang |
|
3 | 3 | # |
|
4 | 4 | # This program is free software; you can redistribute it and/or |
|
5 | 5 | # modify it under the terms of the GNU General Public License |
|
6 | 6 | # as published by the Free Software Foundation; either version 2 |
|
7 | 7 | # of the License, or (at your option) any later version. |
|
8 | 8 | # |
|
9 | 9 | # This program is distributed in the hope that it will be useful, |
|
10 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | 12 | # GNU General Public License for more details. |
|
13 | 13 | # |
|
14 | 14 | # You should have received a copy of the GNU General Public License |
|
15 | 15 | # along with this program; if not, write to the Free Software |
|
16 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17 | 17 | |
|
18 | 18 | |
|
19 | 19 | # DO NOT MODIFY THIS FILE !!! |
|
20 | 20 | # Settings can be defined through the application in Admin -> Settings |
|
21 | 21 | |
|
22 | 22 | app_title: |
|
23 | 23 | default: Redmine |
|
24 | 24 | app_subtitle: |
|
25 | 25 | default: Project management |
|
26 | 26 | welcome_text: |
|
27 | 27 | default: |
|
28 | 28 | login_required: |
|
29 | 29 | default: 0 |
|
30 | 30 | security_notifications: 1 |
|
31 | 31 | self_registration: |
|
32 | 32 | default: '2' |
|
33 | 33 | security_notifications: 1 |
|
34 | 34 | lost_password: |
|
35 | 35 | default: 1 |
|
36 | 36 | security_notifications: 1 |
|
37 | 37 | unsubscribe: |
|
38 | 38 | default: 1 |
|
39 | 39 | password_min_length: |
|
40 | 40 | format: int |
|
41 | 41 | default: 8 |
|
42 | 42 | security_notifications: 1 |
|
43 | 43 | # Maximum password age in days |
|
44 | 44 | password_max_age: |
|
45 | 45 | format: int |
|
46 | 46 | default: 0 |
|
47 | 47 | security_notifications: 1 |
|
48 | 48 | # Maximum number of additional email addresses per user |
|
49 | 49 | max_additional_emails: |
|
50 | 50 | format: int |
|
51 | 51 | default: 5 |
|
52 | 52 | # Maximum lifetime of user sessions in minutes |
|
53 | 53 | session_lifetime: |
|
54 | 54 | format: int |
|
55 | 55 | default: 0 |
|
56 | 56 | security_notifications: 1 |
|
57 | 57 | # User session timeout in minutes |
|
58 | 58 | session_timeout: |
|
59 | 59 | format: int |
|
60 | 60 | default: 0 |
|
61 | 61 | security_notifications: 1 |
|
62 | 62 | attachment_max_size: |
|
63 | 63 | format: int |
|
64 | 64 | default: 5120 |
|
65 | 65 | attachment_extensions_allowed: |
|
66 | 66 | default: |
|
67 | 67 | attachment_extensions_denied: |
|
68 | 68 | default: |
|
69 | 69 | issues_export_limit: |
|
70 | 70 | format: int |
|
71 | 71 | default: 500 |
|
72 | 72 | activity_days_default: |
|
73 | 73 | format: int |
|
74 | 74 | default: 30 |
|
75 | 75 | per_page_options: |
|
76 | 76 | default: '25,50,100' |
|
77 | 77 | search_results_per_page: |
|
78 | 78 | default: 10 |
|
79 | 79 | mail_from: |
|
80 | 80 | default: redmine@example.net |
|
81 | 81 | bcc_recipients: |
|
82 | 82 | default: 1 |
|
83 | 83 | plain_text_mail: |
|
84 | 84 | default: 0 |
|
85 | 85 | text_formatting: |
|
86 | 86 | default: textile |
|
87 | 87 | cache_formatted_text: |
|
88 | 88 | default: 0 |
|
89 | 89 | wiki_compression: |
|
90 | 90 | default: "" |
|
91 | 91 | default_language: |
|
92 | 92 | default: en |
|
93 | 93 | force_default_language_for_anonymous: |
|
94 | 94 | default: 0 |
|
95 | 95 | force_default_language_for_loggedin: |
|
96 | 96 | default: 0 |
|
97 | 97 | host_name: |
|
98 | 98 | default: localhost:3000 |
|
99 | 99 | protocol: |
|
100 | 100 | default: http |
|
101 | 101 | security_notifications: 1 |
|
102 | 102 | feeds_limit: |
|
103 | 103 | format: int |
|
104 | 104 | default: 15 |
|
105 | 105 | gantt_items_limit: |
|
106 | 106 | format: int |
|
107 | 107 | default: 500 |
|
108 | 108 | # Maximum size of files that can be displayed |
|
109 | 109 | # inline through the file viewer (in KB) |
|
110 | 110 | file_max_size_displayed: |
|
111 | 111 | format: int |
|
112 | 112 | default: 512 |
|
113 | 113 | diff_max_lines_displayed: |
|
114 | 114 | format: int |
|
115 | 115 | default: 1500 |
|
116 | 116 | enabled_scm: |
|
117 | 117 | serialized: true |
|
118 | 118 | default: |
|
119 | 119 | - Subversion |
|
120 | 120 | - Darcs |
|
121 | 121 | - Mercurial |
|
122 | 122 | - Cvs |
|
123 | 123 | - Bazaar |
|
124 | 124 | - Git |
|
125 | 125 | security_notifications: 1 |
|
126 | 126 | autofetch_changesets: |
|
127 | 127 | default: 1 |
|
128 | 128 | sys_api_enabled: |
|
129 | 129 | default: 0 |
|
130 | 130 | security_notifications: 1 |
|
131 | 131 | sys_api_key: |
|
132 | 132 | default: '' |
|
133 | 133 | security_notifications: 1 |
|
134 | 134 | commit_cross_project_ref: |
|
135 | 135 | default: 0 |
|
136 | 136 | commit_ref_keywords: |
|
137 | 137 | default: 'refs,references,IssueID' |
|
138 | 138 | commit_update_keywords: |
|
139 | 139 | serialized: true |
|
140 | 140 | default: [] |
|
141 | 141 | commit_logtime_enabled: |
|
142 | 142 | default: 0 |
|
143 | 143 | commit_logtime_activity_id: |
|
144 | 144 | format: int |
|
145 | 145 | default: 0 |
|
146 | 146 | # autologin duration in days |
|
147 | 147 | # 0 means autologin is disabled |
|
148 | 148 | autologin: |
|
149 | 149 | format: int |
|
150 | 150 | default: 0 |
|
151 | 151 | # date format |
|
152 | 152 | date_format: |
|
153 | 153 | default: '' |
|
154 | 154 | time_format: |
|
155 | 155 | default: '' |
|
156 | 156 | timespan_format: |
|
157 | 157 | default: 'decimal' |
|
158 | 158 | user_format: |
|
159 | 159 | default: :firstname_lastname |
|
160 | 160 | format: symbol |
|
161 | 161 | cross_project_issue_relations: |
|
162 | 162 | default: 0 |
|
163 | 163 | # Enables subtasks to be in other projects |
|
164 | 164 | cross_project_subtasks: |
|
165 | 165 | default: 'tree' |
|
166 | 166 | parent_issue_dates: |
|
167 | 167 | default: 'derived' |
|
168 | 168 | parent_issue_priority: |
|
169 | 169 | default: 'derived' |
|
170 | 170 | parent_issue_done_ratio: |
|
171 | 171 | default: 'derived' |
|
172 | 172 | link_copied_issue: |
|
173 | 173 | default: 'ask' |
|
174 | 174 | issue_group_assignment: |
|
175 | 175 | default: 0 |
|
176 | 176 | default_issue_start_date_to_creation_date: |
|
177 | 177 | default: 1 |
|
178 | 178 | notified_events: |
|
179 | 179 | serialized: true |
|
180 | 180 | default: |
|
181 | 181 | - issue_added |
|
182 | 182 | - issue_updated |
|
183 | 183 | mail_handler_body_delimiters: |
|
184 | 184 | default: '' |
|
185 | 185 | mail_handler_excluded_filenames: |
|
186 | 186 | default: '' |
|
187 | 187 | mail_handler_api_enabled: |
|
188 | 188 | default: 0 |
|
189 | 189 | security_notifications: 1 |
|
190 | 190 | mail_handler_api_key: |
|
191 | 191 | default: |
|
192 | 192 | security_notifications: 1 |
|
193 | 193 | issue_list_default_columns: |
|
194 | 194 | serialized: true |
|
195 | 195 | default: |
|
196 | 196 | - tracker |
|
197 | 197 | - status |
|
198 | 198 | - priority |
|
199 | 199 | - subject |
|
200 | 200 | - assigned_to |
|
201 | 201 | - updated_on |
|
202 | 202 | issue_list_default_totals: |
|
203 | 203 | serialized: true |
|
204 | 204 | default: [] |
|
205 | 205 | display_subprojects_issues: |
|
206 | 206 | default: 1 |
|
207 | 207 | issue_done_ratio: |
|
208 | 208 | default: 'issue_field' |
|
209 | 209 | default_projects_public: |
|
210 | 210 | default: 1 |
|
211 | 211 | default_projects_modules: |
|
212 | 212 | serialized: true |
|
213 | 213 | default: |
|
214 | 214 | - issue_tracking |
|
215 | 215 | - time_tracking |
|
216 | 216 | - news |
|
217 | 217 | - documents |
|
218 | 218 | - files |
|
219 | 219 | - wiki |
|
220 | 220 | - repository |
|
221 | 221 | - boards |
|
222 | 222 | - calendar |
|
223 | 223 | - gantt |
|
224 | 224 | default_projects_tracker_ids: |
|
225 | 225 | serialized: true |
|
226 | 226 | default: |
|
227 | 227 | # Role given to a non-admin user who creates a project |
|
228 | 228 | new_project_user_role_id: |
|
229 | 229 | format: int |
|
230 | 230 | default: '' |
|
231 | 231 | sequential_project_identifiers: |
|
232 | 232 | default: 0 |
|
233 | 233 | # encodings used to convert repository files content to UTF-8 |
|
234 | 234 | # multiple values accepted, comma separated |
|
235 | 235 | default_users_hide_mail: |
|
236 | 236 | default: 1 |
|
237 | 237 | repositories_encodings: |
|
238 | 238 | default: '' |
|
239 | 239 | # encoding used to convert commit logs to UTF-8 |
|
240 | 240 | commit_logs_encoding: |
|
241 | 241 | default: 'UTF-8' |
|
242 | commit_logs_formatting: | |
|
243 | default: 1 | |
|
242 | 244 | repository_log_display_limit: |
|
243 | 245 | format: int |
|
244 | 246 | default: 100 |
|
245 | 247 | ui_theme: |
|
246 | 248 | default: '' |
|
247 | 249 | emails_footer: |
|
248 | 250 | default: |- |
|
249 | 251 | You have received this notification because you have either subscribed to it, or are involved in it. |
|
250 | 252 | To change your notification preferences, please click here: http://hostname/my/account |
|
251 | 253 | gravatar_enabled: |
|
252 | 254 | default: 0 |
|
253 | 255 | openid: |
|
254 | 256 | default: 0 |
|
255 | 257 | security_notifications: 1 |
|
256 | 258 | gravatar_default: |
|
257 | 259 | default: '' |
|
258 | 260 | start_of_week: |
|
259 | 261 | default: '' |
|
260 | 262 | rest_api_enabled: |
|
261 | 263 | default: 0 |
|
262 | 264 | security_notifications: 1 |
|
263 | 265 | jsonp_enabled: |
|
264 | 266 | default: 0 |
|
265 | 267 | security_notifications: 1 |
|
266 | 268 | default_notification_option: |
|
267 | 269 | default: 'only_my_events' |
|
268 | 270 | emails_header: |
|
269 | 271 | default: '' |
|
270 | 272 | thumbnails_enabled: |
|
271 | 273 | default: 0 |
|
272 | 274 | thumbnails_size: |
|
273 | 275 | format: int |
|
274 | 276 | default: 100 |
|
275 | 277 | non_working_week_days: |
|
276 | 278 | serialized: true |
|
277 | 279 | default: |
|
278 | 280 | - '6' |
|
279 | 281 | - '7' |
|
280 | 282 | new_item_menu_tab: |
|
281 | 283 | default: 2 |
@@ -1,1459 +1,1460 | |||
|
1 | 1 | html {overflow-y:scroll;} |
|
2 | 2 | body { font-family: Verdana, sans-serif; font-size: 12px; color:#333; margin: 0; padding: 0; min-width: 900px; } |
|
3 | 3 | |
|
4 | 4 | h1, h2, h3, h4 {font-family: "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;} |
|
5 | 5 | #content h1, h2, h3, h4 {color: #555;} |
|
6 | 6 | h2, .wiki h1 {font-size: 20px;} |
|
7 | 7 | h3, .wiki h2 {font-size: 16px;} |
|
8 | 8 | h4, .wiki h3 {font-size: 13px;} |
|
9 | 9 | h4 {border-bottom: 1px dotted #bbb;} |
|
10 | 10 | pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;} |
|
11 | 11 | |
|
12 | 12 | /***** Layout *****/ |
|
13 | 13 | #wrapper {background: white;overflow: hidden;} |
|
14 | 14 | |
|
15 | 15 | #top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;} |
|
16 | 16 | #top-menu ul {margin: 0; padding: 0;} |
|
17 | 17 | #top-menu li { |
|
18 | 18 | float:left; |
|
19 | 19 | list-style-type:none; |
|
20 | 20 | margin: 0px 0px 0px 0px; |
|
21 | 21 | padding: 0px 0px 0px 0px; |
|
22 | 22 | white-space:nowrap; |
|
23 | 23 | } |
|
24 | 24 | #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;} |
|
25 | 25 | #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; } |
|
26 | 26 | |
|
27 | 27 | #account {float:right;} |
|
28 | 28 | |
|
29 | 29 | #header {min-height:5.3em;margin:0;background-color:#628DB6;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;} |
|
30 | 30 | #header a {color:#f8f8f8;} |
|
31 | 31 | #header h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;} |
|
32 | 32 | #header h1 .breadcrumbs { display:block; font-size: .5em; font-weight: normal; } |
|
33 | 33 | |
|
34 | 34 | #quick-search {float:right;} |
|
35 | 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 | 37 | #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px; width: 100%;} |
|
38 | 38 | #main-menu ul {margin: 0; padding: 0; width: 100%; white-space: nowrap;} |
|
39 | 39 | #main-menu li { |
|
40 | 40 | float:none; |
|
41 | 41 | list-style-type:none; |
|
42 | 42 | margin: 0px 2px 0px 0px; |
|
43 | 43 | padding: 0px 0px 0px 0px; |
|
44 | 44 | white-space:nowrap; |
|
45 | 45 | display:inline-block; |
|
46 | 46 | } |
|
47 | 47 | #main-menu li a { |
|
48 | 48 | display: block; |
|
49 | 49 | color: #fff; |
|
50 | 50 | text-decoration: none; |
|
51 | 51 | font-weight: bold; |
|
52 | 52 | margin: 0; |
|
53 | 53 | padding: 4px 10px 4px 10px; |
|
54 | 54 | } |
|
55 | 55 | #main-menu li a:hover {background:#759FCF; color:#fff;} |
|
56 | 56 | #main-menu li:hover ul.menu-children, #main-menu li ul.menu-children.visible {display: block;} |
|
57 | 57 | #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;} |
|
58 | 58 | #main-menu li a.new-object { background-color:#759FCF; } |
|
59 | 59 | |
|
60 | 60 | #main-menu .menu-children { |
|
61 | 61 | display: none; |
|
62 | 62 | position:absolute; |
|
63 | 63 | width: inherit; |
|
64 | 64 | z-index:45; |
|
65 | 65 | background-color:#fff; |
|
66 | 66 | border-right: 1px solid #759FCF; |
|
67 | 67 | border-bottom: 1px solid #759FCF; |
|
68 | 68 | border-left: 1px solid #759FCF; |
|
69 | 69 | } |
|
70 | 70 | #main-menu .menu-children li {float:left; clear:both; width:100%;} |
|
71 | 71 | #main-menu .menu-children li a {color: #555; background-color:#fff; font-weight:normal;} |
|
72 | 72 | #main-menu .menu-children li a:hover {color: #fff; background-color: #759FCF;} |
|
73 | 73 | |
|
74 | 74 | #main-menu .tabs-buttons { |
|
75 | 75 | right: 6px; |
|
76 | 76 | background-color: transparent; |
|
77 | 77 | border-bottom-color: transparent; |
|
78 | 78 | } |
|
79 | 79 | |
|
80 | 80 | #admin-menu ul {margin: 0; padding: 0;} |
|
81 | 81 | #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;} |
|
82 | 82 | |
|
83 | 83 | #main {background-color:#EEEEEE;} |
|
84 | 84 | |
|
85 | 85 | #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;} |
|
86 | 86 | * html #sidebar{ width: 22%; } |
|
87 | 87 | #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; } |
|
88 | 88 | #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; } |
|
89 | 89 | * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; } |
|
90 | 90 | #sidebar .contextual { margin-right: 1em; } |
|
91 | 91 | #sidebar ul, ul.flat {margin: 0; padding: 0;} |
|
92 | 92 | #sidebar ul li, ul.flat li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;} |
|
93 | 93 | #sidebar div.wiki ul {margin:inherit; padding-left:40px;} |
|
94 | 94 | #sidebar div.wiki ul li {list-style-type:inherit;} |
|
95 | 95 | |
|
96 | 96 | #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; } |
|
97 | 97 | * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;} |
|
98 | 98 | html>body #content { min-height: 600px; } |
|
99 | 99 | * html body #content { height: 600px; } /* IE */ |
|
100 | 100 | |
|
101 | 101 | #main.nosidebar #sidebar{ display: none; } |
|
102 | 102 | #main.nosidebar #content{ width: auto; border-right: 0; } |
|
103 | 103 | |
|
104 | 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 | 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 | 107 | #login-form label {display:block; margin-bottom:5px;} |
|
108 | 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 | 109 | #login-form label {font-weight:bold;} |
|
110 | 110 | #login-form label[for=autologin] {font-weight:normal;} |
|
111 | 111 | #login-form a.lost_password {float:right; font-weight:normal;} |
|
112 | 112 | #login-form input#openid_url {background:#fff url(../images/openid-bg.gif) no-repeat 4px 50%; padding-left:24px !important;} |
|
113 | 113 | #login-form input#login-submit {margin-top:15px; padding:7px; display:block; width:100%; box-sizing: border-box;} |
|
114 | 114 | |
|
115 | 115 | div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;} |
|
116 | 116 | div.modal h3.title {display:none;} |
|
117 | 117 | div.modal p.buttons {text-align:right; margin-bottom:0;} |
|
118 | 118 | div.modal .box p {margin: 0.3em 0;} |
|
119 | 119 | |
|
120 | 120 | .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; } |
|
121 | 121 | |
|
122 | 122 | .mobile-show {display: none;} |
|
123 | 123 | |
|
124 | 124 | /***** Links *****/ |
|
125 | 125 | a, a:link, a:visited{ color: #169; text-decoration: none; } |
|
126 | 126 | a:hover, a:active{ color: #c61a1a; text-decoration: underline;} |
|
127 | 127 | a img{ border: 0; } |
|
128 | 128 | |
|
129 | 129 | a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; } |
|
130 | 130 | a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; } |
|
131 | 131 | a.user.locked, a.user.locked:link, a.user.locked:visited {color: #999;} |
|
132 | 132 | |
|
133 | 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 | 134 | #sidebar a.selected:hover {text-decoration:none;} |
|
135 | 135 | #admin-menu a {line-height:1.7em;} |
|
136 | 136 | #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;} |
|
137 | 137 | |
|
138 | 138 | a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;} |
|
139 | 139 | a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;} |
|
140 | 140 | |
|
141 | 141 | a#toggle-completed-versions {color:#999;} |
|
142 | 142 | |
|
143 | 143 | a.toggle-checkboxes { margin-left: 5px; padding-left: 12px; background: url(../images/toggle_check.png) no-repeat 0% 50%; } |
|
144 | 144 | |
|
145 | 145 | /***** Dropdown *****/ |
|
146 | 146 | .drdn {position:relative;} |
|
147 | 147 | .drdn-trigger { |
|
148 | 148 | width:100%; |
|
149 | 149 | height:24px; |
|
150 | 150 | box-sizing:border-box; |
|
151 | 151 | overflow:hidden; |
|
152 | 152 | text-overflow:ellipsis; |
|
153 | 153 | white-space:nowrap; |
|
154 | 154 | padding:3px 18px 3px 6px; |
|
155 | 155 | background:#fff url(../images/sort_desc.png) no-repeat 97% 50%; |
|
156 | 156 | cursor:pointer; |
|
157 | 157 | user-select:none; |
|
158 | 158 | -moz-user-select:none; |
|
159 | 159 | -webkit-user-select:none; |
|
160 | 160 | } |
|
161 | 161 | .drdn-content { |
|
162 | 162 | display:none; |
|
163 | 163 | position:absolute; |
|
164 | 164 | right:0px; |
|
165 | 165 | top:25px; |
|
166 | 166 | min-width:100px; |
|
167 | 167 | background-color:#fff; |
|
168 | 168 | border:1px solid #ccc; |
|
169 | 169 | border-radius:4px; |
|
170 | 170 | color:#555; |
|
171 | 171 | z-index:99; |
|
172 | 172 | } |
|
173 | 173 | .drdn.expanded .drdn-trigger {background-image:url(../images/sort_asc.png);} |
|
174 | 174 | .drdn.expanded .drdn-content {display:block;} |
|
175 | 175 | |
|
176 | 176 | .drdn-content .quick-search {margin:8px;} |
|
177 | 177 | .drdn-content .autocomplete {box-sizing: border-box; width:100% !important; height:28px;} |
|
178 | 178 | .drdn-content .autocomplete:focus {border-color:#5ad;} |
|
179 | 179 | .drdn-items {max-height:400px; overflow:auto;} |
|
180 | 180 | .quick-search + .drdn-items {border-top:1px solid #ccc;} |
|
181 | 181 | .drdn-items>* { |
|
182 | 182 | display:block; |
|
183 | 183 | border:1px solid #fff; |
|
184 | 184 | color:#555 !important; |
|
185 | 185 | overflow:hidden; |
|
186 | 186 | text-overflow: ellipsis; |
|
187 | 187 | white-space:nowrap; |
|
188 | 188 | padding:4px 8px; |
|
189 | 189 | } |
|
190 | 190 | .drdn-items>a:hover {text-decoration:none; background-color:#759FCF; color:#fff !important;} |
|
191 | 191 | .drdn-items>*:focus {border:1px dotted #bbb;} |
|
192 | 192 | |
|
193 | 193 | .drdn-items.selection>*:before { |
|
194 | 194 | content:' '; |
|
195 | 195 | display:inline-block; |
|
196 | 196 | line-height:1em; |
|
197 | 197 | width:1em; |
|
198 | 198 | height:1em; |
|
199 | 199 | margin-right:4px; |
|
200 | 200 | font-weight:bold; |
|
201 | 201 | } |
|
202 | 202 | .drdn-items.selection>*.selected:before { |
|
203 | 203 | content:"\2713 "; |
|
204 | 204 | } |
|
205 | 205 | .drdn-items>span {color:#999;} |
|
206 | 206 | |
|
207 | 207 | #project-jump.drdn {width:200px;display:inline-block;} |
|
208 | 208 | #project-jump .drdn-trigger { |
|
209 | 209 | display:inline-block; |
|
210 | 210 | border-radius:3px; |
|
211 | 211 | border:1px solid #ccc; |
|
212 | 212 | margin:0 !important; |
|
213 | 213 | vertical-align:middle; |
|
214 | 214 | color:#555; |
|
215 | 215 | } |
|
216 | 216 | #project-jump .drdn-content {width:280px;} |
|
217 | 217 | |
|
218 | 218 | /***** Tables *****/ |
|
219 | 219 | table.list, .table-list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } |
|
220 | 220 | table.list th, .table-list-header { background-color:#EEEEEE; padding: 4px; white-space:nowrap; font-weight:bold; } |
|
221 | 221 | table.list td {text-align:center; vertical-align:middle; padding-right:10px;} |
|
222 | 222 | table.list td.id { width: 2%; text-align: center;} |
|
223 | 223 | table.list td.name, table.list td.description, table.list td.subject, table.list td.comments, table.list td.roles {text-align: left;} |
|
224 | 224 | table.list td.tick {width:15%} |
|
225 | 225 | table.list td.checkbox { width: 15px; padding: 2px 0 0 0; } |
|
226 | 226 | table.list td.checkbox input {padding:0px;} |
|
227 | 227 | table.list td.buttons, div.buttons { white-space:nowrap; text-align: right; } |
|
228 | 228 | table.list td.buttons a, div.buttons a { margin-right: 0.6em; } |
|
229 | 229 | table.list td.buttons img, div.buttons img {vertical-align:middle;} |
|
230 | 230 | table.list td.reorder {width:15%; white-space:nowrap; text-align:center; } |
|
231 | 231 | table.list table.progress td {padding-right:0px;} |
|
232 | 232 | table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; } |
|
233 | 233 | #role-permissions-trackers table.list th {white-space:normal;} |
|
234 | 234 | |
|
235 | 235 | .table-list-cell {display: table-cell; vertical-align: top; padding:2px; } |
|
236 | 236 | .table-list div.buttons {width: 15%;} |
|
237 | 237 | |
|
238 | 238 | tr.project td.name a { white-space:nowrap; } |
|
239 | 239 | tr.project.closed, tr.project.archived { color: #aaa; } |
|
240 | 240 | tr.project.closed a, tr.project.archived a { color: #aaa; } |
|
241 | 241 | |
|
242 | 242 | tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;} |
|
243 | 243 | tr.project.idnt-1 td.name {padding-left: 0.5em;} |
|
244 | 244 | tr.project.idnt-2 td.name {padding-left: 2em;} |
|
245 | 245 | tr.project.idnt-3 td.name {padding-left: 3.5em;} |
|
246 | 246 | tr.project.idnt-4 td.name {padding-left: 5em;} |
|
247 | 247 | tr.project.idnt-5 td.name {padding-left: 6.5em;} |
|
248 | 248 | tr.project.idnt-6 td.name {padding-left: 8em;} |
|
249 | 249 | tr.project.idnt-7 td.name {padding-left: 9.5em;} |
|
250 | 250 | tr.project.idnt-8 td.name {padding-left: 11em;} |
|
251 | 251 | tr.project.idnt-9 td.name {padding-left: 12.5em;} |
|
252 | 252 | |
|
253 | 253 | tr.issue { text-align: center; white-space: nowrap; } |
|
254 | 254 | 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; } |
|
255 | 255 | tr.issue td.relations { text-align: left; } |
|
256 | 256 | tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;} |
|
257 | 257 | tr.issue td.relations span {white-space: nowrap;} |
|
258 | 258 | table.issues td.description {color:#777; font-size:90%; padding:4px 4px 4px 24px; text-align:left; white-space:normal;} |
|
259 | 259 | table.issues td.description pre {white-space:normal;} |
|
260 | 260 | |
|
261 | 261 | tr.issue.idnt td.subject {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%;} |
|
262 | 262 | tr.issue.idnt-1 td.subject {padding-left: 24px; background-position: 8px 50%;} |
|
263 | 263 | tr.issue.idnt-2 td.subject {padding-left: 40px; background-position: 24px 50%;} |
|
264 | 264 | tr.issue.idnt-3 td.subject {padding-left: 56px; background-position: 40px 50%;} |
|
265 | 265 | tr.issue.idnt-4 td.subject {padding-left: 72px; background-position: 56px 50%;} |
|
266 | 266 | tr.issue.idnt-5 td.subject {padding-left: 88px; background-position: 72px 50%;} |
|
267 | 267 | tr.issue.idnt-6 td.subject {padding-left: 104px; background-position: 88px 50%;} |
|
268 | 268 | tr.issue.idnt-7 td.subject {padding-left: 120px; background-position: 104px 50%;} |
|
269 | 269 | tr.issue.idnt-8 td.subject {padding-left: 136px; background-position: 120px 50%;} |
|
270 | 270 | tr.issue.idnt-9 td.subject {padding-left: 152px; background-position: 136px 50%;} |
|
271 | 271 | |
|
272 | 272 | table.issue-report {table-layout:fixed;} |
|
273 | 273 | |
|
274 | 274 | tr.entry { border: 1px solid #f8f8f8; } |
|
275 | 275 | tr.entry td { white-space: nowrap; } |
|
276 | 276 | tr.entry td.filename {width:30%; text-align:left;} |
|
277 | 277 | tr.entry td.filename_no_report {width:70%; text-align:left;} |
|
278 | 278 | tr.entry td.size { text-align: right; font-size: 90%; } |
|
279 | 279 | tr.entry td.revision, tr.entry td.author { text-align: center; } |
|
280 | 280 | tr.entry td.age { text-align: right; } |
|
281 | 281 | tr.entry.file td.filename a { margin-left: 16px; } |
|
282 | 282 | tr.entry.file td.filename_no_report a { margin-left: 16px; } |
|
283 | 283 | |
|
284 | 284 | tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;} |
|
285 | 285 | tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);} |
|
286 | 286 | |
|
287 | 287 | tr.changeset { height: 20px } |
|
288 | 288 | tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; } |
|
289 | 289 | tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; } |
|
290 | 290 | tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;} |
|
291 | 291 | tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;} |
|
292 | 292 | |
|
293 | 293 | table.files tbody th {text-align:left;} |
|
294 | 294 | table.files tr.file td.filename { text-align: left; padding-left: 24px; } |
|
295 | 295 | table.files tr.file td.digest { font-size: 80%; } |
|
296 | 296 | |
|
297 | 297 | table.members td.roles, table.memberships td.roles { width: 45%; } |
|
298 | 298 | |
|
299 | 299 | tr.message { height: 2.6em; } |
|
300 | 300 | tr.message td.created_on { white-space: nowrap; } |
|
301 | 301 | tr.message td.last_message { font-size: 80%; white-space: nowrap; } |
|
302 | 302 | tr.message.sticky td.subject { font-weight: bold; } |
|
303 | 303 | |
|
304 | 304 | tr.version.closed, tr.version.closed a { color: #999; } |
|
305 | 305 | tr.version td.name { padding-left: 20px; } |
|
306 | 306 | tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; } |
|
307 | 307 | |
|
308 | 308 | tr.member td.icon-user {background:transparent;} |
|
309 | 309 | |
|
310 | 310 | tr.user td {width:13%;white-space: nowrap;} |
|
311 | 311 | td.username, td.firstname, td.lastname, td.email {text-align:left !important;} |
|
312 | 312 | tr.user td.email { width:18%; } |
|
313 | 313 | tr.user.locked, tr.user.registered { color: #aaa; } |
|
314 | 314 | tr.user.locked a, tr.user.registered a { color: #aaa; } |
|
315 | 315 | |
|
316 | 316 | table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;} |
|
317 | 317 | |
|
318 | 318 | tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;} |
|
319 | 319 | |
|
320 | 320 | tr.time-entry { text-align: center; white-space: nowrap; } |
|
321 | 321 | 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; } |
|
322 | 322 | td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; } |
|
323 | 323 | td.hours .hours-dec { font-size: 0.9em; } |
|
324 | 324 | |
|
325 | 325 | table.plugins td { vertical-align: middle; } |
|
326 | 326 | table.plugins td.configure { text-align: right; padding-right: 1em; } |
|
327 | 327 | table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; } |
|
328 | 328 | table.plugins span.description { display: block; font-size: 0.9em; } |
|
329 | 329 | table.plugins span.url { display: block; font-size: 0.9em; } |
|
330 | 330 | |
|
331 | 331 | table.list.enumerations {table-layout: fixed;} |
|
332 | 332 | |
|
333 | 333 | tr.group td { padding: 0.8em 0 0.5em 0.3em; border-bottom: 1px solid #ccc; text-align:left; } |
|
334 | 334 | tr.group span.name {font-weight:bold;} |
|
335 | 335 | 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;} |
|
336 | 336 | tr.group span.totals {color: #aaa; font-size: 80%;} |
|
337 | 337 | tr.group span.totals .value {font-weight:bold; color:#777;} |
|
338 | 338 | tr.group a.toggle-all { color: #aaa; font-size: 80%; display:none; float:right; margin-right:4px;} |
|
339 | 339 | tr.group:hover a.toggle-all { display:inline;} |
|
340 | 340 | a.toggle-all:hover {text-decoration:none;} |
|
341 | 341 | |
|
342 | 342 | table.list tbody tr:hover { background-color:#ffffdd; } |
|
343 | 343 | table.list tbody tr.group:hover { background-color:inherit; } |
|
344 | 344 | table td {padding:2px;} |
|
345 | 345 | table p {margin:0;} |
|
346 | 346 | .odd {background-color:#f6f7f8;} |
|
347 | 347 | .even {background-color: #fff;} |
|
348 | 348 | |
|
349 | 349 | tr.builtin td.name {font-style:italic;} |
|
350 | 350 | |
|
351 | 351 | a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; } |
|
352 | 352 | a.sort.asc { background-image: url(../images/sort_asc.png); } |
|
353 | 353 | a.sort.desc { background-image: url(../images/sort_desc.png); } |
|
354 | 354 | |
|
355 | 355 | table.boards a.board { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; } |
|
356 | 356 | table.boards td.last-message {text-align:left;font-size:80%;} |
|
357 | 357 | |
|
358 | 358 | div.table-list.boards .table-list-cell.name {width: 30%;} |
|
359 | 359 | |
|
360 | 360 | #content table.list-simple {table-layout:fixed;} |
|
361 | 361 | #content table.list-simple td {white-space:nowrap; overflow:hidden; text-overflow: ellipsis; text-align:left;} |
|
362 | 362 | #content table.list-simple th.id, #content table.list-simple th.project {width:18%;} |
|
363 | 363 | #content table.list-simple th.status {width:14%;} |
|
364 | 364 | |
|
365 | 365 | table.messages td.last_message {text-align:left;} |
|
366 | 366 | |
|
367 | 367 | #query_form_content {font-size:90%;} |
|
368 | 368 | |
|
369 | 369 | .query_sort_criteria_count { |
|
370 | 370 | display: inline-block; |
|
371 | 371 | min-width: 1em; |
|
372 | 372 | } |
|
373 | 373 | |
|
374 | 374 | table.query-columns { |
|
375 | 375 | border-collapse: collapse; |
|
376 | 376 | border: 0; |
|
377 | 377 | } |
|
378 | 378 | |
|
379 | 379 | table.query-columns td.buttons { |
|
380 | 380 | vertical-align: middle; |
|
381 | 381 | text-align: center; |
|
382 | 382 | } |
|
383 | 383 | table.query-columns td.buttons input[type=button] {width:35px;} |
|
384 | 384 | .query-totals {text-align:right;} |
|
385 | 385 | .query-totals>span:not(:first-child) {margin-left:0.6em;} |
|
386 | 386 | .query-totals .value {font-weight:bold;} |
|
387 | 387 | body.controller-issues .query-totals {margin-top:-2.3em;} |
|
388 | 388 | |
|
389 | 389 | td.center {text-align:center;} |
|
390 | 390 | |
|
391 | 391 | #watchers select {width: 95%; display: block;} |
|
392 | 392 | #watchers a.delete {opacity: 0.4; margin-left: 5px;} |
|
393 | 393 | #watchers a.delete:hover {opacity: 1;} |
|
394 | 394 | #watchers img.gravatar {margin: 0 4px 2px 0;} |
|
395 | 395 | |
|
396 | 396 | span#watchers_inputs {overflow:auto; display:block;} |
|
397 | 397 | span.search_for_watchers {display:block;} |
|
398 | 398 | span.search_for_watchers, span.add_attachment {font-size:80%; line-height:2.5em;} |
|
399 | 399 | span.add_attachment a {padding-left:16px; background: url(../images/bullet_add.png) no-repeat 0 50%; } |
|
400 | 400 | |
|
401 | 401 | |
|
402 | 402 | .highlight { background-color: #FCFD8D;} |
|
403 | 403 | .highlight.token-1 { background-color: #faa;} |
|
404 | 404 | .highlight.token-2 { background-color: #afa;} |
|
405 | 405 | .highlight.token-3 { background-color: #aaf;} |
|
406 | 406 | |
|
407 | 407 | .box{ |
|
408 | 408 | padding:6px; |
|
409 | 409 | margin-bottom: 10px; |
|
410 | 410 | background-color:#f6f6f6; |
|
411 | 411 | color:#505050; |
|
412 | 412 | line-height:1.5em; |
|
413 | 413 | border: 1px solid #e4e4e4; |
|
414 | 414 | word-wrap: break-word; |
|
415 | 415 | border-radius: 3px; |
|
416 | 416 | } |
|
417 | 417 | |
|
418 | 418 | div.square { |
|
419 | 419 | border: 1px solid #999; |
|
420 | 420 | float: left; |
|
421 | 421 | margin: .3em .4em 0 .4em; |
|
422 | 422 | overflow: hidden; |
|
423 | 423 | width: .6em; height: .6em; |
|
424 | 424 | } |
|
425 | 425 | .contextual {float:right; white-space: nowrap; line-height:1.4em;margin:5px 0px; padding-left: 10px; font-size:0.9em;} |
|
426 | 426 | .contextual .icon {padding-top: 2px; padding-bottom: 3px;} |
|
427 | 427 | .contextual input, .contextual select {font-size:0.9em;} |
|
428 | 428 | .message .contextual { margin-top: 0; } |
|
429 | 429 | |
|
430 | 430 | .splitcontent {overflow:auto;} |
|
431 | 431 | .splitcontentleft{float:left; width:49%;} |
|
432 | 432 | .splitcontentright{float:right; width:49%;} |
|
433 | 433 | form {display: inline;} |
|
434 | 434 | input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;} |
|
435 | 435 | input[type="submit"] { -webkit-appearance: button; } |
|
436 | 436 | fieldset {border: 1px solid #e4e4e4; margin:0;} |
|
437 | 437 | legend {color: #333;} |
|
438 | 438 | hr { width: 100%; height: 1px; background: #ccc; border: 0;} |
|
439 | 439 | blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;} |
|
440 | 440 | blockquote blockquote { margin-left: 0;} |
|
441 | 441 | abbr, span.field-description[title] { border-bottom: 1px dotted #aaa; cursor: help; } |
|
442 | 442 | textarea.wiki-edit {width:99%; resize:vertical;} |
|
443 | 443 | body.textarea-monospace textarea.wiki-edit {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px;} |
|
444 | 444 | body.textarea-proportional textarea.wiki-edit {font-family: Verdana, sans-serif; font-size: 12px;} |
|
445 | 445 | li p {margin-top: 0;} |
|
446 | 446 | div.issue {background:#ffffdd; padding:6px; margin-bottom:6px; border: 1px solid #d7d7d7; border-radius:3px;} |
|
447 | 447 | p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;} |
|
448 | 448 | p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; } |
|
449 | 449 | p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; } |
|
450 | 450 | .ltr {direction:ltr !important; unicode-bidi:bidi-override;} |
|
451 | 451 | .rtl {direction:rtl !important; unicode-bidi:bidi-override;} |
|
452 | 452 | |
|
453 | 453 | div.issue div.subject div div { padding-left: 16px; } |
|
454 | 454 | div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;} |
|
455 | 455 | div.issue div.subject>div>p { margin-top: 0.5em; } |
|
456 | 456 | div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;} |
|
457 | 457 | 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;} |
|
458 | 458 | div.issue .next-prev-links {color:#999;} |
|
459 | 459 | div.issue .attributes {margin-top: 2em;} |
|
460 | 460 | div.issue .attribute {padding-left:180px; clear:left; min-height: 1.8em;} |
|
461 | 461 | div.issue .attribute .label {width: 170px; margin-left:-180px; font-weight:bold; float:left; overflow:hidden; text-overflow: ellipsis;} |
|
462 | 462 | div.issue .attribute .value {overflow:hidden; text-overflow: ellipsis;} |
|
463 | 463 | div.issue.overdue .due-date .value { color: #c22; } |
|
464 | 464 | |
|
465 | 465 | #issue_tree table.issues, #relations table.issues { border: 0; } |
|
466 | 466 | #issue_tree td.checkbox, #relations td.checkbox {display:none;} |
|
467 | 467 | #relations td.buttons {padding:0;} |
|
468 | 468 | |
|
469 | 469 | fieldset.collapsible {border-width: 1px 0 0 0;} |
|
470 | 470 | fieldset.collapsible>legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; } |
|
471 | 471 | fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_collapsed.png); } |
|
472 | 472 | |
|
473 | 473 | fieldset#date-range p { margin: 2px 0 2px 0; } |
|
474 | 474 | fieldset#filters table { border-collapse: collapse; } |
|
475 | 475 | fieldset#filters table td { padding: 0; vertical-align: middle; } |
|
476 | 476 | fieldset#filters tr.filter { height: 2.1em; } |
|
477 | 477 | fieldset#filters td.field { width:230px; } |
|
478 | 478 | fieldset#filters td.operator { width:130px; } |
|
479 | 479 | fieldset#filters td.operator select {max-width:120px;} |
|
480 | 480 | fieldset#filters td.values { white-space:nowrap; } |
|
481 | 481 | fieldset#filters td.values select {min-width:130px; max-width:200px;} |
|
482 | 482 | fieldset#filters td.values input {height:1em;} |
|
483 | 483 | |
|
484 | 484 | #filters-table {width:60%; float:left;} |
|
485 | 485 | .add-filter {width:35%; float:right; text-align: right; vertical-align: top;} |
|
486 | 486 | |
|
487 | 487 | #issue_is_private_wrap {float:right; margin-right:1em;} |
|
488 | 488 | .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:16px; margin-left:0; margin-right:5px; cursor:pointer;} |
|
489 | 489 | .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; } |
|
490 | 490 | |
|
491 | 491 | div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;} |
|
492 | 492 | div#issue-changesets div.changeset { padding: 4px;} |
|
493 | 493 | div#issue-changesets div.changeset { border-bottom: 1px solid #ddd; } |
|
494 | 494 | div#issue-changesets p { margin-top: 0; margin-bottom: 1em;} |
|
495 | .changset-comments {margin-bottom:1em; font-family:} | |
|
495 | 496 | |
|
496 | 497 | div.journal {overflow:auto;} |
|
497 | 498 | div.journal.private-notes {border-left:2px solid #d22; padding-left:4px; margin-left:-6px;} |
|
498 | 499 | div.journal ul.details, ul.revision-info {color:#959595; margin-bottom: 1.5em;} |
|
499 | 500 | div.journal ul.details a, ul.revision-info a {color:#70A7CD;} |
|
500 | 501 | div.journal ul.details a:hover, ul.revision-info a:hover {color:#D14848;} |
|
501 | 502 | |
|
502 | 503 | div#activity dl, #search-results { margin-left: 2em; } |
|
503 | 504 | div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; } |
|
504 | 505 | div#activity dt.me .time { border-bottom: 1px solid #999; } |
|
505 | 506 | div#activity dt .time { color: #777; font-size: 80%; } |
|
506 | 507 | div#activity dd .description, #search-results dd .description { font-style: italic; } |
|
507 | 508 | div#activity span.project:after, #search-results span.project:after { content: " -"; } |
|
508 | 509 | div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; } |
|
509 | 510 | div#activity dt.grouped {margin-left:5em;} |
|
510 | 511 | div#activity dd.grouped {margin-left:9em;} |
|
511 | 512 | div#activity dt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 18px;} |
|
512 | 513 | |
|
513 | 514 | #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; } |
|
514 | 515 | |
|
515 | 516 | div#search-results-counts {float:right;} |
|
516 | 517 | div#search-results-counts ul { margin-top: 0.5em; } |
|
517 | 518 | div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; } |
|
518 | 519 | |
|
519 | 520 | div#roadmap .related-issues { margin-bottom: 1em; } |
|
520 | 521 | div#roadmap .related-issues td.checkbox { display: none; } |
|
521 | 522 | div#roadmap .wiki h1:first-child { display: none; } |
|
522 | 523 | div#roadmap .wiki h1 { font-size: 120%; } |
|
523 | 524 | div#roadmap .wiki h2 { font-size: 110%; } |
|
524 | 525 | body.controller-versions.action-show div#roadmap .related-issues {width:70%;} |
|
525 | 526 | |
|
526 | 527 | div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; } |
|
527 | 528 | div#version-summary fieldset { margin-bottom: 1em; } |
|
528 | 529 | div#version-summary fieldset.time-tracking table { width:100%; } |
|
529 | 530 | div#version-summary th, div#version-summary td.total-hours { text-align: right; } |
|
530 | 531 | |
|
531 | 532 | table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; } |
|
532 | 533 | table#time-report tbody tr.subtotal { font-style: italic; color:#777;} |
|
533 | 534 | table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; } |
|
534 | 535 | table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;} |
|
535 | 536 | table#time-report .hours-dec { font-size: 0.9em; } |
|
536 | 537 | |
|
537 | 538 | div.wiki-page .contextual a {opacity: 0.4} |
|
538 | 539 | div.wiki-page .contextual a:hover {opacity: 1} |
|
539 | 540 | |
|
540 | 541 | form .attributes select { width: 60%; } |
|
541 | 542 | form .attributes select + a.icon-only { vertical-align: middle; margin-left: 4px; } |
|
542 | 543 | input#issue_subject, input#document_title { width: 99%; } |
|
543 | 544 | select#issue_done_ratio { width: 95px; } |
|
544 | 545 | |
|
545 | 546 | ul.projects {margin:0; padding-left:1em;} |
|
546 | 547 | ul.projects ul {padding-left:1.6em;} |
|
547 | 548 | ul.projects.root {margin:0; padding:0;} |
|
548 | 549 | ul.projects li {list-style-type:none;} |
|
549 | 550 | |
|
550 | 551 | #projects-index { |
|
551 | 552 | column-count: auto; |
|
552 | 553 | column-width: 400px; |
|
553 | 554 | -webkit-column-count: auto; |
|
554 | 555 | -webkit-column-width: 400px; |
|
555 | 556 | -webkit-column-gap : 0.5rem; |
|
556 | 557 | -moz-column-count: auto; |
|
557 | 558 | -moz-column-width: 400px; |
|
558 | 559 | -moz-column-gap : 0.5rem; |
|
559 | 560 | } |
|
560 | 561 | #projects-index ul.projects li.root>ul.projects { border-left: 3px solid #e0e0e0; padding-left:1em;} |
|
561 | 562 | #projects-index ul.projects li.root {margin-bottom: 1em;} |
|
562 | 563 | #projects-index ul.projects li.child {margin-top: 1em;} |
|
563 | 564 | #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; } |
|
564 | 565 | #projects-index a.icon-fav {padding-left:0; padding-right:20px; background-position:98% 50%;} |
|
565 | 566 | |
|
566 | 567 | #notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;} |
|
567 | 568 | |
|
568 | 569 | #related-issues li img {vertical-align:middle;} |
|
569 | 570 | |
|
570 | 571 | ul.properties {padding:0; font-size: 0.9em; color: #777;} |
|
571 | 572 | ul.properties li {list-style-type:none;} |
|
572 | 573 | ul.properties li span {font-style:italic;} |
|
573 | 574 | |
|
574 | 575 | .total-hours { font-size: 110%; font-weight: bold; } |
|
575 | 576 | .total-hours span.hours-int { font-size: 120%; } |
|
576 | 577 | |
|
577 | 578 | .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em; position: relative;} |
|
578 | 579 | #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; } |
|
579 | 580 | |
|
580 | 581 | #workflow_copy_form select { width: 200px; } |
|
581 | 582 | table.transitions td.enabled {background: #bfb;} |
|
582 | 583 | #workflow_form table select {font-size:90%; max-width:100px;} |
|
583 | 584 | table.fields_permissions td.readonly {background:#ddd;} |
|
584 | 585 | table.fields_permissions td.required {background:#d88;} |
|
585 | 586 | |
|
586 | 587 | select.expandable {vertical-align:top;} |
|
587 | 588 | |
|
588 | 589 | textarea#custom_field_possible_values {width: 95%; resize:vertical} |
|
589 | 590 | textarea#custom_field_default_value {width: 95%; resize:vertical} |
|
590 | 591 | .sort-handle {display:inline-block; vertical-align:middle;} |
|
591 | 592 | |
|
592 | 593 | input#content_comments {width: 99%} |
|
593 | 594 | |
|
594 | 595 | span.pagination {margin-left:3px; color:#888; display:block;} |
|
595 | 596 | .pagination ul.pages { |
|
596 | 597 | margin: 0 5px 0 0; |
|
597 | 598 | padding: 0; |
|
598 | 599 | display: inline; |
|
599 | 600 | } |
|
600 | 601 | .pagination ul.pages li { |
|
601 | 602 | display: inline-block; |
|
602 | 603 | padding: 0; |
|
603 | 604 | border: 1px solid #ddd; |
|
604 | 605 | margin-left: -1px; |
|
605 | 606 | line-height: 2em; |
|
606 | 607 | margin-bottom: 1em; |
|
607 | 608 | white-space: nowrap; |
|
608 | 609 | text-align: center; |
|
609 | 610 | } |
|
610 | 611 | .pagination ul.pages li a, |
|
611 | 612 | .pagination ul.pages li span { |
|
612 | 613 | padding: 3px 8px; |
|
613 | 614 | } |
|
614 | 615 | .pagination ul.pages li:first-child { |
|
615 | 616 | border-top-left-radius: 4px; |
|
616 | 617 | border-bottom-left-radius: 4px; |
|
617 | 618 | } |
|
618 | 619 | .pagination ul.pages li:last-child { |
|
619 | 620 | border-top-right-radius: 4px; |
|
620 | 621 | border-bottom-right-radius: 4px; |
|
621 | 622 | } |
|
622 | 623 | .pagination ul.pages li.current { |
|
623 | 624 | color: white; |
|
624 | 625 | background-color: #628DB6; |
|
625 | 626 | border-color: #628DB6; |
|
626 | 627 | } |
|
627 | 628 | .pagination ul.pages li.page:hover { |
|
628 | 629 | background-color: #ddd; |
|
629 | 630 | } |
|
630 | 631 | .pagination ul.pages li.page a:hover, |
|
631 | 632 | .pagination ul.pages li.page a:active { |
|
632 | 633 | color: #169; |
|
633 | 634 | text-decoration: inherit; |
|
634 | 635 | } |
|
635 | 636 | .pagination .per-page span.selected { |
|
636 | 637 | font-weight: bold; |
|
637 | 638 | } |
|
638 | 639 | span.pagination>span {white-space:nowrap;} |
|
639 | 640 | |
|
640 | 641 | #search-form fieldset p {margin:0.2em 0;} |
|
641 | 642 | |
|
642 | 643 | /***** Tabular forms ******/ |
|
643 | 644 | .tabular p{ |
|
644 | 645 | margin: 0; |
|
645 | 646 | padding: 3px 0 3px 0; |
|
646 | 647 | padding-left: 180px; /* width of left column containing the label elements */ |
|
647 | 648 | min-height: 2em; |
|
648 | 649 | clear:left; |
|
649 | 650 | } |
|
650 | 651 | |
|
651 | 652 | html>body .tabular p {overflow:hidden;} |
|
652 | 653 | |
|
653 | 654 | .tabular input, .tabular select {max-width:95%} |
|
654 | 655 | .tabular textarea {width:95%; resize:vertical;} |
|
655 | 656 | |
|
656 | 657 | .tabular label{ |
|
657 | 658 | font-weight: bold; |
|
658 | 659 | float: left; |
|
659 | 660 | text-align: right; |
|
660 | 661 | /* width of left column */ |
|
661 | 662 | margin-left: -180px; |
|
662 | 663 | /* width of labels. Should be smaller than left column to create some right margin */ |
|
663 | 664 | width: 175px; |
|
664 | 665 | } |
|
665 | 666 | |
|
666 | 667 | .tabular label.floating{ |
|
667 | 668 | font-weight: normal; |
|
668 | 669 | margin-left: 0px; |
|
669 | 670 | text-align: left; |
|
670 | 671 | width: 270px; |
|
671 | 672 | } |
|
672 | 673 | |
|
673 | 674 | label.block { |
|
674 | 675 | display: block; |
|
675 | 676 | width: auto !important; |
|
676 | 677 | } |
|
677 | 678 | |
|
678 | 679 | .tabular label.block{ |
|
679 | 680 | font-weight: normal; |
|
680 | 681 | margin-left: 0px !important; |
|
681 | 682 | text-align: left; |
|
682 | 683 | float: none; |
|
683 | 684 | } |
|
684 | 685 | |
|
685 | 686 | .tabular label.inline{ |
|
686 | 687 | font-weight: normal; |
|
687 | 688 | float:none; |
|
688 | 689 | margin-left: 5px !important; |
|
689 | 690 | width: auto; |
|
690 | 691 | } |
|
691 | 692 | |
|
692 | 693 | label.no-css { |
|
693 | 694 | font-weight: inherit; |
|
694 | 695 | float:none; |
|
695 | 696 | text-align:left; |
|
696 | 697 | margin-left:0px; |
|
697 | 698 | width:auto; |
|
698 | 699 | } |
|
699 | 700 | input#time_entry_comments { width: 90%;} |
|
700 | 701 | |
|
701 | 702 | #preview fieldset {margin-top: 1em; background: url(../images/draft.png)} |
|
702 | 703 | |
|
703 | 704 | .tabular.settings p{ padding-left: 300px; } |
|
704 | 705 | .tabular.settings label{ margin-left: -300px; width: 295px; } |
|
705 | 706 | .tabular.settings textarea { width: 99%; } |
|
706 | 707 | |
|
707 | 708 | .settings.enabled_scm table {width:100%} |
|
708 | 709 | .settings.enabled_scm td.scm_name{ font-weight: bold; } |
|
709 | 710 | |
|
710 | 711 | fieldset.settings label { display: block; } |
|
711 | 712 | fieldset#notified_events .parent { padding-left: 20px; } |
|
712 | 713 | |
|
713 | 714 | span.required {color: #bb0000;} |
|
714 | 715 | .summary {font-style: italic;} |
|
715 | 716 | |
|
716 | 717 | .check_box_group { |
|
717 | 718 | display:block; |
|
718 | 719 | width:95%; |
|
719 | 720 | max-height:300px; |
|
720 | 721 | overflow-y:auto; |
|
721 | 722 | padding:2px 4px 4px 2px; |
|
722 | 723 | background:#fff; |
|
723 | 724 | border:1px solid #9EB1C2; |
|
724 | 725 | border-radius:2px |
|
725 | 726 | } |
|
726 | 727 | .check_box_group label { |
|
727 | 728 | font-weight: normal; |
|
728 | 729 | margin-left: 0px !important; |
|
729 | 730 | text-align: left; |
|
730 | 731 | float: none; |
|
731 | 732 | display: block; |
|
732 | 733 | width: auto; |
|
733 | 734 | } |
|
734 | 735 | .check_box_group.bool_cf {border:0; background:inherit;} |
|
735 | 736 | .check_box_group.bool_cf label {display: inline;} |
|
736 | 737 | |
|
737 | 738 | .attachments_fields input.description, #existing-attachments input.description {margin-left:4px; width:340px;} |
|
738 | 739 | .attachments_fields>span, #existing-attachments>span {display:block; white-space:nowrap;} |
|
739 | 740 | .attachments_fields input.filename, #existing-attachments .filename {border:0; width:250px; color:#555; background-color:inherit; } |
|
740 | 741 | .tabular input.filename {max-width:75% !important;} |
|
741 | 742 | .attachments_fields input.filename {height:1.8em;} |
|
742 | 743 | .attachments_fields .ajax-waiting input.filename {background:url(../images/hourglass.png) no-repeat 0px 50%;} |
|
743 | 744 | .attachments_fields .ajax-loading input.filename {background:url(../images/loading.gif) no-repeat 0px 50%;} |
|
744 | 745 | .attachments_fields div.ui-progressbar { width: 100px; height:14px; margin: 2px 0 -5px 8px; display: inline-block; } |
|
745 | 746 | |
|
746 | 747 | a.remove-upload:hover {text-decoration:none !important;} |
|
747 | 748 | .existing-attachment.deleted .filename {text-decoration:line-through; color:#999 !important;} |
|
748 | 749 | |
|
749 | 750 | div.fileover { background-color: lavender; } |
|
750 | 751 | |
|
751 | 752 | div.attachments { margin: 12px 0; } |
|
752 | 753 | div.attachments p { margin:4px 0 2px 0; } |
|
753 | 754 | div.attachments img { vertical-align: middle; } |
|
754 | 755 | div.attachments span.author { font-size: 0.9em; color: #888; } |
|
755 | 756 | |
|
756 | 757 | div.thumbnails {margin:0.6em;} |
|
757 | 758 | div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;} |
|
758 | 759 | div.thumbnails img {margin: 3px; vertical-align: middle;} |
|
759 | 760 | #history div.thumbnails {margin-left: 2em;} |
|
760 | 761 | |
|
761 | 762 | p.other-formats { text-align: right; font-size:0.9em; color: #666; } |
|
762 | 763 | .other-formats span + span:before { content: "| "; } |
|
763 | 764 | |
|
764 | 765 | a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; } |
|
765 | 766 | |
|
766 | 767 | em.info {font-style:normal;font-size:90%;color:#888;display:block;} |
|
767 | 768 | em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;} |
|
768 | 769 | |
|
769 | 770 | textarea.text_cf {width:95%; resize:vertical;} |
|
770 | 771 | input.string_cf, input.link_cf {width:95%;} |
|
771 | 772 | select.bool_cf {width:auto !important;} |
|
772 | 773 | |
|
773 | 774 | #tab-content-modules fieldset p {margin:3px 0 4px 0;} |
|
774 | 775 | |
|
775 | 776 | #tab-content-users .splitcontentleft {width: 64%;} |
|
776 | 777 | #tab-content-users .splitcontentright {width: 34%;} |
|
777 | 778 | #tab-content-users fieldset {padding:1em; margin-bottom: 1em;} |
|
778 | 779 | #tab-content-users fieldset legend {font-weight: bold;} |
|
779 | 780 | #tab-content-users fieldset label {display: block;} |
|
780 | 781 | #tab-content-users #principals {max-height: 400px; overflow: auto;} |
|
781 | 782 | |
|
782 | 783 | #users_for_watcher {height: 200px; overflow:auto;} |
|
783 | 784 | #users_for_watcher label {display: block;} |
|
784 | 785 | |
|
785 | 786 | input#principal_search, input#user_search {width:90%} |
|
786 | 787 | .roles-selection label {display:inline-block; width:210px;} |
|
787 | 788 | |
|
788 | 789 | input.autocomplete { |
|
789 | 790 | background: #fff url(../images/magnifier.png) no-repeat 2px 50%; padding-left:20px !important; |
|
790 | 791 | border:1px solid #9EB1C2; border-radius:2px; height:1.5em; |
|
791 | 792 | } |
|
792 | 793 | input.autocomplete.ajax-loading { |
|
793 | 794 | background-image: url(../images/loading.gif); |
|
794 | 795 | } |
|
795 | 796 | |
|
796 | 797 | .role-visibility {padding-left:2em;} |
|
797 | 798 | |
|
798 | 799 | .objects-selection { |
|
799 | 800 | height: 300px; |
|
800 | 801 | overflow: auto; |
|
801 | 802 | margin-bottom: 1em; |
|
802 | 803 | } |
|
803 | 804 | |
|
804 | 805 | .objects-selection label { |
|
805 | 806 | display: block; |
|
806 | 807 | } |
|
807 | 808 | |
|
808 | 809 | .objects-selection>div, #user_group_ids { |
|
809 | 810 | column-count: auto; |
|
810 | 811 | column-width: 200px; |
|
811 | 812 | -webkit-column-count: auto; |
|
812 | 813 | -webkit-column-width: 200px; |
|
813 | 814 | -webkit-column-gap : 0.5rem; |
|
814 | 815 | -webkit-column-rule: 1px solid #ccc; |
|
815 | 816 | -moz-column-count: auto; |
|
816 | 817 | -moz-column-width: 200px; |
|
817 | 818 | -moz-column-gap : 0.5rem; |
|
818 | 819 | -moz-column-rule: 1px solid #ccc; |
|
819 | 820 | } |
|
820 | 821 | |
|
821 | 822 | /***** Flash & error messages ****/ |
|
822 | 823 | #errorExplanation, div.flash, .nodata, .warning, .conflict { |
|
823 | 824 | padding: 6px 4px 6px 30px; |
|
824 | 825 | margin-bottom: 12px; |
|
825 | 826 | font-size: 1.1em; |
|
826 | 827 | border: 1px solid; |
|
827 | 828 | border-radius: 3px; |
|
828 | 829 | } |
|
829 | 830 | |
|
830 | 831 | div.flash {margin-top: 8px;} |
|
831 | 832 | |
|
832 | 833 | div.flash.error, #errorExplanation { |
|
833 | 834 | background: url(../images/exclamation.png) 8px 50% no-repeat; |
|
834 | 835 | background-color: #ffe3e3; |
|
835 | 836 | border-color: #d88; |
|
836 | 837 | color: #880000; |
|
837 | 838 | } |
|
838 | 839 | |
|
839 | 840 | div.flash.notice { |
|
840 | 841 | background: url(../images/true.png) 8px 5px no-repeat; |
|
841 | 842 | background-color: #dfffdf; |
|
842 | 843 | border-color: #9fcf9f; |
|
843 | 844 | color: #005f00; |
|
844 | 845 | } |
|
845 | 846 | |
|
846 | 847 | div.flash.warning, .conflict { |
|
847 | 848 | background: url(../images/warning.png) 8px 5px no-repeat; |
|
848 | 849 | background-color: #F3EDD1; |
|
849 | 850 | border-color: #eadbbc; |
|
850 | 851 | color: #A6750C; |
|
851 | 852 | text-align: left; |
|
852 | 853 | } |
|
853 | 854 | |
|
854 | 855 | .nodata, .warning { |
|
855 | 856 | text-align: center; |
|
856 | 857 | background-color: #F3EDD1; |
|
857 | 858 | border-color: #eadbbc; |
|
858 | 859 | color: #A6750C; |
|
859 | 860 | } |
|
860 | 861 | |
|
861 | 862 | #errorExplanation ul { font-size: 0.9em;} |
|
862 | 863 | #errorExplanation h2, #errorExplanation p { display: none; } |
|
863 | 864 | |
|
864 | 865 | .conflict-details {font-size:80%;} |
|
865 | 866 | |
|
866 | 867 | /***** Ajax indicator ******/ |
|
867 | 868 | #ajax-indicator { |
|
868 | 869 | position: absolute; /* fixed not supported by IE */ |
|
869 | 870 | background-color:#eee; |
|
870 | 871 | border: 1px solid #bbb; |
|
871 | 872 | top:35%; |
|
872 | 873 | left:40%; |
|
873 | 874 | width:20%; |
|
874 | 875 | font-weight:bold; |
|
875 | 876 | text-align:center; |
|
876 | 877 | padding:0.6em; |
|
877 | 878 | z-index:100; |
|
878 | 879 | opacity: 0.5; |
|
879 | 880 | } |
|
880 | 881 | |
|
881 | 882 | html>body #ajax-indicator { position: fixed; } |
|
882 | 883 | |
|
883 | 884 | #ajax-indicator span { |
|
884 | 885 | background-position: 0% 40%; |
|
885 | 886 | background-repeat: no-repeat; |
|
886 | 887 | background-image: url(../images/loading.gif); |
|
887 | 888 | padding-left: 26px; |
|
888 | 889 | vertical-align: bottom; |
|
889 | 890 | } |
|
890 | 891 | |
|
891 | 892 | /***** Calendar *****/ |
|
892 | 893 | table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;} |
|
893 | 894 | table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; } |
|
894 | 895 | table.cal thead th.week-number {width: auto;} |
|
895 | 896 | table.cal tbody tr {height: 100px;} |
|
896 | 897 | table.cal td .icon {padding-top: 2px; padding-bottom: 3px;} |
|
897 | 898 | table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;} |
|
898 | 899 | table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;} |
|
899 | 900 | table.cal td p.day-num {font-size: 1.1em; text-align:right;} |
|
900 | 901 | table.cal td.odd p.day-num {color: #bbb;} |
|
901 | 902 | table.cal td.today {background:#ffffdd;} |
|
902 | 903 | table.cal td.today p.day-num {font-weight: bold;} |
|
903 | 904 | table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;} |
|
904 | 905 | table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;} |
|
905 | 906 | table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;} |
|
906 | 907 | p.cal.legend span {display:block;} |
|
907 | 908 | |
|
908 | 909 | /***** Tooltips ******/ |
|
909 | 910 | .tooltip{position:relative;z-index:24;} |
|
910 | 911 | .tooltip:hover{z-index:25;color:#000;} |
|
911 | 912 | .tooltip span.tip{display: none; text-align:left;} |
|
912 | 913 | |
|
913 | 914 | div.tooltip:hover span.tip{ |
|
914 | 915 | display:block; |
|
915 | 916 | position:absolute; |
|
916 | 917 | top:12px; width:270px; |
|
917 | 918 | border:1px solid #555; |
|
918 | 919 | background-color:#fff; |
|
919 | 920 | padding: 4px; |
|
920 | 921 | font-size: 0.8em; |
|
921 | 922 | color:#505050; |
|
922 | 923 | } |
|
923 | 924 | |
|
924 | 925 | img.ui-datepicker-trigger { |
|
925 | 926 | cursor: pointer; |
|
926 | 927 | vertical-align: middle; |
|
927 | 928 | margin-left: 4px; |
|
928 | 929 | } |
|
929 | 930 | |
|
930 | 931 | /***** Progress bar *****/ |
|
931 | 932 | table.progress { |
|
932 | 933 | border-collapse: collapse; |
|
933 | 934 | border-spacing: 0pt; |
|
934 | 935 | empty-cells: show; |
|
935 | 936 | text-align: center; |
|
936 | 937 | float:left; |
|
937 | 938 | margin: 1px 6px 1px 0px; |
|
938 | 939 | } |
|
939 | 940 | |
|
940 | 941 | table.progress {width:80px;} |
|
941 | 942 | table.progress td { height: 1em; } |
|
942 | 943 | table.progress td.closed { background: #BAE0BA none repeat scroll 0%; } |
|
943 | 944 | table.progress td.done { background: #D3EDD3 none repeat scroll 0%; } |
|
944 | 945 | table.progress td.todo { background: #eee none repeat scroll 0%; } |
|
945 | 946 | p.percent {font-size: 80%; margin:0;} |
|
946 | 947 | p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;} |
|
947 | 948 | |
|
948 | 949 | .version-overview table.progress {width:40em;} |
|
949 | 950 | .version-overview table.progress td { height: 1.2em; } |
|
950 | 951 | |
|
951 | 952 | /***** Tabs *****/ |
|
952 | 953 | #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;} |
|
953 | 954 | #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;} |
|
954 | 955 | #content .tabs ul li { |
|
955 | 956 | float:left; |
|
956 | 957 | list-style-type:none; |
|
957 | 958 | white-space:nowrap; |
|
958 | 959 | margin-right:4px; |
|
959 | 960 | background:#fff; |
|
960 | 961 | position:relative; |
|
961 | 962 | margin-bottom:-1px; |
|
962 | 963 | } |
|
963 | 964 | #content .tabs ul li a{ |
|
964 | 965 | display:block; |
|
965 | 966 | font-size: 0.9em; |
|
966 | 967 | text-decoration:none; |
|
967 | 968 | line-height:1.3em; |
|
968 | 969 | padding:4px 6px 4px 6px; |
|
969 | 970 | border: 1px solid #ccc; |
|
970 | 971 | border-bottom: 1px solid #bbbbbb; |
|
971 | 972 | background-color: #f6f6f6; |
|
972 | 973 | color:#999; |
|
973 | 974 | font-weight:bold; |
|
974 | 975 | border-top-left-radius:3px; |
|
975 | 976 | border-top-right-radius:3px; |
|
976 | 977 | } |
|
977 | 978 | |
|
978 | 979 | #content .tabs ul li a:hover { |
|
979 | 980 | background-color: #ffffdd; |
|
980 | 981 | text-decoration:none; |
|
981 | 982 | } |
|
982 | 983 | |
|
983 | 984 | #content .tabs ul li a.selected { |
|
984 | 985 | background-color: #fff; |
|
985 | 986 | border: 1px solid #bbbbbb; |
|
986 | 987 | border-bottom: 1px solid #fff; |
|
987 | 988 | color:#444; |
|
988 | 989 | } |
|
989 | 990 | |
|
990 | 991 | #content .tabs ul li a.selected:hover {background-color: #fff;} |
|
991 | 992 | |
|
992 | 993 | div.tabs-buttons { position:absolute; right: 0; width: 54px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; } |
|
993 | 994 | |
|
994 | 995 | button.tab-left, button.tab-right { |
|
995 | 996 | font-size: 0.9em; |
|
996 | 997 | cursor: pointer; |
|
997 | 998 | height:24px; |
|
998 | 999 | border: 1px solid #ccc; |
|
999 | 1000 | border-bottom: 1px solid #bbbbbb; |
|
1000 | 1001 | position:absolute; |
|
1001 | 1002 | padding:4px; |
|
1002 | 1003 | width: 20px; |
|
1003 | 1004 | bottom: -1px; |
|
1004 | 1005 | } |
|
1005 | 1006 | button.tab-left:hover, button.tab-right:hover { |
|
1006 | 1007 | background-color: #f5f5f5; |
|
1007 | 1008 | } |
|
1008 | 1009 | button.tab-left:focus, button.tab-right:focus { |
|
1009 | 1010 | outline: 0; |
|
1010 | 1011 | } |
|
1011 | 1012 | |
|
1012 | 1013 | button.tab-left { |
|
1013 | 1014 | right: 20px; |
|
1014 | 1015 | background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%; |
|
1015 | 1016 | border-top-left-radius:3px; |
|
1016 | 1017 | } |
|
1017 | 1018 | |
|
1018 | 1019 | button.tab-right { |
|
1019 | 1020 | right: 0; |
|
1020 | 1021 | background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%; |
|
1021 | 1022 | border-top-right-radius:3px; |
|
1022 | 1023 | } |
|
1023 | 1024 | |
|
1024 | 1025 | button.tab-left.disabled, button.tab-right.disabled { |
|
1025 | 1026 | background-color: #ccc; |
|
1026 | 1027 | cursor: unset; |
|
1027 | 1028 | } |
|
1028 | 1029 | |
|
1029 | 1030 | /***** Diff *****/ |
|
1030 | 1031 | .diff_out { background: #fcc; } |
|
1031 | 1032 | .diff_out span { background: #faa; } |
|
1032 | 1033 | .diff_in { background: #cfc; } |
|
1033 | 1034 | .diff_in span { background: #afa; } |
|
1034 | 1035 | |
|
1035 | 1036 | .text-diff { |
|
1036 | 1037 | padding: 1em; |
|
1037 | 1038 | background-color:#f6f6f6; |
|
1038 | 1039 | color:#505050; |
|
1039 | 1040 | border: 1px solid #e4e4e4; |
|
1040 | 1041 | } |
|
1041 | 1042 | |
|
1042 | 1043 | /***** Wiki *****/ |
|
1043 | 1044 | div.wiki table { |
|
1044 | 1045 | border-collapse: collapse; |
|
1045 | 1046 | margin-bottom: 1em; |
|
1046 | 1047 | } |
|
1047 | 1048 | |
|
1048 | 1049 | div.wiki table, div.wiki td, div.wiki th { |
|
1049 | 1050 | border: 1px solid #bbb; |
|
1050 | 1051 | padding: 4px; |
|
1051 | 1052 | } |
|
1052 | 1053 | |
|
1053 | 1054 | div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;} |
|
1054 | 1055 | |
|
1055 | 1056 | div.wiki .external { |
|
1056 | 1057 | background-position: 0% 60%; |
|
1057 | 1058 | background-repeat: no-repeat; |
|
1058 | 1059 | padding-left: 12px; |
|
1059 | 1060 | background-image: url(../images/external.png); |
|
1060 | 1061 | } |
|
1061 | 1062 | |
|
1062 | 1063 | div.wiki a {word-wrap: break-word;} |
|
1063 | 1064 | div.wiki a.new {color: #b73535;} |
|
1064 | 1065 | |
|
1065 | 1066 | div.wiki ul, div.wiki ol {margin-bottom:1em;} |
|
1066 | 1067 | div.wiki li>ul, div.wiki li>ol {margin-bottom: 0;} |
|
1067 | 1068 | |
|
1068 | 1069 | div.wiki pre { |
|
1069 | 1070 | margin: 1em 1em 1em 1.6em; |
|
1070 | 1071 | padding: 8px; |
|
1071 | 1072 | background-color: #fafafa; |
|
1072 | 1073 | border: 1px solid #e2e2e2; |
|
1073 | 1074 | border-radius: 3px; |
|
1074 | 1075 | width:auto; |
|
1075 | 1076 | overflow-x: auto; |
|
1076 | 1077 | overflow-y: hidden; |
|
1077 | 1078 | } |
|
1078 | 1079 | |
|
1079 | 1080 | div.wiki ul.toc { |
|
1080 | 1081 | background-color: #ffffdd; |
|
1081 | 1082 | border: 1px solid #e4e4e4; |
|
1082 | 1083 | padding: 4px; |
|
1083 | 1084 | line-height: 1.2em; |
|
1084 | 1085 | margin-bottom: 12px; |
|
1085 | 1086 | margin-right: 12px; |
|
1086 | 1087 | margin-left: 0; |
|
1087 | 1088 | display: table |
|
1088 | 1089 | } |
|
1089 | 1090 | * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */ |
|
1090 | 1091 | |
|
1091 | 1092 | div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; } |
|
1092 | 1093 | div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; } |
|
1093 | 1094 | div.wiki ul.toc ul { margin: 0; padding: 0; } |
|
1094 | 1095 | div.wiki ul.toc li {list-style-type:none; margin: 0; font-size:12px;} |
|
1095 | 1096 | div.wiki ul.toc>li:first-child {margin-bottom: .5em; color: #777;} |
|
1096 | 1097 | div.wiki ul.toc li li {margin-left: 1.5em; font-size:10px;} |
|
1097 | 1098 | div.wiki ul.toc a { |
|
1098 | 1099 | font-size: 0.9em; |
|
1099 | 1100 | font-weight: normal; |
|
1100 | 1101 | text-decoration: none; |
|
1101 | 1102 | color: #606060; |
|
1102 | 1103 | } |
|
1103 | 1104 | div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;} |
|
1104 | 1105 | |
|
1105 | 1106 | a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; } |
|
1106 | 1107 | a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; } |
|
1107 | 1108 | h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; } |
|
1108 | 1109 | |
|
1109 | 1110 | div.wiki img {vertical-align:middle; max-width:100%;} |
|
1110 | 1111 | |
|
1111 | 1112 | /***** My page layout *****/ |
|
1112 | 1113 | .block-receiver { |
|
1113 | 1114 | border:1px dashed #c0c0c0; |
|
1114 | 1115 | margin-bottom: 20px; |
|
1115 | 1116 | padding: 15px 0 15px 0; |
|
1116 | 1117 | } |
|
1117 | 1118 | |
|
1118 | 1119 | .mypage-box { |
|
1119 | 1120 | margin:0 0 20px 0; |
|
1120 | 1121 | color:#505050; |
|
1121 | 1122 | line-height:1.5em; |
|
1122 | 1123 | } |
|
1123 | 1124 | .mypage-box .icon-close { |
|
1124 | 1125 | float:right; |
|
1125 | 1126 | } |
|
1126 | 1127 | |
|
1127 | 1128 | .handle {cursor: move;} |
|
1128 | 1129 | |
|
1129 | 1130 | /***** Gantt chart *****/ |
|
1130 | 1131 | .gantt_hdr { |
|
1131 | 1132 | position:absolute; |
|
1132 | 1133 | top:0; |
|
1133 | 1134 | height:16px; |
|
1134 | 1135 | border-top: 1px solid #c0c0c0; |
|
1135 | 1136 | border-bottom: 1px solid #c0c0c0; |
|
1136 | 1137 | border-right: 1px solid #c0c0c0; |
|
1137 | 1138 | text-align: center; |
|
1138 | 1139 | overflow: hidden; |
|
1139 | 1140 | } |
|
1140 | 1141 | |
|
1141 | 1142 | .gantt_hdr.nwday {background-color:#f1f1f1; color:#999;} |
|
1142 | 1143 | |
|
1143 | 1144 | .gantt_subjects { font-size: 0.8em; } |
|
1144 | 1145 | .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; } |
|
1145 | 1146 | |
|
1146 | 1147 | .task { |
|
1147 | 1148 | position: absolute; |
|
1148 | 1149 | height:8px; |
|
1149 | 1150 | font-size:0.8em; |
|
1150 | 1151 | color:#888; |
|
1151 | 1152 | padding:0; |
|
1152 | 1153 | margin:0; |
|
1153 | 1154 | line-height:16px; |
|
1154 | 1155 | white-space:nowrap; |
|
1155 | 1156 | } |
|
1156 | 1157 | |
|
1157 | 1158 | .task.label {width:100%;} |
|
1158 | 1159 | .task.label.project, .task.label.version { font-weight: bold; } |
|
1159 | 1160 | |
|
1160 | 1161 | .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; } |
|
1161 | 1162 | .task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; } |
|
1162 | 1163 | .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; } |
|
1163 | 1164 | |
|
1164 | 1165 | .task_todo.parent { background: #888; border: 1px solid #888; height: 3px;} |
|
1165 | 1166 | .task_late.parent, .task_done.parent { height: 3px;} |
|
1166 | 1167 | .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;} |
|
1167 | 1168 | .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;} |
|
1168 | 1169 | |
|
1169 | 1170 | .version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;} |
|
1170 | 1171 | .version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;} |
|
1171 | 1172 | .version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;} |
|
1172 | 1173 | .version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; } |
|
1173 | 1174 | |
|
1174 | 1175 | .project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;} |
|
1175 | 1176 | .project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;} |
|
1176 | 1177 | .project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;} |
|
1177 | 1178 | .project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; } |
|
1178 | 1179 | |
|
1179 | 1180 | .version-behind-schedule a, .issue-behind-schedule a {color: #f66914;} |
|
1180 | 1181 | .version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;} |
|
1181 | 1182 | |
|
1182 | 1183 | /***** Icons *****/ |
|
1183 | 1184 | .icon { |
|
1184 | 1185 | background-position: 0% 50%; |
|
1185 | 1186 | background-repeat: no-repeat; |
|
1186 | 1187 | padding-left: 20px; |
|
1187 | 1188 | } |
|
1188 | 1189 | .icon-only { |
|
1189 | 1190 | background-position: 0% 50%; |
|
1190 | 1191 | background-repeat: no-repeat; |
|
1191 | 1192 | padding-left: 16px; |
|
1192 | 1193 | display: inline-block; |
|
1193 | 1194 | width: 0; |
|
1194 | 1195 | height: 16px; |
|
1195 | 1196 | overflow: hidden; |
|
1196 | 1197 | padding-top: 0; |
|
1197 | 1198 | padding-bottom: 0; |
|
1198 | 1199 | font-size: 8px; |
|
1199 | 1200 | vertical-align: middle; |
|
1200 | 1201 | } |
|
1201 | 1202 | .icon-only::after { |
|
1202 | 1203 | content: " "; |
|
1203 | 1204 | } |
|
1204 | 1205 | |
|
1205 | 1206 | .icon-add { background-image: url(../images/add.png); } |
|
1206 | 1207 | .icon-edit { background-image: url(../images/edit.png); } |
|
1207 | 1208 | .icon-copy { background-image: url(../images/copy.png); } |
|
1208 | 1209 | .icon-duplicate { background-image: url(../images/duplicate.png); } |
|
1209 | 1210 | .icon-del { background-image: url(../images/delete.png); } |
|
1210 | 1211 | .icon-move { background-image: url(../images/move.png); } |
|
1211 | 1212 | .icon-save { background-image: url(../images/save.png); } |
|
1212 | 1213 | .icon-cancel { background-image: url(../images/cancel.png); } |
|
1213 | 1214 | .icon-multiple { background-image: url(../images/table_multiple.png); } |
|
1214 | 1215 | .icon-folder { background-image: url(../images/folder.png); } |
|
1215 | 1216 | .open .icon-folder { background-image: url(../images/folder_open.png); } |
|
1216 | 1217 | .icon-package { background-image: url(../images/package.png); } |
|
1217 | 1218 | .icon-user { background-image: url(../images/user.png); } |
|
1218 | 1219 | .icon-project, .icon-projects { background-image: url(../images/projects.png); } |
|
1219 | 1220 | .icon-help { background-image: url(../images/help.png); } |
|
1220 | 1221 | .icon-attachment { background-image: url(../images/attachment.png); } |
|
1221 | 1222 | .icon-history { background-image: url(../images/history.png); } |
|
1222 | 1223 | .icon-time-entry, .icon-time { background-image: url(../images/time.png); } |
|
1223 | 1224 | .icon-time-add { background-image: url(../images/time_add.png); } |
|
1224 | 1225 | .icon-stats { background-image: url(../images/stats.png); } |
|
1225 | 1226 | .icon-warning { background-image: url(../images/warning.png); } |
|
1226 | 1227 | .icon-error { background-image: url(../images/exclamation.png); } |
|
1227 | 1228 | .icon-fav { background-image: url(../images/fav.png); } |
|
1228 | 1229 | .icon-fav-off { background-image: url(../images/fav_off.png); } |
|
1229 | 1230 | .icon-reload { background-image: url(../images/reload.png); } |
|
1230 | 1231 | .icon-lock, .icon-locked { background-image: url(../images/locked.png); } |
|
1231 | 1232 | .icon-unlock { background-image: url(../images/unlock.png); } |
|
1232 | 1233 | .icon-checked { background-image: url(../images/toggle_check.png); } |
|
1233 | 1234 | .icon-details { background-image: url(../images/zoom_in.png); } |
|
1234 | 1235 | .icon-report { background-image: url(../images/report.png); } |
|
1235 | 1236 | .icon-comment, .icon-comments { background-image: url(../images/comment.png); } |
|
1236 | 1237 | .icon-summary { background-image: url(../images/lightning.png); } |
|
1237 | 1238 | .icon-server-authentication { background-image: url(../images/server_key.png); } |
|
1238 | 1239 | .icon-issue { background-image: url(../images/ticket.png); } |
|
1239 | 1240 | .icon-zoom-in { background-image: url(../images/zoom_in.png); } |
|
1240 | 1241 | .icon-zoom-out { background-image: url(../images/zoom_out.png); } |
|
1241 | 1242 | .icon-magnifier { background-image: url(../images/magnifier.png); } |
|
1242 | 1243 | .icon-passwd { background-image: url(../images/textfield_key.png); } |
|
1243 | 1244 | .icon-arrow-right, .icon-test, .icon-sticky { background-image: url(../images/bullet_go.png); } |
|
1244 | 1245 | .icon-email { background-image: url(../images/email.png); } |
|
1245 | 1246 | .icon-email-disabled { background-image: url(../images/email_disabled.png); } |
|
1246 | 1247 | .icon-email-add { background-image: url(../images/email_add.png); } |
|
1247 | 1248 | .icon-move-up { background-image: url(../images/1uparrow.png); } |
|
1248 | 1249 | .icon-move-top { background-image: url(../images/2uparrow.png); } |
|
1249 | 1250 | .icon-move-down { background-image: url(../images/1downarrow.png); } |
|
1250 | 1251 | .icon-move-bottom { background-image: url(../images/2downarrow.png); } |
|
1251 | 1252 | .icon-ok { background-image: url(../images/true.png); } |
|
1252 | 1253 | .icon-not-ok { background-image: url(../images/false.png); } |
|
1253 | 1254 | .icon-link-break { background-image: url(../images/link_break.png); } |
|
1254 | 1255 | .icon-list { background-image: url(../images/text_list_bullets.png); } |
|
1255 | 1256 | .icon-close { background-image: url(../images/close.png); } |
|
1256 | 1257 | .icon-close:hover { background-image: url(../images/close_hl.png); } |
|
1257 | 1258 | .icon-settings { background-image: url(../images/changeset.png); } |
|
1258 | 1259 | .icon-group, .icon-groupnonmember, .icon-groupanonymous { background-image: url(../images/group.png); } |
|
1259 | 1260 | .icon-roles { background-image: url(../images/database_key.png); } |
|
1260 | 1261 | .icon-issue-edit { background-image: url(../images/ticket_edit.png); } |
|
1261 | 1262 | .icon-workflows { background-image: url(../images/ticket_go.png); } |
|
1262 | 1263 | .icon-custom-fields { background-image: url(../images/textfield.png); } |
|
1263 | 1264 | .icon-plugins { background-image: url(../images/plugin.png); } |
|
1264 | 1265 | .icon-news { background-image: url(../images/news.png); } |
|
1265 | 1266 | .icon-issue-closed { background-image: url(../images/ticket_checked.png); } |
|
1266 | 1267 | .icon-issue-note { background-image: url(../images/ticket_note.png); } |
|
1267 | 1268 | .icon-changeset { background-image: url(../images/changeset.png); } |
|
1268 | 1269 | .icon-message { background-image: url(../images/message.png); } |
|
1269 | 1270 | .icon-reply { background-image: url(../images/comments.png); } |
|
1270 | 1271 | .icon-wiki-page { background-image: url(../images/wiki_edit.png); } |
|
1271 | 1272 | .icon-document { background-image: url(../images/document.png); } |
|
1272 | 1273 | .icon-project { background-image: url(../images/projects.png); } |
|
1273 | 1274 | .icon-add-bullet { background-image: url(../images/bullet_add.png); } |
|
1274 | 1275 | .icon-shared { background-image: url(../images/link.png) }; |
|
1275 | 1276 | |
|
1276 | 1277 | .icon-file { background-image: url(../images/files/default.png); } |
|
1277 | 1278 | .icon-file.text-plain { background-image: url(../images/files/text.png); } |
|
1278 | 1279 | .icon-file.text-x-c { background-image: url(../images/files/c.png); } |
|
1279 | 1280 | .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); } |
|
1280 | 1281 | .icon-file.text-x-java { background-image: url(../images/files/java.png); } |
|
1281 | 1282 | .icon-file.text-x-javascript { background-image: url(../images/files/js.png); } |
|
1282 | 1283 | .icon-file.text-x-php { background-image: url(../images/files/php.png); } |
|
1283 | 1284 | .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); } |
|
1284 | 1285 | .icon-file.text-xml { background-image: url(../images/files/xml.png); } |
|
1285 | 1286 | .icon-file.text-css { background-image: url(../images/files/css.png); } |
|
1286 | 1287 | .icon-file.text-html { background-image: url(../images/files/html.png); } |
|
1287 | 1288 | .icon-file.image-gif { background-image: url(../images/files/image.png); } |
|
1288 | 1289 | .icon-file.image-jpeg { background-image: url(../images/files/image.png); } |
|
1289 | 1290 | .icon-file.image-png { background-image: url(../images/files/image.png); } |
|
1290 | 1291 | .icon-file.image-tiff { background-image: url(../images/files/image.png); } |
|
1291 | 1292 | .icon-file.application-pdf { background-image: url(../images/files/pdf.png); } |
|
1292 | 1293 | .icon-file.application-zip { background-image: url(../images/files/zip.png); } |
|
1293 | 1294 | .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); } |
|
1294 | 1295 | |
|
1295 | 1296 | .sort-handle { width:16px; height:16px; background:url(../images/reorder.png) no-repeat 0 50%; cursor:move; } |
|
1296 | 1297 | .sort-handle.ajax-loading { background-image: url(../images/loading.gif); } |
|
1297 | 1298 | tr.ui-sortable-helper { border:1px solid #e4e4e4; } |
|
1298 | 1299 | |
|
1299 | 1300 | .contextual>*:not(:first-child), .buttons>.icon:not(:first-child) { margin-left: 5px; } |
|
1300 | 1301 | |
|
1301 | 1302 | img.gravatar { |
|
1302 | 1303 | vertical-align: middle; |
|
1303 | 1304 | border-radius: 20%; |
|
1304 | 1305 | } |
|
1305 | 1306 | |
|
1306 | 1307 | div.issue img.gravatar { |
|
1307 | 1308 | float: left; |
|
1308 | 1309 | margin: 0 6px 0 0; |
|
1309 | 1310 | } |
|
1310 | 1311 | |
|
1311 | 1312 | h2 img.gravatar {margin: -2px 4px -4px 0;} |
|
1312 | 1313 | h3 img.gravatar {margin: -4px 4px -4px 0;} |
|
1313 | 1314 | h4 img.gravatar {margin: -2px 4px -4px 0;} |
|
1314 | 1315 | td.username img.gravatar {margin: 0 0.5em 0 0; vertical-align: top;} |
|
1315 | 1316 | #activity dt img.gravatar {float: left; margin: 0 1em 1em 0;} |
|
1316 | 1317 | /* Used on 12px Gravatar img tags without the icon background */ |
|
1317 | 1318 | .icon-gravatar {float: left; margin-right: 4px;} |
|
1318 | 1319 | |
|
1319 | 1320 | #activity dt, .journal {clear: left;} |
|
1320 | 1321 | |
|
1321 | 1322 | .journal-link {float: right;} |
|
1322 | 1323 | |
|
1323 | 1324 | h2 img { vertical-align:middle; } |
|
1324 | 1325 | |
|
1325 | 1326 | .hascontextmenu { cursor: context-menu; } |
|
1326 | 1327 | |
|
1327 | 1328 | .sample-data {border:1px solid #ccc; border-collapse:collapse; background-color:#fff; margin:0.5em;} |
|
1328 | 1329 | .sample-data td {border:1px solid #ccc; padding: 2px 4px; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;} |
|
1329 | 1330 | .sample-data tr:first-child td {font-weight:bold; text-align:center;} |
|
1330 | 1331 | |
|
1331 | 1332 | .ui-progressbar {position: relative;} |
|
1332 | 1333 | #progress-label { |
|
1333 | 1334 | position: absolute; left: 50%; top: 4px; |
|
1334 | 1335 | font-weight: bold; |
|
1335 | 1336 | color: #555; text-shadow: 1px 1px 0 #fff; |
|
1336 | 1337 | } |
|
1337 | 1338 | |
|
1338 | 1339 | /* Custom JQuery styles */ |
|
1339 | 1340 | .ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;} |
|
1340 | 1341 | |
|
1341 | 1342 | |
|
1342 | 1343 | /************* CodeRay styles *************/ |
|
1343 | 1344 | .syntaxhl div {display: inline;} |
|
1344 | 1345 | .syntaxhl .code pre { overflow: auto } |
|
1345 | 1346 | |
|
1346 | 1347 | .syntaxhl .annotation { color:#007 } |
|
1347 | 1348 | .syntaxhl .attribute-name { color:#b48 } |
|
1348 | 1349 | .syntaxhl .attribute-value { color:#700 } |
|
1349 | 1350 | .syntaxhl .binary { color:#549 } |
|
1350 | 1351 | .syntaxhl .binary .char { color:#325 } |
|
1351 | 1352 | .syntaxhl .binary .delimiter { color:#325 } |
|
1352 | 1353 | .syntaxhl .char { color:#D20 } |
|
1353 | 1354 | .syntaxhl .char .content { color:#D20 } |
|
1354 | 1355 | .syntaxhl .char .delimiter { color:#710 } |
|
1355 | 1356 | .syntaxhl .class { color:#B06; font-weight:bold } |
|
1356 | 1357 | .syntaxhl .class-variable { color:#369 } |
|
1357 | 1358 | .syntaxhl .color { color:#0A0 } |
|
1358 | 1359 | .syntaxhl .comment { color:#777 } |
|
1359 | 1360 | .syntaxhl .comment .char { color:#444 } |
|
1360 | 1361 | .syntaxhl .comment .delimiter { color:#444 } |
|
1361 | 1362 | .syntaxhl .constant { color:#036; font-weight:bold } |
|
1362 | 1363 | .syntaxhl .decorator { color:#B0B } |
|
1363 | 1364 | .syntaxhl .definition { color:#099; font-weight:bold } |
|
1364 | 1365 | .syntaxhl .delimiter { color:black } |
|
1365 | 1366 | .syntaxhl .directive { color:#088; font-weight:bold } |
|
1366 | 1367 | .syntaxhl .docstring { color:#D42; } |
|
1367 | 1368 | .syntaxhl .doctype { color:#34b } |
|
1368 | 1369 | .syntaxhl .done { text-decoration: line-through; color: gray } |
|
1369 | 1370 | .syntaxhl .entity { color:#800; font-weight:bold } |
|
1370 | 1371 | .syntaxhl .error { color:#F00; background-color:#FAA } |
|
1371 | 1372 | .syntaxhl .escape { color:#666 } |
|
1372 | 1373 | .syntaxhl .exception { color:#C00; font-weight:bold } |
|
1373 | 1374 | .syntaxhl .float { color:#60E } |
|
1374 | 1375 | .syntaxhl .function { color:#06B; font-weight:bold } |
|
1375 | 1376 | .syntaxhl .function .delimiter { color:#059 } |
|
1376 | 1377 | .syntaxhl .function .content { color:#037 } |
|
1377 | 1378 | .syntaxhl .global-variable { color:#d70 } |
|
1378 | 1379 | .syntaxhl .hex { color:#02b } |
|
1379 | 1380 | .syntaxhl .id { color:#33D; font-weight:bold } |
|
1380 | 1381 | .syntaxhl .include { color:#B44; font-weight:bold } |
|
1381 | 1382 | .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black } |
|
1382 | 1383 | .syntaxhl .inline-delimiter { font-weight: bold; color: #666 } |
|
1383 | 1384 | .syntaxhl .instance-variable { color:#33B } |
|
1384 | 1385 | .syntaxhl .integer { color:#00D } |
|
1385 | 1386 | .syntaxhl .imaginary { color:#f00 } |
|
1386 | 1387 | .syntaxhl .important { color:#D00 } |
|
1387 | 1388 | .syntaxhl .key { color: #606 } |
|
1388 | 1389 | .syntaxhl .key .char { color: #60f } |
|
1389 | 1390 | .syntaxhl .key .delimiter { color: #404 } |
|
1390 | 1391 | .syntaxhl .keyword { color:#080; font-weight:bold } |
|
1391 | 1392 | .syntaxhl .label { color:#970; font-weight:bold } |
|
1392 | 1393 | .syntaxhl .local-variable { color:#950 } |
|
1393 | 1394 | .syntaxhl .map .content { color:#808 } |
|
1394 | 1395 | .syntaxhl .map .delimiter { color:#40A} |
|
1395 | 1396 | .syntaxhl .map { background-color:hsla(200,100%,50%,0.06); } |
|
1396 | 1397 | .syntaxhl .namespace { color:#707; font-weight:bold } |
|
1397 | 1398 | .syntaxhl .octal { color:#40E } |
|
1398 | 1399 | .syntaxhl .operator { } |
|
1399 | 1400 | .syntaxhl .predefined { color:#369; font-weight:bold } |
|
1400 | 1401 | .syntaxhl .predefined-constant { color:#069 } |
|
1401 | 1402 | .syntaxhl .predefined-type { color:#0a8; font-weight:bold } |
|
1402 | 1403 | .syntaxhl .preprocessor { color:#579 } |
|
1403 | 1404 | .syntaxhl .pseudo-class { color:#00C; font-weight:bold } |
|
1404 | 1405 | .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); } |
|
1405 | 1406 | .syntaxhl .regexp .content { color:#808 } |
|
1406 | 1407 | .syntaxhl .regexp .delimiter { color:#404 } |
|
1407 | 1408 | .syntaxhl .regexp .modifier { color:#C2C } |
|
1408 | 1409 | .syntaxhl .reserved { color:#080; font-weight:bold } |
|
1409 | 1410 | .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); } |
|
1410 | 1411 | .syntaxhl .shell .content { color:#2B2 } |
|
1411 | 1412 | .syntaxhl .shell .delimiter { color:#161 } |
|
1412 | 1413 | .syntaxhl .string { background-color:hsla(0,100%,50%,0.05); } |
|
1413 | 1414 | .syntaxhl .string .char { color: #b0b } |
|
1414 | 1415 | .syntaxhl .string .content { color: #D20 } |
|
1415 | 1416 | .syntaxhl .string .delimiter { color: #710 } |
|
1416 | 1417 | .syntaxhl .string .modifier { color: #E40 } |
|
1417 | 1418 | .syntaxhl .symbol { color:#A60 } |
|
1418 | 1419 | .syntaxhl .symbol .content { color:#A60 } |
|
1419 | 1420 | .syntaxhl .symbol .delimiter { color:#740 } |
|
1420 | 1421 | .syntaxhl .tag { color:#070; font-weight:bold } |
|
1421 | 1422 | .syntaxhl .type { color:#339; font-weight:bold } |
|
1422 | 1423 | .syntaxhl .value { color: #088 } |
|
1423 | 1424 | .syntaxhl .variable { color:#037 } |
|
1424 | 1425 | |
|
1425 | 1426 | .syntaxhl .insert { background: hsla(120,100%,50%,0.12) } |
|
1426 | 1427 | .syntaxhl .delete { background: hsla(0,100%,50%,0.12) } |
|
1427 | 1428 | .syntaxhl .change { color: #bbf; background: #007 } |
|
1428 | 1429 | .syntaxhl .head { color: #f8f; background: #505 } |
|
1429 | 1430 | .syntaxhl .head .filename { color: white; } |
|
1430 | 1431 | |
|
1431 | 1432 | .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; } |
|
1432 | 1433 | .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; } |
|
1433 | 1434 | |
|
1434 | 1435 | .syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold } |
|
1435 | 1436 | .syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold } |
|
1436 | 1437 | .syntaxhl .change .change { color: #88f } |
|
1437 | 1438 | .syntaxhl .head .head { color: #f4f } |
|
1438 | 1439 | |
|
1439 | 1440 | /***** Media print specific styles *****/ |
|
1440 | 1441 | @media print { |
|
1441 | 1442 | #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; } |
|
1442 | 1443 | #main { background: #fff; } |
|
1443 | 1444 | #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;} |
|
1444 | 1445 | #wiki_add_attachment { display:none; } |
|
1445 | 1446 | .hide-when-print, .pagination ul.pages, .pagination .per-page { display: none !important; } |
|
1446 | 1447 | .autoscroll {overflow-x: visible;} |
|
1447 | 1448 | table.list {margin-top:0.5em;} |
|
1448 | 1449 | table.list th, table.list td {border: 1px solid #aaa;} |
|
1449 | 1450 | } |
|
1450 | 1451 | |
|
1451 | 1452 | /* Accessibility specific styles */ |
|
1452 | 1453 | .hidden-for-sighted { |
|
1453 | 1454 | position:absolute; |
|
1454 | 1455 | left:-10000px; |
|
1455 | 1456 | top:auto; |
|
1456 | 1457 | width:1px; |
|
1457 | 1458 | height:1px; |
|
1458 | 1459 | overflow:hidden; |
|
1459 | 1460 | } |
@@ -1,302 +1,312 | |||
|
1 | 1 | # Redmine - project management software |
|
2 | 2 | # Copyright (C) 2006-2016 Jean-Philippe Lang |
|
3 | 3 | # |
|
4 | 4 | # This program is free software; you can redistribute it and/or |
|
5 | 5 | # modify it under the terms of the GNU General Public License |
|
6 | 6 | # as published by the Free Software Foundation; either version 2 |
|
7 | 7 | # of the License, or (at your option) any later version. |
|
8 | 8 | # |
|
9 | 9 | # This program is distributed in the hope that it will be useful, |
|
10 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | 12 | # GNU General Public License for more details. |
|
13 | 13 | # |
|
14 | 14 | # You should have received a copy of the GNU General Public License |
|
15 | 15 | # along with this program; if not, write to the Free Software |
|
16 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17 | 17 | |
|
18 | 18 | require File.expand_path('../../test_helper', __FILE__) |
|
19 | 19 | |
|
20 | 20 | class RepositoriesControllerTest < Redmine::ControllerTest |
|
21 | 21 | fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, :enabled_modules, |
|
22 | 22 | :repositories, :issues, :issue_statuses, :changesets, :changes, |
|
23 | 23 | :issue_categories, :enumerations, :custom_fields, :custom_values, :trackers |
|
24 | 24 | |
|
25 | 25 | def setup |
|
26 | 26 | User.current = nil |
|
27 | 27 | end |
|
28 | 28 | |
|
29 | 29 | def test_new |
|
30 | 30 | @request.session[:user_id] = 1 |
|
31 | 31 | get :new, :project_id => 'subproject1' |
|
32 | 32 | assert_response :success |
|
33 | 33 | assert_select 'select[name=?]', 'repository_scm' do |
|
34 | 34 | assert_select 'option[value=?][selected=selected]', 'Subversion' |
|
35 | 35 | end |
|
36 | 36 | assert_select 'input[name=?]:not([disabled])', 'repository[url]' |
|
37 | 37 | end |
|
38 | 38 | |
|
39 | 39 | def test_new_should_propose_enabled_scm_only |
|
40 | 40 | @request.session[:user_id] = 1 |
|
41 | 41 | with_settings :enabled_scm => ['Mercurial', 'Git'] do |
|
42 | 42 | get :new, :project_id => 'subproject1' |
|
43 | 43 | end |
|
44 | 44 | assert_response :success |
|
45 | 45 | |
|
46 | 46 | assert_select 'select[name=repository_scm]' do |
|
47 | 47 | assert_select 'option', 3 |
|
48 | 48 | assert_select 'option[value=Mercurial][selected=selected]' |
|
49 | 49 | assert_select 'option[value=Git]:not([selected])' |
|
50 | 50 | end |
|
51 | 51 | end |
|
52 | 52 | |
|
53 | 53 | def test_get_new_with_type |
|
54 | 54 | @request.session[:user_id] = 1 |
|
55 | 55 | get :new, :project_id => 'subproject1', :repository_scm => 'Git' |
|
56 | 56 | assert_response :success |
|
57 | 57 | |
|
58 | 58 | assert_select 'select[name=?]', 'repository_scm' do |
|
59 | 59 | assert_select 'option[value=?][selected=selected]', 'Git' |
|
60 | 60 | end |
|
61 | 61 | end |
|
62 | 62 | |
|
63 | 63 | def test_create |
|
64 | 64 | @request.session[:user_id] = 1 |
|
65 | 65 | assert_difference 'Repository.count' do |
|
66 | 66 | post :create, :project_id => 'subproject1', |
|
67 | 67 | :repository_scm => 'Subversion', |
|
68 | 68 | :repository => {:url => 'file:///test', :is_default => '1', :identifier => ''} |
|
69 | 69 | end |
|
70 | 70 | assert_response 302 |
|
71 | 71 | repository = Repository.order('id DESC').first |
|
72 | 72 | assert_kind_of Repository::Subversion, repository |
|
73 | 73 | assert_equal 'file:///test', repository.url |
|
74 | 74 | end |
|
75 | 75 | |
|
76 | 76 | def test_create_with_failure |
|
77 | 77 | @request.session[:user_id] = 1 |
|
78 | 78 | assert_no_difference 'Repository.count' do |
|
79 | 79 | post :create, :project_id => 'subproject1', |
|
80 | 80 | :repository_scm => 'Subversion', |
|
81 | 81 | :repository => {:url => 'invalid'} |
|
82 | 82 | end |
|
83 | 83 | assert_response :success |
|
84 | 84 | assert_select_error /URL is invalid/ |
|
85 | 85 | assert_select 'select[name=?]', 'repository_scm' do |
|
86 | 86 | assert_select 'option[value=?][selected=selected]', 'Subversion' |
|
87 | 87 | end |
|
88 | 88 | end |
|
89 | 89 | |
|
90 | 90 | def test_edit |
|
91 | 91 | @request.session[:user_id] = 1 |
|
92 | 92 | get :edit, :id => 11 |
|
93 | 93 | assert_response :success |
|
94 | 94 | assert_select 'input[name=?][value=?][disabled=disabled]', 'repository[url]', 'svn://localhost/test' |
|
95 | 95 | end |
|
96 | 96 | |
|
97 | 97 | def test_update |
|
98 | 98 | @request.session[:user_id] = 1 |
|
99 | 99 | put :update, :id => 11, :repository => {:password => 'test_update'} |
|
100 | 100 | assert_response 302 |
|
101 | 101 | assert_equal 'test_update', Repository.find(11).password |
|
102 | 102 | end |
|
103 | 103 | |
|
104 | 104 | def test_update_with_failure |
|
105 | 105 | @request.session[:user_id] = 1 |
|
106 | 106 | put :update, :id => 11, :repository => {:password => 'x'*260} |
|
107 | 107 | assert_response :success |
|
108 | 108 | assert_select_error /Password is too long/ |
|
109 | 109 | end |
|
110 | 110 | |
|
111 | 111 | def test_destroy |
|
112 | 112 | @request.session[:user_id] = 1 |
|
113 | 113 | assert_difference 'Repository.count', -1 do |
|
114 | 114 | delete :destroy, :id => 11 |
|
115 | 115 | end |
|
116 | 116 | assert_response 302 |
|
117 | 117 | assert_nil Repository.find_by_id(11) |
|
118 | 118 | end |
|
119 | 119 | |
|
120 | 120 | def test_show_with_autofetch_changesets_enabled_should_fetch_changesets |
|
121 | 121 | Repository::Subversion.any_instance.expects(:fetch_changesets).once |
|
122 | 122 | |
|
123 | 123 | with_settings :autofetch_changesets => '1' do |
|
124 | 124 | get :show, :id => 1 |
|
125 | 125 | end |
|
126 | 126 | end |
|
127 | 127 | |
|
128 | 128 | def test_show_with_autofetch_changesets_disabled_should_not_fetch_changesets |
|
129 | 129 | Repository::Subversion.any_instance.expects(:fetch_changesets).never |
|
130 | 130 | |
|
131 | 131 | with_settings :autofetch_changesets => '0' do |
|
132 | 132 | get :show, :id => 1 |
|
133 | 133 | end |
|
134 | 134 | end |
|
135 | 135 | |
|
136 | 136 | def test_show_with_closed_project_should_not_fetch_changesets |
|
137 | 137 | Repository::Subversion.any_instance.expects(:fetch_changesets).never |
|
138 | 138 | Project.find(1).close |
|
139 | 139 | |
|
140 | 140 | with_settings :autofetch_changesets => '1' do |
|
141 | 141 | get :show, :id => 1 |
|
142 | 142 | end |
|
143 | 143 | end |
|
144 | 144 | |
|
145 | 145 | def test_revisions |
|
146 | 146 | get :revisions, :id => 1 |
|
147 | 147 | assert_response :success |
|
148 | 148 | assert_select 'table.changesets' |
|
149 | 149 | end |
|
150 | 150 | |
|
151 | 151 | def test_revisions_for_other_repository |
|
152 | 152 | repository = Repository::Subversion.create!(:project_id => 1, :identifier => 'foo', :url => 'file:///foo') |
|
153 | 153 | |
|
154 | 154 | get :revisions, :id => 1, :repository_id => 'foo' |
|
155 | 155 | assert_response :success |
|
156 | 156 | assert_select 'table.changesets' |
|
157 | 157 | end |
|
158 | 158 | |
|
159 | 159 | def test_revisions_for_invalid_repository |
|
160 | 160 | get :revisions, :id => 1, :repository_id => 'foo' |
|
161 | 161 | assert_response 404 |
|
162 | 162 | end |
|
163 | 163 | |
|
164 | 164 | def test_revision |
|
165 | 165 | get :revision, :id => 1, :rev => 1 |
|
166 | 166 | assert_response :success |
|
167 | 167 | assert_select 'h2', :text => 'Revision 1' |
|
168 | 168 | end |
|
169 | 169 | |
|
170 | def test_revision_should_not_format_comments_when_disabled | |
|
171 | Changeset.where(:id => 100).update_all(:comments => 'Simple *text*') | |
|
172 | ||
|
173 | with_settings :commit_logs_formatting => '0' do | |
|
174 | get :revision, :id => 1, :rev => 1 | |
|
175 | assert_response :success | |
|
176 | assert_select '.changset-comments', :text => 'Simple *text*' | |
|
177 | end | |
|
178 | end | |
|
179 | ||
|
170 | 180 | def test_revision_should_show_add_related_issue_form |
|
171 | 181 | Role.find(1).add_permission! :manage_related_issues |
|
172 | 182 | @request.session[:user_id] = 2 |
|
173 | 183 | |
|
174 | 184 | get :revision, :id => 1, :rev => 1 |
|
175 | 185 | assert_response :success |
|
176 | 186 | |
|
177 | 187 | assert_select 'form[action=?]', '/projects/ecookbook/repository/revisions/1/issues' do |
|
178 | 188 | assert_select 'input[name=?]', 'issue_id' |
|
179 | 189 | end |
|
180 | 190 | end |
|
181 | 191 | |
|
182 | 192 | def test_revision_should_not_change_the_project_menu_link |
|
183 | 193 | get :revision, :id => 1, :rev => 1 |
|
184 | 194 | assert_response :success |
|
185 | 195 | |
|
186 | 196 | assert_select '#main-menu a.repository[href=?]', '/projects/ecookbook/repository' |
|
187 | 197 | end |
|
188 | 198 | |
|
189 | 199 | def test_revision_with_before_nil_and_afer_normal |
|
190 | 200 | get :revision, {:id => 1, :rev => 1} |
|
191 | 201 | assert_response :success |
|
192 | 202 | |
|
193 | 203 | assert_select 'div.contextual' do |
|
194 | 204 | assert_select 'a[href=?]', '/projects/ecookbook/repository/revisions/0', 0 |
|
195 | 205 | assert_select 'a[href=?]', '/projects/ecookbook/repository/revisions/2' |
|
196 | 206 | end |
|
197 | 207 | end |
|
198 | 208 | |
|
199 | 209 | def test_add_related_issue |
|
200 | 210 | @request.session[:user_id] = 2 |
|
201 | 211 | assert_difference 'Changeset.find(103).issues.size' do |
|
202 | 212 | xhr :post, :add_related_issue, :id => 1, :rev => 4, :issue_id => 2, :format => 'js' |
|
203 | 213 | assert_response :success |
|
204 | 214 | assert_equal 'text/javascript', response.content_type |
|
205 | 215 | end |
|
206 | 216 | assert_equal [2], Changeset.find(103).issue_ids |
|
207 | 217 | assert_include 'related-issues', response.body |
|
208 | 218 | assert_include 'Feature request #2', response.body |
|
209 | 219 | end |
|
210 | 220 | |
|
211 | 221 | def test_add_related_issue_should_accept_issue_id_with_sharp |
|
212 | 222 | @request.session[:user_id] = 2 |
|
213 | 223 | assert_difference 'Changeset.find(103).issues.size' do |
|
214 | 224 | xhr :post, :add_related_issue, :id => 1, :rev => 4, :issue_id => "#2", :format => 'js' |
|
215 | 225 | end |
|
216 | 226 | assert_equal [2], Changeset.find(103).issue_ids |
|
217 | 227 | end |
|
218 | 228 | |
|
219 | 229 | def test_add_related_issue_with_invalid_issue_id |
|
220 | 230 | @request.session[:user_id] = 2 |
|
221 | 231 | assert_no_difference 'Changeset.find(103).issues.size' do |
|
222 | 232 | xhr :post, :add_related_issue, :id => 1, :rev => 4, :issue_id => 9999, :format => 'js' |
|
223 | 233 | assert_response :success |
|
224 | 234 | assert_equal 'text/javascript', response.content_type |
|
225 | 235 | end |
|
226 | 236 | assert_include 'alert("Issue is invalid")', response.body |
|
227 | 237 | end |
|
228 | 238 | |
|
229 | 239 | def test_remove_related_issue |
|
230 | 240 | Changeset.find(103).issues << Issue.find(1) |
|
231 | 241 | Changeset.find(103).issues << Issue.find(2) |
|
232 | 242 | |
|
233 | 243 | @request.session[:user_id] = 2 |
|
234 | 244 | assert_difference 'Changeset.find(103).issues.size', -1 do |
|
235 | 245 | xhr :delete, :remove_related_issue, :id => 1, :rev => 4, :issue_id => 2, :format => 'js' |
|
236 | 246 | assert_response :success |
|
237 | 247 | assert_equal 'text/javascript', response.content_type |
|
238 | 248 | end |
|
239 | 249 | assert_equal [1], Changeset.find(103).issue_ids |
|
240 | 250 | assert_include 'related-issue-2', response.body |
|
241 | 251 | end |
|
242 | 252 | |
|
243 | 253 | def test_graph_commits_per_month |
|
244 | 254 | # Make sure there's some data to display |
|
245 | 255 | latest = Project.find(1).repository.changesets.maximum(:commit_date) |
|
246 | 256 | assert_not_nil latest |
|
247 | 257 | Date.stubs(:today).returns(latest.to_date + 10) |
|
248 | 258 | |
|
249 | 259 | get :graph, :id => 1, :graph => 'commits_per_month' |
|
250 | 260 | assert_response :success |
|
251 | 261 | assert_equal 'image/svg+xml', @response.content_type |
|
252 | 262 | end |
|
253 | 263 | |
|
254 | 264 | def test_graph_commits_per_author |
|
255 | 265 | get :graph, :id => 1, :graph => 'commits_per_author' |
|
256 | 266 | assert_response :success |
|
257 | 267 | assert_equal 'image/svg+xml', @response.content_type |
|
258 | 268 | end |
|
259 | 269 | |
|
260 | 270 | def test_get_committers |
|
261 | 271 | @request.session[:user_id] = 2 |
|
262 | 272 | # add a commit with an unknown user |
|
263 | 273 | Changeset.create!( |
|
264 | 274 | :repository => Project.find(1).repository, |
|
265 | 275 | :committer => 'foo', |
|
266 | 276 | :committed_on => Time.now, |
|
267 | 277 | :revision => 100, |
|
268 | 278 | :comments => 'Committed by foo.' |
|
269 | 279 | ) |
|
270 | 280 | |
|
271 | 281 | get :committers, :id => 10 |
|
272 | 282 | assert_response :success |
|
273 | 283 | |
|
274 | 284 | assert_select 'input[value=dlopper] + select option[value="3"][selected=selected]', :text => 'Dave Lopper' |
|
275 | 285 | assert_select 'input[value=foo] + select option[selected=selected]', 0 # no option selected |
|
276 | 286 | end |
|
277 | 287 | |
|
278 | 288 | def test_get_committers_without_changesets |
|
279 | 289 | Changeset.delete_all |
|
280 | 290 | @request.session[:user_id] = 2 |
|
281 | 291 | |
|
282 | 292 | get :committers, :id => 10 |
|
283 | 293 | assert_response :success |
|
284 | 294 | end |
|
285 | 295 | |
|
286 | 296 | def test_post_committers |
|
287 | 297 | @request.session[:user_id] = 2 |
|
288 | 298 | # add a commit with an unknown user |
|
289 | 299 | c = Changeset.create!( |
|
290 | 300 | :repository => Project.find(1).repository, |
|
291 | 301 | :committer => 'foo', |
|
292 | 302 | :committed_on => Time.now, |
|
293 | 303 | :revision => 100, |
|
294 | 304 | :comments => 'Committed by foo.' |
|
295 | 305 | ) |
|
296 | 306 | assert_no_difference "Changeset.where(:user_id => 3).count" do |
|
297 | 307 | post :committers, :id => 10, :committers => { '0' => ['foo', '2'], '1' => ['dlopper', '3']} |
|
298 | 308 | assert_response 302 |
|
299 | 309 | assert_equal User.find(2), c.reload.user |
|
300 | 310 | end |
|
301 | 311 | end |
|
302 | 312 | end |
General Comments 0
You need to be logged in to leave comments.
Login now