summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-15 16:52:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-15 16:52:32 +0000
commitfa969504d4529ca9b2ceadf3c56f09b171c9170e (patch)
treeb0f3feff09ffafd1c5d8339b228eab4e18fedb3f /app/views/projects
parent3c6ddc9cecc250b3853025ca8b10a964bed0ff97 (diff)
downloadredmine-fa969504d4529ca9b2ceadf3c56f09b171c9170e.tar.gz
redmine-fa969504d4529ca9b2ceadf3c56f09b171c9170e.zip
A category with assigned issue can now be deleted. 2 options are proposed:
* remove assignments (issues are set to 'no category') * reassign issues to another category (if at least an other category exists) If no issue is assigned to the category, it's deleted silently. git-svn-id: http://redmine.rubyforge.org/svn/trunk@733 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/settings/_issue_categories.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/_issue_categories.rhtml b/app/views/projects/settings/_issue_categories.rhtml
index bad330e20..c1e77e9cc 100644
--- a/app/views/projects/settings/_issue_categories.rhtml
+++ b/app/views/projects/settings/_issue_categories.rhtml
@@ -12,7 +12,7 @@
<td><%=h(category.name) %></td>
<td><%=h(category.assigned_to.name) if category.assigned_to %></td>
<td align="center"><small><%= link_to_if_authorized l(:button_edit), { :controller => 'issue_categories', :action => 'edit', :id => category }, :class => 'icon icon-edit' %></small></td>
- <td align="center"><small><%= link_to_if_authorized l(:button_delete), {:controller => 'issue_categories', :action => 'destroy', :id => category}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %></small></td>
+ <td align="center"><small><%= link_to_if_authorized l(:button_delete), {:controller => 'issue_categories', :action => 'destroy', :id => category}, :method => :post, :class => 'icon icon-del' %></small></td>
</tr>
<% end %>
<% end %>