From 14314b77ee9fad9cd55ccd7ddaddf9f1e29e4419 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Apr 2007 17:33:07 +0000 Subject: [PATCH] Added a warning message on tracker list for trackers that don't have any workflow defined. git-svn-id: http://redmine.rubyforge.org/svn/trunk@430 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/trackers/list.rhtml | 2 ++ lang/de.yml | 1 + lang/en.yml | 1 + lang/es.yml | 1 + lang/fr.yml | 1 + lang/it.yml | 1 + lang/ja.yml | 1 + lang/zh.yml | 1 + public/images/milestone.png | Bin 0 -> 235 bytes public/images/warning.png | Bin 0 -> 535 bytes public/stylesheets/application.css | 1 + 11 files changed, 10 insertions(+) create mode 100644 public/images/milestone.png create mode 100644 public/images/warning.png diff --git a/app/views/trackers/list.rhtml b/app/views/trackers/list.rhtml index 2afa58d8f5..8517c44d64 100644 --- a/app/views/trackers/list.rhtml +++ b/app/views/trackers/list.rhtml @@ -7,6 +7,7 @@ + @@ -14,6 +15,7 @@ <% for tracker in @trackers %> "> +
<%=l(:label_tracker)%> <%=l(:button_sort)%>
<%= link_to tracker.name, :action => 'edit', :id => tracker %><% unless tracker.workflows.count > 0 %><%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), {:controller => "roles", :action => "workflow", :tracker_id => tracker} %>)<% end %> <%= link_to image_tag('2uparrow.png', :alt => l(:label_sort_highest)), {:action => 'move', :id => tracker, :position => 'highest'}, :method => :post, :title => l(:label_sort_highest) %> <%= link_to image_tag('1uparrow.png', :alt => l(:label_sort_higher)), {:action => 'move', :id => tracker, :position => 'higher'}, :method => :post, :title => l(:label_sort_higher) %> - diff --git a/lang/de.yml b/lang/de.yml index c8d0aedd27..024c71950c 100644 --- a/lang/de.yml +++ b/lang/de.yml @@ -401,6 +401,7 @@ text_tip_task_begin_end_day: Aufgabe, die an diesem Tag beginnt und beendet text_project_identifier_info: 'Lower case letters (a-z), numbers and dashes allowed.
Once saved, the identifier can not be changed.' text_caracters_maximum: %d characters maximum. text_length_between: Length between %d and %d characters. +text_tracker_no_workflow: No workflow defined for this tracker default_role_manager: Manager default_role_developper: Developer diff --git a/lang/en.yml b/lang/en.yml index 8c56811b34..07dea3cede 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -401,6 +401,7 @@ text_tip_task_begin_end_day: task beginning and ending this day text_project_identifier_info: 'Lower case letters (a-z), numbers and dashes allowed.
Once saved, the identifier can not be changed.' text_caracters_maximum: %d characters maximum. text_length_between: Length between %d and %d characters. +text_tracker_no_workflow: No workflow defined for this tracker default_role_manager: Manager default_role_developper: Developer diff --git a/lang/es.yml b/lang/es.yml index 8272cfea25..391cb085ee 100644 --- a/lang/es.yml +++ b/lang/es.yml @@ -401,6 +401,7 @@ text_tip_task_begin_end_day: tarea que comienza y termina este día text_project_identifier_info: 'Lower case letters (a-z), numbers and dashes allowed.
Once saved, the identifier can not be changed.' text_caracters_maximum: %d characters maximum. text_length_between: Length between %d and %d characters. +text_tracker_no_workflow: No workflow defined for this tracker default_role_manager: Manager default_role_developper: Desarrollador diff --git a/lang/fr.yml b/lang/fr.yml index b3efeebb10..aeac0e72e0 100644 --- a/lang/fr.yml +++ b/lang/fr.yml @@ -401,6 +401,7 @@ text_tip_task_begin_end_day: tâche commençant et finissant ce jour text_project_identifier_info: 'Lettres minuscules (a-z), chiffres et tirets autorisés.
Un fois sauvegardé, l''identifiant ne pourra plus être modifié.' text_caracters_maximum: %d caractères maximum. text_length_between: Longueur comprise entre %d et %d caractères. +text_tracker_no_workflow: Aucun worflow n'est défini pour ce tracker default_role_manager: Manager default_role_developper: Développeur diff --git a/lang/it.yml b/lang/it.yml index 0900a2a7a0..4fc22aeedb 100644 --- a/lang/it.yml +++ b/lang/it.yml @@ -401,6 +401,7 @@ text_tip_task_begin_end_day: task beginning and ending this day text_project_identifier_info: 'Lower case letters (a-z), numbers and dashes allowed.
Once saved, the identifier can not be changed.' text_caracters_maximum: %d characters maximum. text_length_between: Length between %d and %d characters. +text_tracker_no_workflow: No workflow defined for this tracker default_role_manager: Manager default_role_developper: Sviluppatore diff --git a/lang/ja.yml b/lang/ja.yml index babb212e0d..67f8b2be51 100644 --- a/lang/ja.yml +++ b/lang/ja.yml @@ -402,6 +402,7 @@ text_tip_task_begin_end_day: この日のうちに開始して終了するタス text_project_identifier_info: 'Lower case letters (a-z), numbers and dashes allowed.
Once saved, the identifier can not be changed.' text_caracters_maximum: %d characters maximum. text_length_between: Length between %d and %d characters. +text_tracker_no_workflow: No workflow defined for this tracker default_role_manager: 管理者 default_role_developper: 開発者 diff --git a/lang/zh.yml b/lang/zh.yml index 42d69759dc..471039ec85 100644 --- a/lang/zh.yml +++ b/lang/zh.yml @@ -404,6 +404,7 @@ text_tip_task_begin_end_day: 开始并结束于此 text_project_identifier_info: 'Lower case letters (a-z), numbers and dashes allowed.
Once saved, the identifier can not be changed.' text_caracters_maximum: %d characters maximum. text_length_between: Length between %d and %d characters. +text_tracker_no_workflow: No workflow defined for this tracker default_role_manager: 管理员 default_role_developper: 开发人员 diff --git a/public/images/milestone.png b/public/images/milestone.png new file mode 100644 index 0000000000000000000000000000000000000000..3df96fc24de8e9e9dfb13b2264c795dfe4b68279 GIT binary patch literal 235 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxfbW2<#N}P*Q6H7Al^Atidb5j|L z6La+x%oP&Liu4qW3=GT_42`V}46Te!6toQt4GbbCN4WttvX^-Jy0TwqVdrL5;{WBu z2NdEg@Q5sCVBq=y!i-L9OlANDS<)SS9T^xl_H+M9WCils0(?ST{{tDv81679odz-( zOM?7@862M7NCR?|JY5_^DsCkw06|I$1GAeONB2a*LrE=6EX;bX0X$dv7+7C0Xa+`4 RnGRIV;OXk;vd$@?2>@JVJ3{~f literal 0 HcmV?d00001 diff --git a/public/images/warning.png b/public/images/warning.png new file mode 100644 index 0000000000000000000000000000000000000000..bbef670b6a1db9f4fe60d34fd2b664daae4452a8 GIT binary patch literal 535 zcmV+y0_gpTP)WdL(wZ7v`;AYpcLE+8^6FgGAEIXW>jIx#mOD=;xIFw}Z3eEz@;j|==^1poj5 zv`|b`MF9T*_xJbj@9*d5=ic7l-mR_HjD*g6bH;OP&U0(`=jYaxjNWr&&Qe0gDG=x=IU&X|5Y90e)|`~ydu#W`z4zYM&b6(*oSg68-rj_J z@3pP}|Nqw3*1f&G-mRtHjC=Rq-qun%@2#b+t*wNFgy)=;-nF&fjD-L1@78Nt_wVoT zt(>i;oZgg-*0rtHy}jP0rRSxT-kgl*l!V^3tpoEM=l}o!0d!JMQvg8b*k%9#0H8@k zK~#9!b&hKnLO>XVtz|{-%Gzw~?^6x!z)ievRyO&XU~wg8hM~*)dm&)<