]> source.dussan.org Git - redmine.git/commit
A category with assigned issue can now be deleted. 2 options are proposed:
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 15 Sep 2007 16:52:32 +0000 (16:52 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 15 Sep 2007 16:52:32 +0000 (16:52 +0000)
commitfa969504d4529ca9b2ceadf3c56f09b171c9170e
treeb0f3feff09ffafd1c5d8339b228eab4e18fedb3f
parent3c6ddc9cecc250b3853025ca8b10a964bed0ff97
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
17 files changed:
app/controllers/issue_categories_controller.rb
app/models/issue_category.rb
app/views/issue_categories/destroy.rhtml [new file with mode: 0644]
app/views/projects/settings/_issue_categories.rhtml
lang/bg.yml
lang/de.yml
lang/en.yml
lang/es.yml
lang/fr.yml
lang/it.yml
lang/ja.yml
lang/nl.yml
lang/pt-br.yml
lang/pt.yml
lang/sv.yml
lang/zh.yml
test/unit/issue_category_test.rb [new file with mode: 0644]