summaryrefslogtreecommitdiffstats
path: root/app/views/trackers
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 /app/views/trackers
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
Diffstat (limited to 'app/views/trackers')
-rw-r--r--app/views/trackers/list.rhtml2
1 files changed, 2 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) %> -