@@ -0,0 +1,290 | |||
|
1 | _gloc_rule_default: '|n| n==1 ? "" : "_plural" ' | |
|
2 | ||
|
3 | actionview_datehelper_select_day_prefix: | |
|
4 | actionview_datehelper_select_month_names: January,February,March,April,May,June,July,August,September,October,November,December | |
|
5 | actionview_datehelper_select_month_names_abbr: Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec | |
|
6 | actionview_datehelper_select_month_prefix: | |
|
7 | actionview_datehelper_select_year_prefix: | |
|
8 | actionview_datehelper_time_in_words_day: 1 day | |
|
9 | actionview_datehelper_time_in_words_day_plural: %d days | |
|
10 | actionview_datehelper_time_in_words_hour_about: about an hour | |
|
11 | actionview_datehelper_time_in_words_hour_about_plural: about %d hours | |
|
12 | actionview_datehelper_time_in_words_hour_about_single: about an hour | |
|
13 | actionview_datehelper_time_in_words_minute: 1 minute | |
|
14 | actionview_datehelper_time_in_words_minute_half: half a minute | |
|
15 | actionview_datehelper_time_in_words_minute_less_than: less than a minute | |
|
16 | actionview_datehelper_time_in_words_minute_plural: %d minutes | |
|
17 | actionview_datehelper_time_in_words_minute_single: 1 minute | |
|
18 | actionview_datehelper_time_in_words_second_less_than: less than a second | |
|
19 | actionview_datehelper_time_in_words_second_less_than_plural: less than %d seconds | |
|
20 | actionview_instancetag_blank_option: Bitte auserwählt | |
|
21 | ||
|
22 | activerecord_error_inclusion: ist nicht in der Liste eingeschlossen | |
|
23 | activerecord_error_exclusion: ist reserviert | |
|
24 | activerecord_error_invalid: ist unzulässig | |
|
25 | activerecord_error_confirmation: bringt nicht Bestätigung zusammen | |
|
26 | activerecord_error_accepted: muß angenommen werden | |
|
27 | activerecord_error_empty: kann nicht leer sein | |
|
28 | activerecord_error_blank: kann nicht leer sein | |
|
29 | activerecord_error_too_long: ist zu lang | |
|
30 | activerecord_error_too_short: ist zu kurz | |
|
31 | activerecord_error_wrong_length: ist die falsche Länge | |
|
32 | activerecord_error_taken: ist bereits genommen worden | |
|
33 | activerecord_error_not_a_number: ist nicht eine Zahl | |
|
34 | ||
|
35 | general_fmt_age: %d yr | |
|
36 | general_fmt_age_plural: %d yrs | |
|
37 | general_fmt_date: %%b %%d, %%Y (%%a) | |
|
38 | general_fmt_datetime: %%b %%d, %%Y (%%a), %%I:%%M %%p | |
|
39 | general_fmt_datetime_short: %%b %%d, %%I:%%M %%p | |
|
40 | general_fmt_time: %%I:%%M %%p | |
|
41 | general_text_No: 'Nein' | |
|
42 | general_text_Yes: 'Ja' | |
|
43 | general_text_no: 'nein' | |
|
44 | general_text_yes: 'ja' | |
|
45 | general_lang_de: 'Deutsch' | |
|
46 | ||
|
47 | notice_account_updated: Konto wurde erfolgreich aktualisiert. | |
|
48 | notice_account_invalid_creditentials: Unzulässiger Benutzer oder Passwort | |
|
49 | notice_account_password_updated: Passwort wurde erfolgreich aktualisiert. | |
|
50 | notice_account_wrong_password: Falsches Passwort | |
|
51 | notice_account_register_done: Konto wurde erfolgreich verursacht. | |
|
52 | notice_account_unknown_email: Unbekannter Benutzer. | |
|
53 | notice_can_t_change_password: Dieses Konto verwendet eine externe Authentisierung Quelle. Unmöglich, das Kennwort zu ändern. | |
|
54 | notice_account_lost_email_sent: Ein email mit Anweisungen, ein neues Kennwort zu wählen ist dir geschickt worden. | |
|
55 | notice_account_activated: Dein Konto ist aktiviert worden. Du kannst jetzt einloggen. | |
|
56 | notice_successful_create: Erfolgreiche Kreation. | |
|
57 | notice_successful_update: Erfolgreiches Update. | |
|
58 | notice_successful_delete: Erfolgreiche Auslassung. | |
|
59 | notice_successful_connection: Erfolgreicher Anschluß. | |
|
60 | notice_file_not_found: Erbetene Akte besteht nicht oder ist gelöscht worden. | |
|
61 | ||
|
62 | gui_validation_error: 1 Störung | |
|
63 | gui_validation_error_plural: %d Störungen | |
|
64 | ||
|
65 | field_name: Name | |
|
66 | field_description: Beschreibung | |
|
67 | field_summary: Zusammenfassung | |
|
68 | field_is_required: Erforderlich | |
|
69 | field_firstname: Vorname | |
|
70 | field_lastname: Nachname | |
|
71 | field_mail: Email | |
|
72 | field_filename: Datei | |
|
73 | field_filesize: Grootte | |
|
74 | field_downloads: Downloads | |
|
75 | field_author: Autor | |
|
76 | field_created_on: Angelegt | |
|
77 | field_updated_on: aktualisiert | |
|
78 | field_field_format: Format | |
|
79 | field_is_for_all: Für alle Projekte | |
|
80 | field_possible_values: Mögliche Werte | |
|
81 | field_regexp: Regulärer Ausdruck | |
|
82 | field_min_length: Minimale Länge | |
|
83 | field_max_length: Maximale Länge | |
|
84 | field_value: Wert | |
|
85 | field_category: Kategorie | |
|
86 | field_title: TÃtel | |
|
87 | field_project: Projekt | |
|
88 | #field_issue: Issue | |
|
89 | field_status: Status | |
|
90 | field_notes: Anmerkungen | |
|
91 | field_is_closed: Problem erledigt | |
|
92 | #field_is_default: Default status | |
|
93 | field_html_color: Farbe | |
|
94 | field_tracker: Tracker | |
|
95 | field_subject: Thema | |
|
96 | #field_due_date: Due date | |
|
97 | field_assigned_to: Zugewiesen an | |
|
98 | field_priority: Priorität | |
|
99 | field_fixed_version: Erledigt in Version | |
|
100 | field_user: Benutzer | |
|
101 | field_role: Rolle | |
|
102 | field_homepage: Startseite | |
|
103 | field_is_public: Öffentlich | |
|
104 | #field_parent: Subprojekt von | |
|
105 | field_is_in_chlog: Ansicht der Issues in der Historie | |
|
106 | field_login: Mitgliedsname | |
|
107 | field_mail_notification: Mailbenachrichtigung | |
|
108 | #field_admin: Administrator | |
|
109 | field_locked: Gesperrt | |
|
110 | field_last_login_on: Letzte Anmeldung | |
|
111 | field_language: Sprache | |
|
112 | field_effective_date: Datum | |
|
113 | field_password: Passwort | |
|
114 | field_new_password: Neues Passwort | |
|
115 | field_password_confirmation: Bestätigung | |
|
116 | field_version: Version | |
|
117 | field_type: Typ | |
|
118 | field_host: Host | |
|
119 | #field_port: Port | |
|
120 | #field_account: Account | |
|
121 | #field_base_dn: Base DN | |
|
122 | #field_attr_login: Login attribute | |
|
123 | #field_attr_firstname: Firstname attribute | |
|
124 | #field_attr_lastname: Lastname attribute | |
|
125 | #field_attr_mail: Email attribute | |
|
126 | #field_onthefly: On-the-fly user creation | |
|
127 | ||
|
128 | label_user: Benutzer | |
|
129 | label_user_plural: Benutzer | |
|
130 | label_user_new: Neuer Benutzer | |
|
131 | label_project: Projekt | |
|
132 | label_project_new: Neues Projekt | |
|
133 | label_project_plural: Projekte | |
|
134 | #label_project_latest: Latest projects | |
|
135 | #label_issue: Issue | |
|
136 | #label_issue_new: New issue | |
|
137 | #label_issue_plural: Issues | |
|
138 | #label_issue_view_all: View all issues | |
|
139 | label_document: Dokument | |
|
140 | label_document_new: Neues Dokument | |
|
141 | label_document_plural: Dokumente | |
|
142 | label_role: Rolle | |
|
143 | label_role_plural: Rollen | |
|
144 | label_role_new: Neue Rolle | |
|
145 | label_role_and_permissions: Rollen und Rechte | |
|
146 | label_member: Mitglied | |
|
147 | label_member_new: Neues Mitglied | |
|
148 | label_member_plural: Mitglieder | |
|
149 | label_tracker: Tracker | |
|
150 | label_tracker_plural: Tracker | |
|
151 | label_tracker_new: Neuer Tracker | |
|
152 | label_workflow: Workflow | |
|
153 | label_issue_status: Problem Status | |
|
154 | label_issue_status_plural: Problem Stati | |
|
155 | label_issue_status_new: Neuer Status | |
|
156 | label_issue_category: Problem Kategorie | |
|
157 | label_issue_category_plural: Problem Kategorien | |
|
158 | label_issue_category_new: Neue Kategorie | |
|
159 | label_custom_field: Benutzerdefiniertes Feld | |
|
160 | label_custom_field_plural: Benutzerdefinierte Felder | |
|
161 | label_custom_field_new: Neues Feld | |
|
162 | label_enumerations: Enumerationen | |
|
163 | label_enumeration_new: Neuer Wert | |
|
164 | label_information: Information | |
|
165 | label_information_plural: Informationen | |
|
166 | #label_please_login: Please login | |
|
167 | label_register: Anmelden | |
|
168 | label_password_lost: Passwort vergessen | |
|
169 | label_home: Hauptseite | |
|
170 | label_my_page: Meine Seite | |
|
171 | label_my_account: Mein Konto | |
|
172 | label_my_projects: Meine Projekte | |
|
173 | label_administration: Administration | |
|
174 | label_login: Einloggen | |
|
175 | label_logout: Abmelden | |
|
176 | label_help: Hilfe | |
|
177 | label_reported_issues: Gemeldete Issues | |
|
178 | label_assigned_to_me_issues: Mir zugewiesen | |
|
179 | label_last_login: Letzte Anmeldung | |
|
180 | #label_last_updates: Last updated | |
|
181 | #label_last_updates_plural: %d last updated | |
|
182 | label_registered_on: Angemeldet am | |
|
183 | label_activity: Aktivität | |
|
184 | label_new: Neue | |
|
185 | label_logged_as: Angemeldet als | |
|
186 | #label_environment: Environment | |
|
187 | label_authentication: Authentisierung | |
|
188 | #label_auth_source: Authentification mode | |
|
189 | #label_auth_source_new: New authentication mode | |
|
190 | #label_auth_source_plural: Authentification modes | |
|
191 | #label_subproject: Subproject | |
|
192 | #label_subproject_plural: Subprojects | |
|
193 | label_min_max_length: Min - Max Länge | |
|
194 | label_list: Liste | |
|
195 | label_date: Date | |
|
196 | label_integer: Zahl | |
|
197 | label_boolean: Boolesch | |
|
198 | #label_string: String | |
|
199 | label_text: Text | |
|
200 | label_attribute: Attribut | |
|
201 | label_attribute_plural: Attribute | |
|
202 | #label_download: %d Download | |
|
203 | #label_download_plural: %d Downloads | |
|
204 | label_no_data: Nichts anzuzeigen | |
|
205 | label_change_status: Statuswechsel | |
|
206 | label_history: Historie | |
|
207 | label_attachment: Datei | |
|
208 | label_attachment_new: Neue Datei | |
|
209 | #label_attachment_delete: Delete file | |
|
210 | label_attachment_plural: Dateien | |
|
211 | label_report: Bericht | |
|
212 | label_report_plural: Berichte | |
|
213 | #label_news: Neuigkeiten | |
|
214 | #label_news_new: Add news | |
|
215 | #label_news_plural: Neuigkeiten | |
|
216 | label_news_latest: Letzte Neuigkeiten | |
|
217 | label_news_view_all: Alle Neuigkeiten anzeigen | |
|
218 | label_change_log: Change log | |
|
219 | label_settings: Konfiguration | |
|
220 | label_overview: Übersicht | |
|
221 | label_version: Version | |
|
222 | label_version_new: Neue Version | |
|
223 | label_version_plural: Versionen | |
|
224 | label_confirmation: Bestätigung | |
|
225 | #label_export_csv: Export to CSV | |
|
226 | label_read: Lesen... | |
|
227 | label_public_projects: Öffentliche Projekte | |
|
228 | #label_open_issues: Open | |
|
229 | #label_open_issues_plural: Open | |
|
230 | #label_closed_issues: Closed | |
|
231 | #label_closed_issues_plural: Closed | |
|
232 | label_total: Gesamtzahl | |
|
233 | label_permissions: Berechtigungen | |
|
234 | label_current_status: Gegenwärtiger Status | |
|
235 | label_new_statuses_allowed: Neue Status gewährten | |
|
236 | label_all: Alle | |
|
237 | label_none: Kein | |
|
238 | label_next: Weiter | |
|
239 | label_previous: Zurück | |
|
240 | label_used_by: Benutzt von | |
|
241 | ||
|
242 | button_login: Einloggen | |
|
243 | button_submit: Einreichen | |
|
244 | button_save: Speichern | |
|
245 | button_check_all: Alles auswählen | |
|
246 | button_uncheck_all: Alles abwählen | |
|
247 | button_delete: Löschen | |
|
248 | button_create: Anlegen | |
|
249 | button_test: Testen | |
|
250 | button_edit: Bearbeiten | |
|
251 | button_add: Hinzufügen | |
|
252 | button_change: Wechseln | |
|
253 | button_apply: Anwenden | |
|
254 | button_clear: Zurücksetzen | |
|
255 | button_lock: Verriegeln | |
|
256 | button_unlock: Entriegeln | |
|
257 | button_download: Fernzuladen | |
|
258 | button_list: Aufzulisten | |
|
259 | button_view: Siehe | |
|
260 | ||
|
261 | text_select_mail_notifications: Aktionen für die Mailbenachrichtigung aktiviert werden soll. | |
|
262 | text_regexp_info: eg. ^[A-Z0-9]+$ | |
|
263 | text_min_max_length_info: 0 heisst keine Beschränkung | |
|
264 | #text_possible_values_info: values separated with | | |
|
265 | text_project_destroy_confirmation: Sind sie sicher, daß sie das Projekt löschen wollen ? | |
|
266 | text_workflow_edit: Auswahl Workflow zum Bearbeiten | |
|
267 | text_are_you_sure: Sind sie sicher ? | |
|
268 | ||
|
269 | default_role_manager: Manager | |
|
270 | default_role_developper: Developer | |
|
271 | default_role_reporter: Reporter | |
|
272 | default_tracker_bug: Fehler | |
|
273 | default_tracker_feature: Feature | |
|
274 | default_tracker_support: Support | |
|
275 | default_issue_status_new: Neu | |
|
276 | default_issue_status_assigned: Zugewiesen | |
|
277 | default_issue_status_resolved: Gelöst | |
|
278 | default_issue_status_feedback: Feedback | |
|
279 | default_issue_status_closed: Erledigt | |
|
280 | default_issue_status_rejected: Abgewiesen | |
|
281 | default_doc_category_user: Benutzerdokumentation | |
|
282 | default_doc_category_tech: Technische Dokumentation | |
|
283 | default_priority_low: Niedrig | |
|
284 | default_priority_normal: Normal | |
|
285 | default_priority_high: Hoch | |
|
286 | default_priority_urgent: Dringend | |
|
287 | default_priority_immediate: Sofort | |
|
288 | ||
|
289 | enumeration_issue_priorities: Issue-Prioritäten | |
|
290 | enumeration_doc_categories: Dokumentenkategorien |
@@ -104,4 +104,47 module ApplicationHelper | |||
|
104 | 104 | def lang_options_for_select |
|
105 | 105 | (GLoc.valid_languages.sort {|x,y| x.to_s <=> y.to_s }).collect {|lang| [ l_lang_name(lang.to_s, lang), lang.to_s]} |
|
106 | 106 | end |
|
107 | ||
|
108 | def label_tag_for(name, option_tags = nil, options = {}) | |
|
109 | label_text = l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) + (options.delete(:required) ? @template.content_tag("span", " *", :class => "required"): "") | |
|
110 | content_tag("label", label_text) | |
|
111 | end | |
|
112 | ||
|
113 | def labelled_tabular_form_for(name, object, options, &proc) | |
|
114 | options[:html] ||= {} | |
|
115 | options[:html].store :class, "tabular" | |
|
116 | form_for(name, object, options.merge({ :builder => TabularFormBuilder, :lang => current_language}), &proc) | |
|
117 | end | |
|
107 | 118 | end |
|
119 | ||
|
120 | class TabularFormBuilder < ActionView::Helpers::FormBuilder | |
|
121 | include GLoc | |
|
122 | ||
|
123 | def initialize(object_name, object, template, options, proc) | |
|
124 | set_language_if_valid options.delete(:lang) | |
|
125 | @object_name, @object, @template, @options, @proc = object_name, object, template, options, proc | |
|
126 | end | |
|
127 | ||
|
128 | (field_helpers - %w(radio_button) + %w(date_select)).each do |selector| | |
|
129 | src = <<-END_SRC | |
|
130 | def #{selector}(field, options = {}) | |
|
131 | label_text = l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) + (options.delete(:required) ? @template.content_tag("span", " *", :class => "required"): "") | |
|
132 | label = @template.content_tag("label", label_text, | |
|
133 | :class => (@object.errors[field] ? "error" : nil), | |
|
134 | :for => (@object_name.to_s + "_" + field.to_s)) | |
|
135 | label + super | |
|
136 | end | |
|
137 | END_SRC | |
|
138 | class_eval src, __FILE__, __LINE__ | |
|
139 | end | |
|
140 | ||
|
141 | def select(field, choices, options = {}) | |
|
142 | label_text = l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) + (options.delete(:required) ? @template.content_tag("span", " *", :class => "required"): "") | |
|
143 | label = @template.content_tag("label", label_text, | |
|
144 | :class => (@object.errors[field] ? "error" : nil), | |
|
145 | :for => (@object_name.to_s + "_" + field.to_s)) | |
|
146 | label + super | |
|
147 | end | |
|
148 | ||
|
149 | end | |
|
150 |
@@ -39,18 +39,13 module CustomFieldsHelper | |||
|
39 | 39 | def custom_field_label_tag(custom_value) |
|
40 | 40 | content_tag "label", custom_value.custom_field.name + |
|
41 | 41 | (custom_value.custom_field.is_required? ? " <span class=\"required\">*</span>" : ""), |
|
42 | :for => "custom_fields_#{custom_value.custom_field.id}" | |
|
42 | :for => "custom_fields_#{custom_value.custom_field.id}", | |
|
43 | :class => (custom_value.errors.empty? ? nil : "error" ) | |
|
43 | 44 | end |
|
44 | 45 | |
|
45 | 46 | # Return custom field tag with its label tag |
|
46 | 47 | def custom_field_tag_with_label(custom_value) |
|
47 | case custom_value.custom_field.field_format | |
|
48 | when "bool" | |
|
49 | # label is displayed inline after the checkbox | |
|
50 | custom_field_tag(custom_value) + " " + custom_field_label_tag(custom_value) | |
|
51 | else | |
|
52 | custom_field_label_tag(custom_value) + "<br />" + custom_field_tag(custom_value) | |
|
53 | end | |
|
48 | custom_field_label_tag(custom_value) + custom_field_tag(custom_value) | |
|
54 | 49 | end |
|
55 | 50 | |
|
56 | 51 | # Return a string used to display a custom value |
@@ -2,24 +2,17 | |||
|
2 | 2 | <div class="box login"> |
|
3 | 3 | <h2><%= image_tag 'login' %> <%=l(:label_please_login)%></h2> |
|
4 | 4 | |
|
5 |
<%= start_form_tag |
|
|
6 | <table cellpadding="4"> | |
|
7 | <tr> | |
|
8 | <td><label for="login"><%=l(:field_login)%>:</label></td> | |
|
9 | <td><%= text_field_tag 'login', nil, :size => 25 %></td> | |
|
10 | </tr> | |
|
11 | <tr> | |
|
12 | <td><label for="password"><%=l(:field_password)%>:</label></td> | |
|
13 | <td><%= password_field_tag 'password', nil, :size => 25 %></td> | |
|
14 | </tr> | |
|
15 | </table> | |
|
5 | <%= start_form_tag({:action=> "login"}, :class => "tabular") %> | |
|
6 | <p><label for="login"><%=l(:field_login)%>:</label> | |
|
7 | <%= text_field_tag 'login', nil, :size => 25 %></p> | |
|
16 | 8 | |
|
17 | | |
|
18 | ||
|
19 | <p><center><input type="submit" name="login" value="<%=l(:button_login)%> »" class="primary" /></center></p> | |
|
9 | <p><label for="password"><%=l(:field_password)%>:</label> | |
|
10 | <%= password_field_tag 'password', nil, :size => 25 %></p> | |
|
11 | ||
|
12 | <p><center><input type="submit" name="login" value="<%=l(:button_login)%> »" class="primary" /></center> | |
|
20 | 13 | <%= end_form_tag %> |
|
21 | <br /> | |
|
22 | <% unless $RDM_SELF_REGISTRATION == false %><%= link_to l(:label_register), :action => 'register' %> |<% end %> | |
|
23 | <%= link_to l(:label_password_lost), :action => 'lost_password' %> | |
|
14 | ||
|
15 | <br><% unless $RDM_SELF_REGISTRATION == false %><%= link_to l(:label_register), :action => 'register' %> |<% end %> | |
|
16 | <%= link_to l(:label_password_lost), :action => 'lost_password' %></p> | |
|
24 | 17 | </div> |
|
25 | 18 | </center> No newline at end of file |
@@ -2,9 +2,9 | |||
|
2 | 2 | <div class="box login"> |
|
3 | 3 | <h2><%=l(:label_password_lost)%></h2> |
|
4 | 4 | |
|
5 | <%= start_form_tag %> | |
|
5 | <%= start_form_tag({:action=> "lost_password"}, :class => "tabular") %> | |
|
6 | 6 | |
|
7 |
<p><label for="mail"><%=l(:field_mail)%> <span class="required">*</span></label> |
|
|
7 | <p><label for="mail"><%=l(:field_mail)%> <span class="required">*</span></label> | |
|
8 | 8 | <%= text_field_tag 'mail', nil, :size => 40 %></p> |
|
9 | 9 | |
|
10 | 10 | <p><center><%= submit_tag l(:button_submit) %></center></p> |
@@ -6,52 +6,49 | |||
|
6 | 6 | |
|
7 | 7 | <%= error_messages_for 'user' %> |
|
8 | 8 | |
|
9 | <div class="splitcontentleft"> | |
|
10 | 9 | <div class="box"> |
|
11 | 10 | <h3><%=l(:label_information_plural)%></h3> |
|
12 | 11 | |
|
13 |
<%= start_form_tag |
|
|
12 | <%= start_form_tag({:action => 'my_account'}, :class => "tabular") %> | |
|
14 | 13 | |
|
15 | 14 | <!--[form:user]--> |
|
16 |
<p><label for="user_firstname"><%=l(:field_firstname)%> <span class="required">*</span></label> |
|
|
15 | <p><label for="user_firstname"><%=l(:field_firstname)%> <span class="required">*</span></label> | |
|
17 | 16 | <%= text_field 'user', 'firstname' %></p> |
|
18 | 17 | |
|
19 |
<p><label for="user_lastname"><%=l(:field_lastname)%> <span class="required">*</span></label> |
|
|
18 | <p><label for="user_lastname"><%=l(:field_lastname)%> <span class="required">*</span></label> | |
|
20 | 19 | <%= text_field 'user', 'lastname' %></p> |
|
21 | 20 | |
|
22 |
<p><label for="user_mail"><%=l(:field_mail)%> <span class="required">*</span></label> |
|
|
21 | <p><label for="user_mail"><%=l(:field_mail)%> <span class="required">*</span></label> | |
|
23 | 22 | <%= text_field 'user', 'mail', :size => 40 %></p> |
|
24 | 23 | |
|
25 |
<p><label for="user_language"><%=l(:field_language)%></label> |
|
|
24 | <p><label for="user_language"><%=l(:field_language)%></label> | |
|
26 | 25 | <%= select("user", "language", lang_options_for_select) %></p> |
|
27 | 26 | <!--[eoform:user]--> |
|
28 | 27 | |
|
29 |
<p> |
|
|
28 | <p><label for="user_mail_notification"><%=l(:field_mail_notification)%></label> | |
|
29 | <%= check_box 'user', 'mail_notification' %></p> | |
|
30 | 30 | |
|
31 | 31 | <center><%= submit_tag l(:button_save) %></center> |
|
32 | 32 | <%= end_form_tag %> |
|
33 | 33 | </div> |
|
34 | </div> | |
|
35 | 34 | |
|
36 | ||
|
37 | <div class="splitcontentright"> | |
|
35 | ||
|
38 | 36 | <% unless @user.auth_source_id %> |
|
39 | 37 | <div class="box"> |
|
40 | 38 | <h3><%=l(:field_password)%></h3> |
|
41 | 39 | |
|
42 |
<%= start_form_tag |
|
|
40 | <%= start_form_tag({:action => 'change_password'}, :class => "tabular") %> | |
|
43 | 41 | |
|
44 |
<p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label> |
|
|
42 | <p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label> | |
|
45 | 43 | <%= password_field_tag 'password', nil, :size => 25 %></p> |
|
46 | 44 | |
|
47 |
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label> |
|
|
45 | <p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label> | |
|
48 | 46 | <%= password_field_tag 'new_password', nil, :size => 25 %></p> |
|
49 | 47 | |
|
50 |
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label> |
|
|
48 | <p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label> | |
|
51 | 49 | <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p> |
|
52 | 50 | |
|
53 | 51 | <center><%= submit_tag l(:button_save) %></center> |
|
54 | 52 | <%= end_form_tag %> |
|
55 | 53 | </div> |
|
56 | 54 | <% end %> |
|
57 | </div> No newline at end of file |
@@ -6,12 +6,12 | |||
|
6 | 6 | |
|
7 | 7 | <%= error_messages_for 'user' %> |
|
8 | 8 | |
|
9 |
<%= start_form_tag |
|
|
9 | <%= start_form_tag({:token => @token.value}, :class => "tabular") %> | |
|
10 | 10 | |
|
11 |
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label> |
|
|
11 | <p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label> | |
|
12 | 12 | <%= password_field_tag 'new_password', nil, :size => 25 %></p> |
|
13 | 13 | |
|
14 |
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label> |
|
|
14 | <p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label> | |
|
15 | 15 | <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p> |
|
16 | 16 | |
|
17 | 17 | <p><center><%= submit_tag l(:button_save) %></center></p> |
@@ -1,36 +1,37 | |||
|
1 | 1 | <h2><%=l(:label_register)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag %> | |
|
3 | <%= start_form_tag({:action => 'register'}, :class => "tabular") %> | |
|
4 | 4 | <%= error_messages_for 'user' %> |
|
5 | 5 | |
|
6 | 6 | <div class="box"> |
|
7 | 7 | <!--[form:user]--> |
|
8 |
<p><label for="user_login"><%=l(:field_login)%> |
|
|
8 | <p><label for="user_login"><%=l(:field_login)%> <span class="required">*</span></label> | |
|
9 | 9 | <%= text_field 'user', 'login', :size => 25 %></p> |
|
10 | 10 | |
|
11 |
<p><label for="password"><%=l(:field_password)%> |
|
|
11 | <p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label> | |
|
12 | 12 | <%= password_field_tag 'password', nil, :size => 25 %></p> |
|
13 | 13 | |
|
14 |
<p><label for="password_confirmation"><%=l(:field_password_confirmation)%> |
|
|
14 | <p><label for="password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label> | |
|
15 | 15 | <%= password_field_tag 'password_confirmation', nil, :size => 25 %></p> |
|
16 | 16 | |
|
17 |
<p><label for="user_firstname"><%=l(:field_firstname)%> |
|
|
17 | <p><label for="user_firstname"><%=l(:field_firstname)%> <span class="required">*</span></label> | |
|
18 | 18 | <%= text_field 'user', 'firstname' %></p> |
|
19 | 19 | |
|
20 |
<p><label for="user_lastname"><%=l(:field_lastname)%> |
|
|
20 | <p><label for="user_lastname"><%=l(:field_lastname)%> <span class="required">*</span></label> | |
|
21 | 21 | <%= text_field 'user', 'lastname' %></p> |
|
22 | 22 | |
|
23 |
<p><label for="user_mail"><%=l(:field_mail)%> |
|
|
23 | <p><label for="user_mail"><%=l(:field_mail)%> <span class="required">*</span></label> | |
|
24 | 24 | <%= text_field 'user', 'mail' %></p> |
|
25 | 25 | |
|
26 |
<p><label for="user_language"><%=l(:field_language)%></label> |
|
|
26 | <p><label for="user_language"><%=l(:field_language)%></label> | |
|
27 | 27 | <%= select("user", "language", lang_options_for_select) %></p> |
|
28 | 28 | |
|
29 | 29 | <% for @custom_value in @custom_values %> |
|
30 | 30 | <p><%= custom_field_tag_with_label @custom_value %></p> |
|
31 | 31 | <% end %> |
|
32 | 32 | |
|
33 |
<p> |
|
|
33 | <p><label for="user_mail_notification"><%=l(:field_mail_notification)%></label> | |
|
34 | <%= check_box 'user', 'mail_notification' %></p> | |
|
34 | 35 | <!--[eoform:user]--> |
|
35 | 36 | </div> |
|
36 | 37 |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_project_plural)%></h2> |
|
2 | 2 | |
|
3 | <table width="100%" cellspacing="1" cellpadding="2" class="listTableContent"> | |
|
3 | <table class="listTableContent"> | |
|
4 | 4 | <tr class="ListHead"> |
|
5 | 5 | <%= sort_header_tag('name', :caption => l(:label_project)) %> |
|
6 | 6 | <th><%=l(:field_description)%></th> |
@@ -17,10 +17,8 | |||
|
17 | 17 | <td align="center"><%= image_tag 'true' if project.is_public? %> |
|
18 | 18 | <td align="center"><%= project.projects_count %> |
|
19 | 19 | <td align="center"><%= format_date(project.created_on) %> |
|
20 | <td align="center"> | |
|
21 |
<%= |
|
|
22 | <%= submit_tag l(:button_delete), :class => "button-small" %> | |
|
23 | <%= end_form_tag %> | |
|
20 | <td align="center"> | |
|
21 | <%= button_to l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => "button-small" %> | |
|
24 | 22 | </td> |
|
25 | 23 | </tr> |
|
26 | 24 | <% end %> |
@@ -2,48 +2,44 | |||
|
2 | 2 | |
|
3 | 3 | <div class="box"> |
|
4 | 4 | <!--[form:auth_source]--> |
|
5 |
<p><label for="auth_source_name"><%=l(:field_name)%> |
|
|
5 | <p><label for="auth_source_name"><%=l(:field_name)%> <span class="required">*</span></label> | |
|
6 | 6 | <%= text_field 'auth_source', 'name' %></p> |
|
7 | 7 | |
|
8 |
<p><label for="auth_source_host"><%=l(:field_host)%> |
|
|
8 | <p><label for="auth_source_host"><%=l(:field_host)%> <span class="required">*</span></label> | |
|
9 | 9 | <%= text_field 'auth_source', 'host' %></p> |
|
10 | 10 | |
|
11 |
<p><label for="auth_source_port"><%=l(:field_port)%> |
|
|
11 | <p><label for="auth_source_port"><%=l(:field_port)%> <span class="required">*</span></label> | |
|
12 | 12 | <%= text_field 'auth_source', 'port', :size => 6 %></p> |
|
13 | 13 | |
|
14 |
<p><label for="auth_source_account"><%=l(:field_account)%></label> |
|
|
14 | <p><label for="auth_source_account"><%=l(:field_account)%></label> | |
|
15 | 15 | <%= text_field 'auth_source', 'account' %></p> |
|
16 | 16 | |
|
17 |
<p><label for="auth_source_account_password"><%=l(:field_password)%></label> |
|
|
17 | <p><label for="auth_source_account_password"><%=l(:field_password)%></label> | |
|
18 | 18 | <%= password_field 'auth_source', 'account_password' %></p> |
|
19 | 19 | |
|
20 |
<p><label for="auth_source_base_dn"><%=l(:field_base_dn)%> |
|
|
20 | <p><label for="auth_source_base_dn"><%=l(:field_base_dn)%> <span class="required">*</span></label> | |
|
21 | 21 | <%= text_field 'auth_source', 'base_dn', :size => 60 %></p> |
|
22 | </div> | |
|
22 | 23 | |
|
23 | <p><%= check_box 'auth_source', 'onthefly_register' %> | |
|
24 |
<label for="auth_source_onthefly_register"><%=l(:field_onthefly)%></label> |
|
|
24 | <div class="box"> | |
|
25 | <p><label for="auth_source_onthefly_register"><%=l(:field_onthefly)%></label> | |
|
26 | <%= check_box 'auth_source', 'onthefly_register' %></p> | |
|
25 | 27 | |
|
28 | <p> | |
|
26 | 29 | <fieldset><legend><%=l(:label_attribute_plural)%></legend> |
|
27 | <div style="float:left;margin-right:10px;"> | |
|
28 | <p><label for="auth_source_attr_login"><%=l(:field_login)%></label> <span class="required">*</span><br/> | |
|
30 | <p><label for="auth_source_attr_login"><%=l(:field_login)%> <span class="required">*</span></label> | |
|
29 | 31 | <%= text_field 'auth_source', 'attr_login', :size => 20 %></p> |
|
30 | </div> | |
|
31 | 32 | |
|
32 | <div style="float:left;margin-right:10px;"> | |
|
33 | <p><label for="auth_source_attr_firstname"><%=l(:field_firstname)%></label><br/> | |
|
33 | <p><label for="auth_source_attr_firstname"><%=l(:field_firstname)%></label> | |
|
34 | 34 | <%= text_field 'auth_source', 'attr_firstname', :size => 20 %></p> |
|
35 | </div> | |
|
36 | 35 | |
|
37 | <div style="float:left;margin-right:10px;"> | |
|
38 | <p><label for="auth_source_attr_lastname"><%=l(:field_lastname)%></label><br/> | |
|
36 | <p><label for="auth_source_attr_lastname"><%=l(:field_lastname)%></label> | |
|
39 | 37 | <%= text_field 'auth_source', 'attr_lastname', :size => 20 %></p> |
|
40 | </div> | |
|
41 | 38 | |
|
42 | <div> | |
|
43 | <p><label for="auth_source_attr_mail"><%=l(:field_mail)%></label><br/> | |
|
39 | <p><label for="auth_source_attr_mail"><%=l(:field_mail)%></label> | |
|
44 | 40 | <%= text_field 'auth_source', 'attr_mail', :size => 20 %></p> |
|
45 | </div> | |
|
46 | 41 | </fieldset> |
|
47 | ||
|
48 | <!--[eoform:auth_source]--> | |
|
42 | </p> | |
|
49 | 43 | </div> |
|
44 | <!--[eoform:auth_source]--> | |
|
45 |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_auth_source)%> (<%= @auth_source.auth_method_name %>)</h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'update', :id => @auth_source}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form' %> |
|
5 | 5 | <%= submit_tag l(:button_save) %> |
|
6 | 6 | <%= end_form_tag %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_auth_source_plural)%></h2> |
|
2 | 2 | |
|
3 | <table border="0" cellspacing="1" cellpadding="2" class="listTableContent"> | |
|
3 | <table class="listTableContent"> | |
|
4 | 4 | <tr class="ListHead"> |
|
5 | 5 | <td><%=l(:field_name)%></td> |
|
6 | 6 | <td><%=l(:field_type)%></td> |
@@ -18,9 +18,7 | |||
|
18 | 18 | <%= link_to l(:button_test), :action => 'test_connection', :id => source %> |
|
19 | 19 | </td> |
|
20 | 20 | <td align="center"> |
|
21 | <%= start_form_tag :action => 'destroy', :id => source %> | |
|
22 | <%= submit_tag l(:button_delete), :class => "button-small" %> | |
|
23 | <%= end_form_tag %> | |
|
21 | <%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %> | |
|
24 | 22 | </td> |
|
25 | 23 | </tr> |
|
26 | 24 | <% end %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_auth_source_new)%> (<%= @auth_source.auth_method_name %>)</h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'create'}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form' %> |
|
5 | 5 | <%= submit_tag l(:button_create) %> |
|
6 | 6 | <%= end_form_tag %> |
@@ -2,21 +2,21 | |||
|
2 | 2 | |
|
3 | 3 | <!--[form:custom_field]--> |
|
4 | 4 | <div class="box"> |
|
5 |
<p><label for="custom_field_name"><%=l(:field_name)%>< |
|
|
5 | <p><label for="custom_field_name"><%=l(:field_name)%><span class="required"> *</span></label> | |
|
6 | 6 | <%= text_field 'custom_field', 'name' %></p> |
|
7 | 7 | |
|
8 |
<p><label for="custom_field_t |
|
|
8 | <p><label for="custom_field_field_format"><%=l(:field_field_format)%></label> | |
|
9 | 9 | <%= select("custom_field", "field_format", custom_field_formats_for_select) %></p> |
|
10 | 10 | |
|
11 |
<p><label for="custom_field_min_length"><%=l(:label_min_max_length)%></label> |
|
|
11 | <p><label for="custom_field_min_length"><%=l(:label_min_max_length)%></label> | |
|
12 | 12 | <%= text_field 'custom_field', 'min_length', :size => 5 %> - |
|
13 | <%= text_field 'custom_field', 'max_length', :size => 5 %></p> | |
|
13 | <%= text_field 'custom_field', 'max_length', :size => 5 %><br>(<%=l(:text_min_max_length_info)%>)</p> | |
|
14 | 14 | |
|
15 |
<p><label for="custom_field_regexp"><%=l(:field_regexp)%></label> |
|
|
16 | <%= text_field 'custom_field', 'regexp', :size => 50 %></p> | |
|
15 | <p><label for="custom_field_regexp"><%=l(:field_regexp)%></label> | |
|
16 | <%= text_field 'custom_field', 'regexp', :size => 50 %><br>(<%=l(:text_regexp_info)%>)</p> | |
|
17 | 17 | |
|
18 |
<p><label for="custom_field_possible_values"><%=l(:field_possible_values)%></label> |
|
|
19 | <%= text_area 'custom_field', 'possible_values', :rows => 5, :cols => 60 %></p> | |
|
18 | <p><label for="custom_field_possible_values"><%=l(:field_possible_values)%></label> | |
|
19 | <%= text_area 'custom_field', 'possible_values', :rows => 5, :cols => 60 %><br>(<%=l(:text_possible_values_info)%>)</p> | |
|
20 | 20 | </div> |
|
21 | 21 | <!--[eoform:custom_field]--> |
|
22 | 22 | |
@@ -34,20 +34,19 | |||
|
34 | 34 | <% end %></fieldset> |
|
35 | 35 | |
|
36 | 36 | |
|
37 | <p><%= check_box 'custom_field', 'is_required' %> | |
|
38 | <label for="custom_field_is_required"><%=l(:field_is_required)%></label></p> | |
|
37 | <p><label for="custom_field_is_required"><%=l(:field_is_required)%></label> | |
|
38 | <%= check_box 'custom_field', 'is_required' %></p> | |
|
39 | 39 | |
|
40 | <p><%= check_box 'custom_field', 'is_for_all' %> | |
|
41 | <label for="custom_field_is_for_all"><%=l(:field_is_for_all)%></label></p> | |
|
40 | <p><label for="custom_field_is_for_all"><%=l(:field_is_for_all)%></label> | |
|
41 | <%= check_box 'custom_field', 'is_for_all' %></p> | |
|
42 | 42 | |
|
43 | 43 | <% when "UserCustomField" %> |
|
44 | <p><%= check_box 'custom_field', 'is_required' %> | |
|
45 | <label for="custom_field_is_required"><%=l(:field_is_required)%></label></p> | |
|
44 | <p><label for="custom_field_is_required"><%=l(:field_is_required)%></label> | |
|
45 | <%= check_box 'custom_field', 'is_required' %></p> | |
|
46 | 46 | |
|
47 | 47 | <% when "ProjectCustomField" %> |
|
48 | <p><%= check_box 'custom_field', 'is_required' %> | |
|
49 | <label for="custom_field_is_required"><%=l(:field_is_required)%></label></p> | |
|
50 | ||
|
48 | <p><label for="custom_field_is_required"><%=l(:field_is_required)%></label> | |
|
49 | <%= check_box 'custom_field', 'is_required' %></p> | |
|
51 | 50 | |
|
52 | 51 | <% end %> |
|
53 | 52 | </div> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_custom_field)%> (<%=l(@custom_field.type_name)%>)</h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'edit', :id => @custom_field}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form', :locals => { :type => @custom_field.type } %> |
|
5 | 5 | <%= submit_tag l(:button_save) %> |
|
6 | 6 | <%= end_form_tag %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_custom_field_plural)%></h2> |
|
2 | 2 | |
|
3 |
<table |
|
|
3 | <table class="listTableContent"> | |
|
4 | 4 | <tr class="ListHead"> |
|
5 | 5 | <th><%=l(:field_name)%></th> |
|
6 | 6 | <th><%=l(:field_type)%></th> |
@@ -19,9 +19,8 | |||
|
19 | 19 | <td align="center"><%= image_tag 'true' if custom_field.is_for_all? %></td> |
|
20 | 20 | <td align="center"><%= custom_field.projects.count.to_s + ' ' + lwr(:label_project, custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td> |
|
21 | 21 | <td align="center"> |
|
22 | <%= start_form_tag :action => 'destroy', :id => custom_field %> | |
|
23 | <%= submit_tag l(:button_delete), :class => "button-small" %> | |
|
24 | <%= end_form_tag %> </td> | |
|
22 | <%= button_to l(:button_delete), { :action => 'destroy', :id => custom_field }, :confirm => l(:text_are_you_sure), :class => "button-small" %> | |
|
23 | </td> | |
|
25 | 24 | </tr> |
|
26 | 25 | <% end %> |
|
27 | 26 | </table> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)</h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'new'}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form', :locals => { :type => @custom_field.type } %> |
|
5 | 5 | <%= hidden_field_tag 'type', @custom_field.type %> |
|
6 | 6 | <%= submit_tag l(:button_save) %> |
@@ -1,15 +1,15 | |||
|
1 | 1 | <%= error_messages_for 'document' %> |
|
2 | ||
|
2 | <div class="box"> | |
|
3 | 3 | <!--[form:document]--> |
|
4 |
<p><label for="document_category_id"><%=l(:field_category)%></label> |
|
|
4 | <p><label for="document_category_id"><%=l(:field_category)%></label> | |
|
5 | 5 | <select name="document[category_id]"> |
|
6 | 6 | <%= options_from_collection_for_select @categories, "id", "name", @document.category_id %> |
|
7 | 7 | </select></p> |
|
8 | 8 | |
|
9 |
<p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label> |
|
|
9 | <p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label> | |
|
10 | 10 | <%= text_field 'document', 'title', :size => 60 %></p> |
|
11 | 11 | |
|
12 |
<p><label for="document_description"><%=l(:field_description)%></label> |
|
|
12 | <p><label for="document_description"><%=l(:field_description)%></label> | |
|
13 | 13 | <%= text_area 'document', 'description', :cols => 60, :rows => 5 %></p> |
|
14 | 14 | <!--[eoform:document]--> |
|
15 | ||
|
15 | </div> No newline at end of file |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_document)%></h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'edit', :id => @document}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form' %> |
|
5 | 5 | <%= submit_tag l(:button_save) %> |
|
6 | 6 | <%= end_form_tag %> |
@@ -1,9 +1,9 | |||
|
1 | 1 | <%= error_messages_for 'enumeration' %> |
|
2 | ||
|
2 | <div class="box"> | |
|
3 | 3 | <!--[form:optvalue]--> |
|
4 | 4 | <%= hidden_field 'enumeration', 'opt' %> |
|
5 | 5 | |
|
6 |
<p><label for="enumeration_name"><%=l(:field_name)%></label> |
|
|
6 | <p><label for="enumeration_name"><%=l(:field_name)%></label> | |
|
7 | 7 | <%= text_field 'enumeration', 'name' %></p> |
|
8 | 8 | <!--[eoform:optvalue]--> |
|
9 | ||
|
9 | </div> No newline at end of file |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_enumerations)%></h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'update', :id => @enumeration}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form' %> |
|
5 | 5 | <%= submit_tag l(:button_save) %> |
|
6 | 6 | <%= end_form_tag %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_enumeration_new)%></h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'create'}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form' %> |
|
5 | 5 | <%= submit_tag l(:button_create) %> |
|
6 | 6 | <%= end_form_tag %> |
@@ -1,7 +1,7 | |||
|
1 | 1 | <%= error_messages_for 'issue_category' %> |
|
2 | 2 | |
|
3 | 3 | <!--[form:issue_category]--> |
|
4 |
<p><label for="issue_category_name"><%l(:field_name)%></label> |
|
|
4 | <p><label for="issue_category_name"><%l(:field_name)%></label> | |
|
5 | 5 | <%= text_field 'issue_category', 'name' %></p> |
|
6 | 6 | <!--[eoform:issue_category]--> |
|
7 | 7 |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_issue_category)%></h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'edit', :id => @category}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form' %> |
|
5 | 5 | <%= submit_tag l(:button_save) %> |
|
6 | 6 | <%= end_form_tag %> |
@@ -1,17 +1,18 | |||
|
1 | 1 | <%= error_messages_for 'issue_status' %> |
|
2 | 2 | |
|
3 | <div class="box"> | |
|
3 | 4 | <!--[form:issue_status]--> |
|
4 |
<p><label for="issue_status_name"><%=l(:field_name)%>< |
|
|
5 | <p><label for="issue_status_name"><%=l(:field_name)%><span class="required"> *</span></label> | |
|
5 | 6 | <%= text_field 'issue_status', 'name' %></p> |
|
6 | 7 | |
|
7 | <p><%= check_box 'issue_status', 'is_closed' %> | |
|
8 | <label for="issue_status_is_closed"><%=l(:field_is_closed)%></label></p> | |
|
8 | <p><label for="issue_status_is_closed"><%=l(:field_is_closed)%></label> | |
|
9 | <%= check_box 'issue_status', 'is_closed' %></p> | |
|
9 | 10 | |
|
10 | <p><%= check_box 'issue_status', 'is_default' %> | |
|
11 | <label for="issue_status_is_default"><%=l(:field_is_default)%></label></p> | |
|
11 | <p><label for="issue_status_is_default"><%=l(:field_is_default)%></label> | |
|
12 | <%= check_box 'issue_status', 'is_default' %></p> | |
|
12 | 13 | |
|
13 | <p><label for="issue_status_html_color"><%=l(:field_html_color)%></label> | |
|
14 |
#<%= text_field 'issue_status', 'html_color', :maxlength => 6 %> |
|
|
14 | <p><label for="issue_status_html_color"><%=l(:field_html_color)%><span class="required"> *</span></label> | |
|
15 | #<%= text_field 'issue_status', 'html_color', :maxlength => 6 %></p> | |
|
15 | 16 | |
|
16 | 17 | <!--[eoform:issue_status]--> |
|
17 | ||
|
18 | </div> No newline at end of file |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_issue_status)%></h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'update', :id => @issue_status}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form' %> |
|
5 | 5 | <%= submit_tag l(:button_save) %> |
|
6 | 6 | <%= end_form_tag %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_issue_status_plural)%></h2> |
|
2 | 2 | |
|
3 | <table border="0" cellspacing="1" cellpadding="2" class="listTableContent"> | |
|
3 | <table class="listTableContent"> | |
|
4 | 4 | <tr class="ListHead"> |
|
5 | 5 | <th><%=l(:field_status)%></th> |
|
6 | 6 | <th><%=l(:field_is_default)%></th> |
@@ -14,11 +14,9 | |||
|
14 | 14 | <td><%= link_to status.name, :action => 'edit', :id => status %></td> |
|
15 | 15 | <td align="center"><%= image_tag 'true' if status.is_default? %></td> |
|
16 | 16 | <td align="center"><%= image_tag 'true' if status.is_closed? %></td> |
|
17 |
<td |
|
|
18 | <td align="center"> | |
|
19 | <%= start_form_tag :action => 'destroy', :id => status %> | |
|
20 | <%= submit_tag l(:button_delete), :class => "button-small" %> | |
|
21 | <%= end_form_tag %> | |
|
17 | <td><div style="background-color:#<%= status.html_color %>"> </div></td> | |
|
18 | <td align="center"> | |
|
19 | <%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %> | |
|
22 | 20 | </td> |
|
23 | 21 | </tr> |
|
24 | 22 | <% end %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_issue_status_new)%></h2> |
|
2 | 2 | |
|
3 |
<%= start_form_tag |
|
|
3 | <%= start_form_tag({:action => 'create'}, :class => "tabular") %> | |
|
4 | 4 | <%= render :partial => 'form' %> |
|
5 | 5 | <%= submit_tag l(:button_create) %> |
|
6 | 6 | <%= end_form_tag %> |
@@ -1,7 +1,7 | |||
|
1 | 1 | <% if issues.length > 0 %> |
|
2 | 2 | <table cellspacing="0" cellpadding="1" width="100%" border="0" class="listTable"> |
|
3 | 3 | <tr><td> |
|
4 | <table width="100%" border="0" cellspacing="1" cellpadding="2" class="listTableContent"> | |
|
4 | <table class="listTableContent"> | |
|
5 | 5 | <tr class="ListHead"> |
|
6 | 6 | <th>#</th> |
|
7 | 7 | <th><%=l(:field_tracker)%></th> |
@@ -1,29 +1,27 | |||
|
1 | 1 | <h2><%=l(:label_issue)%> #<%= @issue.id %>: <%= @issue.subject %></h2> |
|
2 | 2 | |
|
3 | 3 | <%= error_messages_for 'history' %> |
|
4 |
<%= start_form_tag |
|
|
4 | <%= start_form_tag({:action => 'change_status', :id => @issue}, :class => "tabular") %> | |
|
5 | 5 | |
|
6 | 6 | <%= hidden_field_tag 'confirm', 1 %> |
|
7 | 7 | <%= hidden_field 'history', 'status_id' %> |
|
8 | 8 | |
|
9 | 9 | <div class="box"> |
|
10 |
<p><%=l(:label_issue_status_new)%> |
|
|
10 | <p><label><%=l(:label_issue_status_new)%></label> <%= @history.status.name %></p> | |
|
11 | 11 | |
|
12 | <div> | |
|
13 | <p><label for="issue_assigned_to_id"><%=l(:field_assigned_to)%></label><br/> | |
|
12 | <p><label for="issue_assigned_to_id"><%=l(:field_assigned_to)%></label> | |
|
14 | 13 | <select name="issue[assigned_to_id]"> |
|
15 | 14 | <option value=""></option> |
|
16 | 15 | <%= options_from_collection_for_select @assignable_to, "id", "display_name", @issue.assigned_to_id %></p> |
|
17 | 16 | </select></p> |
|
18 | </div> | |
|
19 | 17 | |
|
20 |
<p><label for="issue_fixed_version"><%=l(:field_fixed_version)%></label> |
|
|
18 | <p><label for="issue_fixed_version"><%=l(:field_fixed_version)%></label> | |
|
21 | 19 | <select name="issue[fixed_version_id]"> |
|
22 | 20 | <option value="">--none--</option> |
|
23 | 21 | <%= options_from_collection_for_select @issue.project.versions, "id", "name", @issue.fixed_version_id %> |
|
24 | 22 | </select></p> |
|
25 | 23 | |
|
26 |
<p><label for="history_notes"><%=l(:field_notes)%></label> |
|
|
24 | <p><label for="history_notes"><%=l(:field_notes)%></label> | |
|
27 | 25 | <%= text_area 'history', 'notes', :cols => 60, :rows => 10 %></p> |
|
28 | 26 | </div> |
|
29 | 27 |
@@ -1,56 +1,26 | |||
|
1 | 1 | <h2><%= @issue.tracker.name %> #<%= @issue.id %> - <%= @issue.subject %></h2> |
|
2 | 2 | |
|
3 | <%= error_messages_for 'issue' %> | |
|
4 | <%= start_form_tag :action => 'edit', :id => @issue %> | |
|
5 | ||
|
3 | <% labelled_tabular_form_for :issue, @issue, :url => {:action => 'edit'} do |f| %> | |
|
4 | <%= error_messages_for 'issue' %> | |
|
6 | 5 | <div class="box"> |
|
7 | <!--[form:issue]--> | |
|
8 |
<p><%=l(:field_status)%> |
|
|
9 | ||
|
10 | <div style="float:left;margin-right:10px;"> | |
|
11 | <p><label for="issue_priority_id"><%=l(:field_priority)%> <span class="required">*</span></label><br/> | |
|
12 | <select name="issue[priority_id]"> | |
|
13 | <%= options_from_collection_for_select @priorities, "id", "name", @issue.priority_id %></p> | |
|
14 | </select></p> | |
|
15 | </div> | |
|
16 | ||
|
17 | <div style="float:left;margin-right:10px;"> | |
|
18 | <p><label for="issue_assigned_to_id"><%=l(:field_assigned_to)%></label><br/> | |
|
19 | <select name="issue[assigned_to_id]"> | |
|
20 | <option value=""></option> | |
|
21 | <%= options_from_collection_for_select @issue.project.members, "user_id", "name", @issue.assigned_to_id %></p> | |
|
22 | </select></p> | |
|
23 | </div> | |
|
24 | ||
|
25 | <div> | |
|
26 | <p><label for="issue_category_id"><%=l(:field_category)%></label><br/> | |
|
27 | <select name="issue[category_id]"> | |
|
28 | <option value=""></option> | |
|
29 | <%= options_from_collection_for_select @project.issue_categories, "id", "name", @issue.category_id %></p> | |
|
30 | </select></p> | |
|
31 | </div> | |
|
32 | ||
|
33 | <p><label for="issue_subject"><%=l(:field_subject)%></label><span class="required">*</span><br/> | |
|
34 | <%= text_field 'issue', 'subject', :size => 60 %></p> | |
|
6 | <!--[form:issue]--> | |
|
7 | <p><label><%=l(:field_status)%></label> <%= @issue.status.name %></p> | |
|
35 | 8 | |
|
36 | <p><label for="issue_description"><%=l(:field_description)%></label><span class="required">*</span><br/> | |
|
37 | <%= text_area 'issue', 'description', :cols => 60, :rows => 10 %></p> | |
|
9 | <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %></p> | |
|
10 | <p><%= f.select :assigned_to_id, (@issue.project.members.collect {|m| [m.name, m.user_id]}), :include_blank => true %></p> | |
|
11 | <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}) %></p> | |
|
12 | <p><%= f.text_field :subject, :size => 80, :required => true %></p> | |
|
13 | <p><%= f.text_area :description, :cols => 60, :rows => 10, :required => true %></p> | |
|
14 | <p><%= f.date_select :due_date, :start_year => Date.today.year, :include_blank => true %></p> | |
|
38 | 15 | |
|
39 | <p><label for="issue_due_date"><%=l(:field_due_date)%></label><br /> | |
|
40 | <%= date_select 'issue', 'due_date', :start_year => Date.today.year, :include_blank => true %></p> | |
|
41 | ||
|
42 | 16 | <% for @custom_value in @custom_values %> |
|
43 | 17 | <p><%= custom_field_tag_with_label @custom_value %></p> |
|
44 | <% end %> | |
|
45 | ||
|
46 | <p><label for="issue_fixed_version"><%=l(:field_fixed_version)%></label><br/> | |
|
47 | <select name="issue[fixed_version_id]"> | |
|
48 | <option value="">--none--</option> | |
|
49 | <%= options_from_collection_for_select @project.versions, "id", "name", @issue.fixed_version_id %> | |
|
50 | </select></p> | |
|
18 | <% end %> | |
|
51 | 19 | |
|
52 | <!--[eoform:issue]--> | |
|
20 | <p><%= f.select :fixed_version_id, (@project.versions.collect {|v| [v.name, v.id]}), { :include_blank => true } %> | |
|
21 | </select></p> | |
|
22 | <!--[eoform:issue]--> | |
|
53 | 23 | </div> |
|
54 | ||
|
24 | ||
|
55 | 25 | <%= submit_tag l(:button_save) %> |
|
56 |
<% |
|
|
26 | <% end %> No newline at end of file |
@@ -1,13 +1,6 | |||
|
1 | 1 | <%= error_messages_for 'news' %> |
|
2 | ||
|
3 | <!--[form:news]--> | |
|
4 | <p><label for="news_title"><%=l(:field_title)%></label> <span class="required">*</span><br/> | |
|
5 | <%= text_field 'news', 'title', :size => 60 %></p> | |
|
6 | ||
|
7 | <p><label for="news_summary"><%=l(:field_summary)%></label><br/> | |
|
8 | <%= text_area 'news', 'summary', :cols => 60, :rows => 2 %></p> | |
|
9 | ||
|
10 | <p><label for="news_description"><%=l(:field_description)%> <span class="required">*</span></label><br/> | |
|
11 | <%= text_area 'news', 'description', :cols => 60, :rows => 10 %></p> | |
|
12 | <!--[eoform:news]--> | |
|
13 | ||
|
2 | <div class="box"> | |
|
3 | <p><%= f.text_field :title, :required => true, :size => 60 %></p> | |
|
4 | <p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p> | |
|
5 | <p><%= f.text_area :description, :required => true, :cols => 60, :rows => 10 %></p> | |
|
6 | </div> No newline at end of file |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_news)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag :action => 'edit', :id => @news %> | |
|
4 |
|
|
|
5 |
|
|
|
6 |
<% |
|
|
3 | <% labelled_tabular_form_for :news, @news, :url => { :action => "edit" } do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_save) %> | |
|
6 | <% end %> No newline at end of file |
@@ -7,4 +7,15 | |||
|
7 | 7 | </p> |
|
8 | 8 | |
|
9 | 9 | <%= simple_format auto_link @news.description %> |
|
10 | ||
|
10 | ||
|
11 | <% if authorize_for('news', 'edit') %> | |
|
12 | <%= start_form_tag ({:controller => 'news', :action => 'edit', :id => @news}, :method => 'get' ) %> | |
|
13 | <%= submit_tag l(:button_edit) %> | |
|
14 | <%= end_form_tag %> | |
|
15 | <% end %> | |
|
16 | ||
|
17 | <% if authorize_for('news', 'destroy') %> | |
|
18 | <%= start_form_tag ({:controller => 'news', :action => 'destroy', :id => @news}) %> | |
|
19 | <%= submit_tag l(:button_delete) %> | |
|
20 | <%= end_form_tag %> | |
|
21 | <% end %> |
@@ -1,41 +1,24 | |||
|
1 | 1 | <%= error_messages_for 'project' %> |
|
2 | ||
|
3 | 2 | <div class="box"> |
|
4 | 3 | <!--[form:project]--> |
|
5 | <p><label for="project_name"><%=l(:field_name)%> <span class="required">*</span></label><br/> | |
|
6 | <%= text_field 'project', 'name' %></p> | |
|
4 | <p><%= f.text_field :name, :required => true %></p> | |
|
7 | 5 | |
|
8 | 6 | <% if admin_loggedin? %> |
|
9 | <p><label for="project_parent_id"><%=l(:field_parent)%></label><br/> | |
|
10 | <select name="project[parent_id]"> | |
|
11 | <option value=""></option> | |
|
12 | <%= options_from_collection_for_select @root_projects, "id", "name", @project.parent_id %> | |
|
13 | </select></p> | |
|
7 | <p><%= f.select :parent_id, (@root_projects.collect {|p| [p.name, p.id]}), { :include_blank => true } %></p> | |
|
14 | 8 | <% end %> |
|
15 | 9 | |
|
16 | <p><label for="project_description"><%=l(:field_description)%> <span class="required">*</span></label><br/> | |
|
17 | <%= text_area 'project', 'description', :cols => 60, :rows => 3 %></p> | |
|
18 | ||
|
19 | <p><label for="project_homepage"><%=l(:field_homepage)%></label><br/> | |
|
20 | <%= text_field 'project', 'homepage', :size => 40 %></p> | |
|
21 | ||
|
22 | <p><%= check_box 'project', 'is_public' %> | |
|
23 | <label for="project_is_public"><%=l(:field_is_public)%></label></p> | |
|
10 | <p><%= f.text_area :description, :required => true, :cols => 60, :rows => 3 %></p> | |
|
11 | <p><%= f.text_field :homepage, :size => 40 %></p> | |
|
12 | <p><%= f.check_box :is_public %></p> | |
|
24 | 13 | |
|
25 | 14 | <% for @custom_value in @custom_values %> |
|
26 | 15 | <p><%= custom_field_tag_with_label @custom_value %></p> |
|
27 | 16 | <% end %> |
|
28 | 17 | |
|
29 |
< |
|
|
30 | <% for custom_field in @custom_fields %> | |
|
31 | <input type="checkbox" | |
|
32 | ||
|
33 | name="custom_field_ids[]" | |
|
34 | value="<%= custom_field.id %>" | |
|
35 | <%if @project.custom_fields.include? custom_field%>checked="checked"<%end%> | |
|
36 | > <%= custom_field.name %> | |
|
37 | ||
|
38 | <% end %></fieldset> | |
|
39 | ||
|
18 | <p><label><%=l(:label_custom_field_plural)%></label> | |
|
19 | <% for custom_field in @custom_fields %> | |
|
20 | <%= check_box_tag "custom_field_ids[]", custom_field.id, (@project.custom_fields.include? custom_field) %> | |
|
21 | <%= custom_field.name %> | |
|
22 | <% end %></p> | |
|
23 | <!--[eoform:project]--> | |
|
40 | 24 | </div> |
|
41 | <!--[eoform:project]--> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_project_new)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag :action => 'add' %> | |
|
4 | <%= render :partial => 'form' %> | |
|
5 |
<%= submit_tag l(:button_ |
|
|
6 |
<% |
|
|
3 | <% labelled_tabular_form_for :project, @project, :url => { :action => "add" } do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_save) %> | |
|
6 | <% end %> No newline at end of file |
@@ -1,10 +1,12 | |||
|
1 | 1 | <h2><%=l(:label_document_new)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag( { :action => 'add_document', :id => @project }, :multipart => true) %> | |
|
3 | <%= start_form_tag( { :action => 'add_document', :id => @project }, :class => "tabular", :multipart => true) %> | |
|
4 | 4 | <%= render :partial => 'documents/form' %> |
|
5 | ||
|
6 | <p><label for="attachment_file"><%=l(:label_attachment)%></label><br/> | |
|
7 | <%= file_field 'attachment', 'file' %></p> | |
|
5 | ||
|
6 | <div class="box"> | |
|
7 | <p><label for="attachment_file"><%=l(:label_attachment)%></label> | |
|
8 | <%= file_field 'attachment', 'file' %></p> | |
|
9 | </div> | |
|
8 | 10 | |
|
9 | 11 | <%= submit_tag l(:button_create) %> |
|
10 | 12 | <%= end_form_tag %> |
@@ -1,52 +1,26 | |||
|
1 | 1 | <h2><%=l(:label_issue_new)%>: <%= @tracker.name %></h2> |
|
2 | 2 | |
|
3 |
<% |
|
|
3 | <% labelled_tabular_form_for :issue, @issue, :url => {:action => 'add_issue'}, :html => {:multipart => true} do |f| %> | |
|
4 | 4 | <%= error_messages_for 'issue' %> |
|
5 | ||
|
6 | 5 | <div class="box"> |
|
7 | <!--[form:issue]--> | |
|
8 | ||
|
6 | <!--[form:issue]--> | |
|
9 | 7 | <%= hidden_field_tag 'tracker_id', @tracker.id %> |
|
10 | 8 | |
|
11 | <div style="float:left;margin-right:10px;"> | |
|
12 | <p><label for="issue_priority_id"><%=l(:field_priority)%> <span class="required">*</span></label><br /> | |
|
13 | <select name="issue[priority_id]"> | |
|
14 | <%= options_from_collection_for_select @priorities, "id", "name", @issue.priority_id %></p> | |
|
15 | </select></p> | |
|
16 | </div> | |
|
17 | ||
|
18 | <div style="float:left;margin-right:10px;"> | |
|
19 | <p><label for="issue_assigned_to_id"><%=l(:field_assigned_to)%></label><br /> | |
|
20 | <select name="issue[assigned_to_id]"> | |
|
21 | <option value=""></option> | |
|
22 | <%= options_from_collection_for_select @issue.project.members, "user_id", "name", @issue.assigned_to_id %></p> | |
|
23 | </select></p> | |
|
24 | </div> | |
|
25 | ||
|
26 | <div> | |
|
27 | <p><label for="issue_category_id"><%=l(:field_category)%></label><br /> | |
|
28 | <select name="issue[category_id]"> | |
|
29 | <option value=""></option><%= options_from_collection_for_select @project.issue_categories, "id", "name", @issue.category_id %> | |
|
30 | </select></p> | |
|
31 | </div> | |
|
32 | ||
|
33 | <p><label for="issue_subject"><%=l(:field_subject)%> <span class="required">*</span></label><br /> | |
|
34 | <%= text_field 'issue', 'subject', :size => 80 %></p> | |
|
35 | ||
|
36 | <p><label for="issue_description"><%=l(:field_description)%> <span class="required">*</span></label><br /> | |
|
37 | <%= text_area 'issue', 'description', :cols => 60, :rows => 10 %></p> | |
|
38 | ||
|
39 | <p><label for="issue_due_date"><%=l(:field_due_date)%></label><br /> | |
|
40 | <%= date_select 'issue', 'due_date', :start_year => Date.today.year, :include_blank => true %></p> | |
|
9 | <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %></p> | |
|
10 | <p><%= f.select :assigned_to_id, (@issue.project.members.collect {|m| [m.name, m.user_id]}), :include_blank => true %></p> | |
|
11 | <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}) %></p> | |
|
12 | <p><%= f.text_field :subject, :size => 80, :required => true %></p> | |
|
13 | <p><%= f.text_area :description, :cols => 60, :rows => 10, :required => true %></p> | |
|
14 | <p><%= f.date_select :due_date, :start_year => Date.today.year, :include_blank => true %></p> | |
|
41 | 15 | |
|
42 | 16 | <% for @custom_value in @custom_values %> |
|
43 | 17 | <p><%= custom_field_tag_with_label @custom_value %></p> |
|
44 | 18 | <% end %> |
|
45 | 19 | |
|
46 |
<p><label for="attachment_file"><%=l(:label_attachment)%></label> |
|
|
20 | <p><label for="attachment_file"><%=l(:label_attachment)%></label> | |
|
47 | 21 | <%= file_field 'attachment', 'file' %></p> |
|
48 | 22 | <!--[eoform:issue]--> |
|
49 | 23 | </div> |
|
50 | 24 | |
|
51 | 25 | <%= submit_tag l(:button_create) %> |
|
52 |
<% |
|
|
26 | <% end %> No newline at end of file |
@@ -1,7 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_news_new)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag :action => 'add_news', :id => @project %> | |
|
4 |
|
|
|
5 |
|
|
|
6 |
<% |
|
|
7 | ||
|
3 | <% labelled_tabular_form_for :news, @news, :url => { :action => "add_news" } do |f| %> | |
|
4 | <%= render :partial => 'news/form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_create) %> | |
|
6 | <% end %> No newline at end of file |
@@ -1,7 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_version_new)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag :action => 'add_version', :id => @project %> | |
|
4 |
|
|
|
5 |
|
|
|
6 |
<% |
|
|
7 | ||
|
3 | <% labelled_tabular_form_for :version, @version, :url => { :action => 'add_version' } do |f| %> | |
|
4 | <%= render :partial => 'versions/form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_create) %> | |
|
6 | <% end %> No newline at end of file |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_public_projects)%></h2> |
|
2 | 2 | |
|
3 | <table width="100%" cellspacing="1" cellpadding="2" class="listTableContent"> | |
|
3 | <table class="listTableContent"> | |
|
4 | 4 | <tr class="ListHead"> |
|
5 | 5 | <%= sort_header_tag('name', :caption => l(:label_project)) %> |
|
6 | 6 | <th><%=l(:field_description)%></th> |
@@ -2,7 +2,7 | |||
|
2 | 2 | |
|
3 | 3 | <% delete_allowed = authorize_for('versions', 'destroy_file') %> |
|
4 | 4 | |
|
5 | <table border="0" cellspacing="1" cellpadding="2" class="listTableContent"> | |
|
5 | <table class="listTableContent"> | |
|
6 | 6 | <tr class="ListHead"> |
|
7 | 7 | <th><%=l(:field_version)%></th> |
|
8 | 8 | <th><%=l(:field_filename)%></th> |
@@ -22,7 +22,7 | |||
|
22 | 22 | </tr> |
|
23 | 23 | </table> |
|
24 | 24 | |
|
25 | <table border="0" cellspacing="1" cellpadding="2" class="listTableContent"> | |
|
25 | <table class="listTableContent"> | |
|
26 | 26 | <tr><td colspan="7" align="right"> |
|
27 | 27 | <small><%= link_to l(:label_export_csv), :action => 'export_issues_csv', :id => @project.id %></small> |
|
28 | 28 | </td></tr> |
@@ -2,11 +2,8 | |||
|
2 | 2 | |
|
3 | 3 | <% for news in @news %> |
|
4 | 4 | <p> |
|
5 | <b><%= news.title %></b> <small>(<%= link_to_user news.author %> <%= format_time(news.created_on) %>)</small> | |
|
6 | <%= link_to_if_authorized image_tag('edit_small'), :controller => 'news', :action => 'edit', :id => news %> | |
|
7 | <%= link_to_if_authorized image_tag('delete'), { :controller => 'news', :action => 'destroy', :id => news }, :confirm => 'Are you sure?' %> | |
|
8 | <br /> | |
|
9 | <%= news.summary %> | |
|
5 | <b><%= news.title %></b> <small>(<%= link_to_user news.author %> <%= format_time(news.created_on) %>)</small><br /> | |
|
6 | <%= news.summary %><br /> | |
|
10 | 7 | <small>[<%= link_to l(:label_read), :controller => 'news', :action => 'show', :id => news %>]</small> |
|
11 | 8 | </p> |
|
12 | 9 | <% end %> |
@@ -1,9 +1,9 | |||
|
1 | 1 | <h2><%=l(:label_settings)%></h2> |
|
2 | 2 | |
|
3 |
<% |
|
|
4 | <%= render :partial => 'form' %> | |
|
5 |
|
|
|
6 |
<% |
|
|
3 | <% labelled_tabular_form_for :project, @project, :url => { :action => "edit", :id => @project } do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_save) %> | |
|
6 | <% end %> | |
|
7 | 7 | |
|
8 | 8 | |
|
9 | 9 |
@@ -11,3 +11,4 | |||
|
11 | 11 | <strong><%=l(:field_category)%></strong> |
|
12 | 12 | <%= render :partial => 'simple', :locals => { :data => @issues_by_category, :field_name => "category_id", :rows => @categories } %> |
|
13 | 13 | |
|
14 | |
@@ -1,9 +1,7 | |||
|
1 | 1 | <%= error_messages_for 'role' %> |
|
2 | ||
|
3 | 2 | <div class="box"> |
|
4 | 3 | <!--[form:role]--> |
|
5 | <p><label for="role_name"><%=l(:field_name)%> <span class="required">*</span></label><br /> | |
|
6 | <%= text_field 'role', 'name' %></p> | |
|
4 | <p><%= f.text_field :name, :required => true %></p> | |
|
7 | 5 | |
|
8 | 6 | <strong><%=l(:label_permissions)%>:</strong> |
|
9 | 7 | <% permissions = @permissions.group_by {|p| p.group_id } %> |
@@ -1,8 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_role)%></h2> |
|
2 | 2 | |
|
3 |
<% |
|
|
4 | <%= render :partial => 'form' %> | |
|
3 | <% labelled_tabular_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | 5 | <%= submit_tag l(:button_save) %> |
|
6 |
<% |
|
|
7 | ||
|
8 | ||
|
6 | <% end %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_role_plural)%></h2> |
|
2 | 2 | |
|
3 | <table border="0" cellspacing="1" cellpadding="2" class="listTableContent"> | |
|
3 | <table class="listTableContent"> | |
|
4 | 4 | <tr class="ListHead"> |
|
5 | 5 | <th><%=l(:label_role)%></th> |
|
6 | 6 | <th></th> |
@@ -9,10 +9,8 | |||
|
9 | 9 | <% for role in @roles %> |
|
10 | 10 | <tr class="<%= cycle("odd", "even") %>"> |
|
11 | 11 | <td><%= link_to role.name, :action => 'edit', :id => role %></td> |
|
12 | <td align="center"> | |
|
13 | <%= start_form_tag :action => 'destroy', :id => role %> | |
|
14 | <%= submit_tag l(:button_delete), :class => "button-small" %> | |
|
15 | <%= end_form_tag %> | |
|
12 | <td align="center"> | |
|
13 | <%= button_to l(:button_delete), { :action => 'destroy', :id => role }, :confirm => l(:text_are_you_sure), :class => "button-small" %> | |
|
16 | 14 | </tr> |
|
17 | 15 | <% end %> |
|
18 | 16 | </table> |
@@ -1,7 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_role_new)%></h2> |
|
2 | 2 | |
|
3 |
<% |
|
|
4 | <%= render :partial => 'form' %> | |
|
3 | <% labelled_tabular_form_for :role, @role, :url => { :action => 'new' }, :html => {:id => 'role_form'} do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | 5 | <%= submit_tag l(:button_create) %> |
|
6 |
<% |
|
|
7 | ||
|
6 | <% end %> No newline at end of file |
@@ -1,10 +1,7 | |||
|
1 | 1 | <%= error_messages_for 'tracker' %> |
|
2 | ||
|
2 | <div class="box"> | |
|
3 | 3 | <!--[form:tracker]--> |
|
4 | <p><label for="tracker_name"><%=l(:field_name)%></label> <span class="required">*</span><br/> | |
|
5 | <%= text_field 'tracker', 'name' %></p> | |
|
6 | ||
|
7 | <p><%= check_box 'tracker', 'is_in_chlog' %> | |
|
8 | <label for="tracker_is_in_chlog"><%=l(:field_is_in_chlog)%></label></p> | |
|
4 | <p><%= f.text_field :name, :required => true %></p> | |
|
5 | <p><%= f.check_box :is_in_chlog %></p> | |
|
9 | 6 | <!--[eoform:tracker]--> |
|
10 | ||
|
7 | </div> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_tracker)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag :action => 'edit', :id => @tracker %> | |
|
4 |
|
|
|
5 |
|
|
|
6 |
<% |
|
|
3 | <% labelled_tabular_form_for :tracker, @tracker, :url => { :action => 'edit' } do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_save) %> | |
|
6 | <% end %> No newline at end of file |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_tracker_plural)%></h2> |
|
2 | 2 | |
|
3 | <table border="0" cellspacing="1" cellpadding="2" class="listTableContent"> | |
|
3 | <table class="listTableContent"> | |
|
4 | 4 | <tr class="ListHead"> |
|
5 | 5 | <th><%=l(:label_tracker)%></th> |
|
6 | 6 | <th></th> |
@@ -9,10 +9,8 | |||
|
9 | 9 | <% for tracker in @trackers %> |
|
10 | 10 | <tr class="<%= cycle("odd", "even") %>"> |
|
11 | 11 | <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td> |
|
12 | <td align="center"> | |
|
13 | <%= start_form_tag :action => 'destroy', :id => tracker %> | |
|
14 | <%= submit_tag l(:button_delete), :class => "button-small" %> | |
|
15 | <%= end_form_tag %> | |
|
12 | <td align="center"> | |
|
13 | <%= button_to l(:button_delete), { :action => 'destroy', :id => tracker }, :confirm => l(:text_are_you_sure), :class => "button-small" %> | |
|
16 | 14 | </td> |
|
17 | 15 | </tr> |
|
18 | 16 | <% end %> |
@@ -1,7 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_tracker_new)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag :action => 'new' %> | |
|
4 |
|
|
|
5 |
|
|
|
6 |
<% |
|
|
7 | ||
|
3 | <% labelled_tabular_form_for :tracker, @tracker, :url => { :action => 'new' } do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_create) %> | |
|
6 | <% end %> No newline at end of file |
@@ -2,36 +2,25 | |||
|
2 | 2 | |
|
3 | 3 | <div class="box"> |
|
4 | 4 | <!--[form:user]--> |
|
5 | <p><label for="user_login"><%=l(:field_login)%></label> <span class="required">*</span><br/> | |
|
6 | <%= text_field 'user', 'login', :size => 25 %></p> | |
|
5 | <p><%= f.text_field :login, :required => true, :size => 25 %></p> | |
|
7 | 6 | |
|
8 |
<p><label for="password"><%=l(:field_password)%>< |
|
|
7 | <p><label for="password"><%=l(:field_password)%><span class="required"> *</span></label> | |
|
9 | 8 | <%= password_field_tag 'password', nil, :size => 25 %></p> |
|
10 | 9 | |
|
11 |
<p><label for="password_confirmation"><%=l(:field_password_confirmation)%>< |
|
|
10 | <p><label for="password_confirmation"><%=l(:field_password_confirmation)%><span class="required"> *</span></label> | |
|
12 | 11 | <%= password_field_tag 'password_confirmation', nil, :size => 25 %></p> |
|
13 | 12 | |
|
14 | <p><label for="user_firstname"><%=l(:field_firstname)%></label> <span class="required">*</span><br/> | |
|
15 | <%= text_field 'user', 'firstname' %></p> | |
|
16 | ||
|
17 | <p><label for="user_lastname"><%=l(:field_lastname)%></label> <span class="required">*</span><br/> | |
|
18 | <%= text_field 'user', 'lastname' %></p> | |
|
19 | ||
|
20 | <p><label for="user_mail"><%=l(:field_mail)%></label> <span class="required">*</span><br/> | |
|
21 | <%= text_field 'user', 'mail' %></p> | |
|
22 | ||
|
23 | <p><label for="user_language"><%=l(:field_language)%></label><br/> | |
|
24 | <%= select("user", "language", lang_options_for_select) %></p> | |
|
13 | <p><%= f.text_field :firstname, :required => true %></p> | |
|
14 | <p><%= f.text_field :lastname, :required => true %></p> | |
|
15 | <p><%= f.text_field :mail, :required => true %></p> | |
|
16 | <p><%= f.select :language, lang_options_for_select %></p> | |
|
25 | 17 | |
|
26 | 18 | <% for @custom_value in @custom_values %> |
|
27 | 19 | <p><%= custom_field_tag_with_label @custom_value %></p> |
|
28 | 20 | <% end %> |
|
29 | 21 | |
|
30 | <div style="clear: both;"></div> | |
|
31 | ||
|
32 | <p><%= check_box 'user', 'admin' %> <label for="user_admin"><%=l(:field_admin)%></label></p> | |
|
33 | ||
|
34 | <p><%= check_box 'user', 'mail_notification' %> <label for="user_mail_notification"><%=l(:field_mail_notification)%></label></p> | |
|
22 | <p><%= f.check_box :admin %></p> | |
|
23 | <p><%= f.check_box :mail_notification %></p> | |
|
35 | 24 | |
|
36 | 25 | <!--[eoform:user]--> |
|
37 | 26 | </div> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_user_new)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag :action => 'add' %> | |
|
4 |
|
|
|
5 |
|
|
|
6 |
<% |
|
|
3 | <% labelled_tabular_form_for :user, @user, :url => { :action => "add" } do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_create) %> | |
|
6 | <% end %> No newline at end of file |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_user)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag :action => 'edit', :id => @user %> | |
|
4 |
|
|
|
5 |
|
|
|
6 |
<% |
|
|
3 | <% labelled_tabular_form_for :user, @user, :url => { :action => "edit" } do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_save) %> | |
|
6 | <% end %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_user_plural)%></h2> |
|
2 | 2 | |
|
3 |
<table |
|
|
3 | <table class="listTableContent"> | |
|
4 | 4 | <tr class="ListHead"> |
|
5 | 5 | <%= sort_header_tag('login', :caption => l(:field_login)) %> |
|
6 | 6 | <%= sort_header_tag('firstname', :caption => l(:field_firstname)) %> |
@@ -1,13 +1,8 | |||
|
1 | 1 | <%= error_messages_for 'version' %> |
|
2 | ||
|
2 | <div class="box"> | |
|
3 | 3 | <!--[form:version]--> |
|
4 | <p><label for="version_name"><%=l(:field_name)%></label> <span class="required">*</span><br/> | |
|
5 |
<%= text_field |
|
|
6 | ||
|
7 | <p><label for="version_description"><%=l(:field_description)%></label><br/> | |
|
8 | <%= text_field 'version', 'description', :size => 60 %></p> | |
|
9 | ||
|
10 | <p><label for="version_effective_date"><%=l(:field_effective_date)%></label><br/> | |
|
11 | <%= date_select 'version', 'effective_date' %></p> | |
|
4 | <p><%= f.text_field :name, :size => 20, :required => true %></p> | |
|
5 | <p><%= f.text_field :description, :size => 60 %></p> | |
|
6 | <p><%= f.date_select :effective_date, :required => true %></p> | |
|
12 | 7 | <!--[eoform:version]--> |
|
13 | ||
|
8 | </div> No newline at end of file |
@@ -1,8 +1,7 | |||
|
1 | 1 | <h2><%=l(:label_version)%></h2> |
|
2 | 2 | |
|
3 | <%= start_form_tag :action => 'edit', :id => @version %> | |
|
4 |
|
|
|
5 |
|
|
|
6 |
<% |
|
|
7 | ||
|
3 | <% labelled_tabular_form_for :version, @version, :url => { :action => 'edit' } do |f| %> | |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> | |
|
5 | <%= submit_tag l(:button_save) %> | |
|
6 | <% end %> | |
|
8 | 7 |
@@ -123,7 +123,7 ActiveRecord::Errors.default_error_messages = { | |||
|
123 | 123 | :not_a_number => "activerecord_error_not_a_number" |
|
124 | 124 | } |
|
125 | 125 | |
|
126 |
ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| " |
|
|
126 | ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" } | |
|
127 | 127 | |
|
128 | 128 | GLoc.set_config :default_language => $RDM_DEFAULT_LANG |
|
129 | 129 | GLoc.clear_strings |
@@ -7,22 +7,26 http://redmine.org/ | |||
|
7 | 7 | |
|
8 | 8 | == xx/xx/2006 v0.3.0 |
|
9 | 9 | |
|
10 | * user authentication against multiple LDAP | |
|
10 | * user authentication against multiple LDAP (optional) | |
|
11 | 11 | * token based "lost password" functionality |
|
12 | 12 | * user self-registration functionality (optional) |
|
13 | 13 | * custom fields now available for issues, users and projects |
|
14 | 14 | * new custom field format "text" (displayed as a textarea field) |
|
15 | 15 | * project & administration drop down menus in navigation bar for quicker access |
|
16 | 16 | * "due date" field added on issues |
|
17 | * error messages internationalization | |
|
17 | * tracker selection filter added on change log | |
|
18 | 18 | * Localization plugin replaced with GLoc 1.1.0 |
|
19 | * error messages internationalization | |
|
20 | * german translation added (thanks to Karim Trott) | |
|
19 | 21 | * new filter in issues list: "Fixed version" |
|
20 | 22 | * active filters are displayed with colored background on issues list |
|
21 | 23 | * custom configuration is now defined in config/config_custom.rb |
|
22 | 24 | * user object no more stored in session (only user_id) |
|
23 | 25 | * news summary field is no longer required |
|
26 | * tables and forms redesign | |
|
24 | 27 | * Fixed: boolean custom field not working |
|
25 | 28 | * Fixed: error messages for custom fields are not displayed |
|
29 | * Fixed: invalid custom fields should have a red border | |
|
26 | 30 | * Fixed: custom fields values are not validated on issue update |
|
27 | 31 | * Fixed: unable to choose an empty value for 'List' custom fields |
|
28 | 32 | * Fixed: no issue categories sorting |
@@ -101,7 +101,7 field_user: User | |||
|
101 | 101 | field_role: Role |
|
102 | 102 | field_homepage: Homepage |
|
103 | 103 | field_is_public: Public |
|
104 |
field_parent: Subproject |
|
|
104 | field_parent: Subproject of | |
|
105 | 105 | field_is_in_chlog: Issues displayed in changelog |
|
106 | 106 | field_login: Login |
|
107 | 107 | field_mail_notification: Mail notifications |
@@ -264,6 +264,7 text_min_max_length_info: 0 means no restriction | |||
|
264 | 264 | text_possible_values_info: values separated with | |
|
265 | 265 | text_project_destroy_confirmation: Are you sure you want to delete this project and all related data ? |
|
266 | 266 | text_workflow_edit: Select a role and a tracker to edit the workflow |
|
267 | text_are_you_sure: Are you sure ? | |
|
267 | 268 | |
|
268 | 269 | default_role_manager: Manager |
|
269 | 270 | default_role_developper: Developer |
@@ -264,6 +264,7 text_min_max_length_info: 0 para ninguna restricción | |||
|
264 | 264 | #text_possible_values_info: values separated with | |
|
265 | 265 | text_project_destroy_confirmation: ¿ Estás seguro de querer eliminar el proyecto ? |
|
266 | 266 | text_workflow_edit: Seleccionar un workflow para actualizar |
|
267 | text_are_you_sure: ¿ Estás seguro ? | |
|
267 | 268 | |
|
268 | 269 | default_role_manager: Manager |
|
269 | 270 | default_role_developper: Desarrollador |
@@ -264,6 +264,7 text_min_max_length_info: 0 pour aucune restriction | |||
|
264 | 264 | text_possible_values_info: valeurs séparées par | |
|
265 | 265 | text_project_destroy_confirmation: Etes-vous sûr de vouloir supprimer ce projet et tout ce qui lui est rattaché ? |
|
266 | 266 | text_workflow_edit: Sélectionner un tracker et un rôle pour éditer le workflow |
|
267 | text_are_you_sure: Etes-vous sûr ? | |
|
267 | 268 | |
|
268 | 269 | default_role_manager: Manager |
|
269 | 270 | default_role_developper: Développeur |
@@ -13,6 +13,7 line-height:1.4em; | |||
|
13 | 13 | text-align:center; |
|
14 | 14 | color:#303030; |
|
15 | 15 | background:#e8eaec; |
|
16 | margin:0; | |
|
16 | 17 | } |
|
17 | 18 | |
|
18 | 19 | |
@@ -39,25 +40,25 img.right{float:right; margin:0 0 5px 12px;} | |||
|
39 | 40 | #container{ |
|
40 | 41 | width:100%; |
|
41 | 42 | min-width: 800px; |
|
42 |
margin: |
|
|
43 |
padding: |
|
|
43 | margin:0; | |
|
44 | padding:0; | |
|
44 | 45 | text-align:left; |
|
45 | 46 | background:#ffffff; |
|
46 | 47 | color:#303030; |
|
47 | border:2px solid #a0a0a0; | |
|
48 | 48 | } |
|
49 | 49 | |
|
50 | 50 | #header{ |
|
51 |
height: |
|
|
51 | height:4.5em; | |
|
52 | 52 | /*width:758px;*/ |
|
53 |
margin:0 |
|
|
53 | margin:0; | |
|
54 | 54 | background:#467aa7; |
|
55 | 55 | color:#ffffff; |
|
56 | margin-bottom:1px; | |
|
56 | 57 | } |
|
57 | 58 | |
|
58 | 59 | #header h1{ |
|
59 |
padding:1 |
|
|
60 |
font-size: |
|
|
60 | padding:10px 0 0 20px; | |
|
61 | font-size:1.8em; | |
|
61 | 62 | background-color:inherit; |
|
62 | 63 | color:#fff; /*rgb(152, 26, 33);*/ |
|
63 | 64 | letter-spacing:-2px; |
@@ -65,7 +66,7 font-weight:normal; | |||
|
65 | 66 | } |
|
66 | 67 | |
|
67 | 68 | #header h2{ |
|
68 |
margin: |
|
|
69 | margin:3px 0 0 40px; | |
|
69 | 70 | font-size:1.4em; |
|
70 | 71 | background-color:inherit; |
|
71 | 72 | color:#f0f2f4; |
@@ -77,7 +78,7 font-weight:normal; | |||
|
77 | 78 | height:2.2em; |
|
78 | 79 | line-height:2.2em; |
|
79 | 80 | /*width:758px;*/ |
|
80 |
margin:0 |
|
|
81 | margin:0; | |
|
81 | 82 | background:#578bb8; |
|
82 | 83 | color:#ffffff; |
|
83 | 84 | } |
@@ -127,16 +128,22 background-color: #80b0da; | |||
|
127 | 128 | |
|
128 | 129 | /**************** Content styles ****************/ |
|
129 | 130 | |
|
131 | html>body #content { | |
|
132 | height: auto; | |
|
133 | min-height: 300px; | |
|
134 | } | |
|
135 | ||
|
130 | 136 | #content{ |
|
131 | 137 | /*float:right;*/ |
|
132 | 138 | /*width:530px;*/ |
|
133 | 139 | width: auto; |
|
134 |
|
|
|
140 | height:300px; | |
|
135 | 141 | font-size:0.9em; |
|
136 | 142 | padding:20px 10px 10px 20px; |
|
137 | 143 | /*position: absolute;*/ |
|
138 |
margin: |
|
|
144 | margin-left: 120px; | |
|
139 | 145 | border-left: 1px dashed #c0c0c0; |
|
146 | ||
|
140 | 147 | } |
|
141 | 148 | |
|
142 | 149 | #content h2{ |
@@ -176,6 +183,10 form { | |||
|
176 | 183 | |
|
177 | 184 | .noborder { |
|
178 | 185 | border:0px; |
|
186 | Exception exceptions.AssertionError: <exceptions.AssertionError instance at 0xb7c0b20c> in <bound | |
|
187 | method SubversionRepository.__del__ of <vclib.svn.SubversionRepository instance at 0xb7c1252c>> | |
|
188 | ignored | |
|
189 | ||
|
179 | 190 | background-color:#fff; |
|
180 | 191 | width:100%; |
|
181 | 192 | } |
@@ -186,7 +197,7 textarea { | |||
|
186 | 197 | } |
|
187 | 198 | |
|
188 | 199 | input { |
|
189 |
vertical-align: |
|
|
200 | vertical-align: middle; | |
|
190 | 201 | } |
|
191 | 202 | |
|
192 | 203 | input.button-small |
@@ -227,14 +238,13 legend { | |||
|
227 | 238 | } |
|
228 | 239 | |
|
229 | 240 | table.listTableContent { |
|
230 | /*margin: 2em 2em 2em 0; */ | |
|
231 | border:1px solid #c0c0c0; | |
|
241 | border:1px solid #578bb8; | |
|
232 | 242 | width:99%; |
|
243 | border-collapse: collapse; | |
|
233 | 244 | } |
|
234 | 245 | |
|
235 | 246 | table.listTableContent td { |
|
236 |
|
|
|
237 | ||
|
247 | padding:4px; | |
|
238 | 248 | } |
|
239 | 249 | |
|
240 | 250 | tr.ListHead { |
@@ -249,10 +259,10 tr.ListHead a { | |||
|
249 | 259 | } |
|
250 | 260 | |
|
251 | 261 | tr.odd { |
|
252 |
background-color: |
|
|
262 | background-color:#f0f1f2; | |
|
253 | 263 | } |
|
254 | 264 | tr.even { |
|
255 |
background-color: |
|
|
265 | background-color: #fff; | |
|
256 | 266 | } |
|
257 | 267 | |
|
258 | 268 | hr { border:none; border-bottom: dotted 2px #c0c0c0; } |
@@ -263,19 +273,18 hr { border:none; border-bottom: dotted 2px #c0c0c0; } | |||
|
263 | 273 | #subcontent{ |
|
264 | 274 | float:left; |
|
265 | 275 | clear:both; |
|
266 |
width:1 |
|
|
276 | width:110px; | |
|
267 | 277 | padding:20px 20px 10px 5px; |
|
268 | line-height:1.4em; | |
|
269 | 278 | } |
|
270 | 279 | |
|
271 | 280 | #subcontent h2{ |
|
272 | 281 | display:block; |
|
273 |
margin:0 0 |
|
|
274 |
font-size:1. |
|
|
275 |
font-weight: |
|
|
282 | margin:0 0 5px 0; | |
|
283 | font-size:1.0em; | |
|
284 | font-weight:bold; | |
|
276 | 285 | text-align:left; |
|
277 | 286 | letter-spacing:-1px; |
|
278 |
color:# |
|
|
287 | color:#606060; | |
|
279 | 288 | background-color:inherit; |
|
280 | 289 | } |
|
281 | 290 | |
@@ -283,11 +292,11 background-color:inherit; | |||
|
283 | 292 | |
|
284 | 293 | /**************** Menublock styles ****************/ |
|
285 | 294 | |
|
286 |
.menublock{margin:0 0 20px 8px; font-size:0. |
|
|
295 | .menublock{margin:0 0 20px 8px; font-size:0.8em;} | |
|
287 | 296 | .menublock li{list-style:none; display:block; padding:1px; margin-bottom:0px;} |
|
288 | 297 | .menublock li a{font-weight:bold; text-decoration:none;} |
|
289 | 298 | .menublock li a:hover{text-decoration:none;} |
|
290 |
.menublock li ul{margin: |
|
|
299 | .menublock li ul{margin:0; font-size:1em; font-weight:normal;} | |
|
291 | 300 | .menublock li ul li{margin-bottom:0;} |
|
292 | 301 | .menublock li ul a{font-weight:normal;} |
|
293 | 302 | |
@@ -317,7 +326,7 text-align:center; | |||
|
317 | 326 | clear:both; |
|
318 | 327 | /*width:758px;*/ |
|
319 | 328 | padding:5px 0; |
|
320 |
margin:0 |
|
|
329 | margin:0; | |
|
321 | 330 | font-size:0.9em; |
|
322 | 331 | color:#f0f0f0; |
|
323 | 332 | background:#467aa7; |
@@ -352,3 +361,33 width: 50%; | |||
|
352 | 361 | text-align: left; |
|
353 | 362 | } |
|
354 | 363 | |
|
364 | ||
|
365 | /***** CSS FORM ******/ | |
|
366 | .tabular p{ | |
|
367 | margin: 0; | |
|
368 | padding: 5px 0 8px 0; | |
|
369 | padding-left: 180px; /*width of left column containing the label elements*/ | |
|
370 | height: 1%; | |
|
371 | } | |
|
372 | ||
|
373 | .tabular label{ | |
|
374 | font-weight: bold; | |
|
375 | float: left; | |
|
376 | margin-left: -180px; /*width of left column*/ | |
|
377 | width: 175px; /*width of labels. Should be smaller than left column to create some right | |
|
378 | margin*/ | |
|
379 | } | |
|
380 | ||
|
381 | .error { | |
|
382 | color: #cc0000; | |
|
383 | } | |
|
384 | ||
|
385 | ||
|
386 | /*.threepxfix class below: | |
|
387 | Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents. | |
|
388 | to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html | |
|
389 | */ | |
|
390 | ||
|
391 | * html .threepxfix{ | |
|
392 | margin-left: 3px; | |
|
393 | } No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now