diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-04 11:40:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-04 11:40:17 +0000 |
commit | 7535c211d5e660a7a65ee91e33f14881027836a7 (patch) | |
tree | 08e6cef18c43382aff2f77cc10552f5dd1897759 /app | |
parent | d46e3a501e7bad4242d896de36f02c19b8781143 (diff) | |
download | redmine-7535c211d5e660a7a65ee91e33f14881027836a7.tar.gz redmine-7535c211d5e660a7a65ee91e33f14881027836a7.zip |
Removed IssueStatus html_color attribute.
Issue list colorization can be done using a custom theme. Each row is given a class that correspond to the issue status (eg. status-1 where 1 is the status position).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@881 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/issue_status.rb | 2 | ||||
-rw-r--r-- | app/views/issue_statuses/_form.rhtml | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/app/models/issue_status.rb b/app/models/issue_status.rb index 62b2cb762..a5d228405 100644 --- a/app/models/issue_status.rb +++ b/app/models/issue_status.rb @@ -24,8 +24,6 @@ class IssueStatus < ActiveRecord::Base validates_uniqueness_of :name validates_length_of :name, :maximum => 30 validates_format_of :name, :with => /^[\w\s\'\-]*$/i - validates_length_of :html_color, :is => 6 - validates_format_of :html_color, :with => /^[a-f0-9]*$/i def before_save IssueStatus.update_all "is_default=#{connection.quoted_false}" if self.is_default? diff --git a/app/views/issue_statuses/_form.rhtml b/app/views/issue_statuses/_form.rhtml index 7f6dc5be0..6ae0a7c33 100644 --- a/app/views/issue_statuses/_form.rhtml +++ b/app/views/issue_statuses/_form.rhtml @@ -11,8 +11,5 @@ <p><label for="issue_status_is_default"><%=l(:field_is_default)%></label> <%= check_box 'issue_status', 'is_default' %></p> -<p><label for="issue_status_html_color"><%=l(:field_html_color)%><span class="required"> *</span></label> -#<%= text_field 'issue_status', 'html_color', :maxlength => 6 %></p> - <!--[eoform:issue_status]--> </div>
\ No newline at end of file |