summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-07 17:33:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-07 17:33:07 +0000
commit14314b77ee9fad9cd55ccd7ddaddf9f1e29e4419 (patch)
treeac7f6ad898bfaf3880b72d7bc7537db846d55316
parentef71edd3311e76e6bb308283407ea068aa62b6ce (diff)
downloadredmine-14314b77ee9fad9cd55ccd7ddaddf9f1e29e4419.tar.gz
redmine-14314b77ee9fad9cd55ccd7ddaddf9f1e29e4419.zip
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
-rw-r--r--app/views/trackers/list.rhtml2
-rw-r--r--lang/de.yml1
-rw-r--r--lang/en.yml1
-rw-r--r--lang/es.yml1
-rw-r--r--lang/fr.yml1
-rw-r--r--lang/it.yml1
-rw-r--r--lang/ja.yml1
-rw-r--r--lang/zh.yml1
-rw-r--r--public/images/milestone.pngbin0 -> 235 bytes
-rw-r--r--public/images/warning.pngbin0 -> 535 bytes
-rw-r--r--public/stylesheets/application.css1
11 files changed, 10 insertions, 0 deletions
diff --git a/app/views/trackers/list.rhtml b/app/views/trackers/list.rhtml
index 2afa58d8f..8517c44d6 100644
--- a/app/views/trackers/list.rhtml
+++ b/app/views/trackers/list.rhtml
@@ -7,6 +7,7 @@
<table class="list">
<thead><tr>
<th><%=l(:label_tracker)%></th>
+ <th></th>
<th><%=l(:button_sort)%></th>
<th></th>
</tr></thead>
@@ -14,6 +15,7 @@
<% for tracker in @trackers %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td>
+ <td align="center"><% unless tracker.workflows.count > 0 %><span class="icon icon-warning"><%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), {:controller => "roles", :action => "workflow", :tracker_id => tracker} %>)</span><% end %></td>
<td align="center" style="width:15%;">
<%= 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 c8d0aedd2..024c71950 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.<br />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 8c56811b3..07dea3ced 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.<br />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 8272cfea2..391cb085e 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.<br />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 b3efeebb1..aeac0e72e 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.<br />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 0900a2a7a..4fc22aeed 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.<br />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 babb212e0..67f8b2be5 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.<br />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 42d69759d..471039ec8 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.<br />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 000000000..3df96fc24
--- /dev/null
+++ b/public/images/milestone.png
Binary files differ
diff --git a/public/images/warning.png b/public/images/warning.png
new file mode 100644
index 000000000..bbef670b6
--- /dev/null
+++ b/public/images/warning.png
Binary files differ
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 97ac05b71..ada2b67cd 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -157,6 +157,7 @@ vertical-align: middle;
.icon-feed { background-image: url(../images/feed.png); }
.icon-time { background-image: url(../images/time.png); }
.icon-stats { background-image: url(../images/stats.png); }
+.icon-warning { background-image: url(../images/warning.png); }
.icon22-projects { background-image: url(../images/22x22/projects.png); }
.icon22-users { background-image: url(../images/22x22/users.png); }