summaryrefslogtreecommitdiffstats
path: root/app/views/enumerations
Commit message (Collapse)AuthorAgeFilesLines
* Support "active" attribute in Enumerations REST API (#31559).Go MAEDA2019-06-301-0/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18325 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use css pseudo-classes instead of cycle("odd", "even") (#15361).Jean-Philippe Lang2017-01-251-2/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16249 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Handle the case of none existing enumerations using no-data blocks (#24776).Jean-Philippe Lang2017-01-141-0/+2
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16188 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add 'icon' and 'icon-add' classes to new enum links (#24776).Jean-Philippe Lang2017-01-141-1/+1
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16187 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move 'New enumeration' links to above the item tables (#24776).Jean-Philippe Lang2017-01-141-2/+3
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16186 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use multipart forms for objects that may have file custom fields (#6719).Jean-Philippe Lang2016-12-132-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r16051 and r16050 for now (#15361).Jean-Philippe Lang2016-12-031-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16052 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes calls to #reset_cycle (#15361).Jean-Philippe Lang2016-12-031-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16051 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use css pseudo-classes instead "odd", "even" classes (#15361).Jean-Philippe Lang2016-12-031-1/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16050 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Render custom values of enumeration objects in API requests (#22795).Jean-Philippe Lang2016-09-031-0/+1
| | | | | | Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15812 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Lists can be reordered with drag and drop (#12909).Jean-Philippe Lang2016-04-171-4/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display enumeration name in confirmation message.Jean-Philippe Lang2015-10-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14750 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unneeded #h calls in views.Jean-Philippe Lang2015-02-231-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed deprecated align and width html attributes (#15307).Jean-Philippe Lang2013-11-111-10/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12268 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a CSS class for reorder links (#15307).Jean-Philippe Lang2013-11-101-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12265 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing Sort Column Label and Center Align on Admin-Enumerations (#14516).Jean-Philippe Lang2013-07-281-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12051 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds missing html titles (#14517).Jean-Philippe Lang2013-07-283-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12050 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that submitting the form without selecting a value may raise raises an ↵Jean-Philippe Lang2013-05-171-1/+1
| | | | | | error with SQLServer (#13783). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes enumerations available through the REST API.Jean-Philippe Lang2012-10-171-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecated :confirm => 'Text' option.Jean-Philippe Lang2012-07-071-4/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that enumerations option tags are escaped.Jean-Philippe Lang2012-05-131-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9681 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-253-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Resourcified enumerations.Jean-Philippe Lang2011-12-115-28/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8189 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed delete button on enumeration edit form.Jean-Philippe Lang2011-11-281-4/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7974 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed EnumerationsController#list action.Jean-Philippe Lang2011-11-281-0/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* [#9489] added invisible labels for reassign select-tag on destroy viewsToshi MARUYAMA2011-10-291-1/+1
| | | | | | Contributed by Romano Licker. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7684 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at app/views/enumerations/_form.html.erbToshi MARUYAMA2011-09-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7358 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at app/views/enumerations/list.html.erbToshi MARUYAMA2011-09-171-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7357 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/views/enumerations/list.html.erbToshi MARUYAMA2011-09-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7267 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add newline at end of app/views/enumerations/edit.html.erbToshi MARUYAMA2011-09-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7229 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/enumerations/destroy.rhtml.Toshi MARUYAMA2011-08-241-0/+0
| | | | | | :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6591 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/enumerations/_form.rhtml.Toshi MARUYAMA2011-08-241-0/+0
| | | | | | :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6590 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/enumerations/new.rhtml.Toshi MARUYAMA2011-08-241-0/+0
| | | | | | :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6589 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/enumerations/edit.rhtml.Toshi MARUYAMA2011-08-241-0/+0
| | | | | | :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6588 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/enumerations/list.rhtml.Toshi MARUYAMA2011-08-241-0/+0
| | | | | | :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6587 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds missing thead tags (#5440).Jean-Philippe Lang2010-05-091-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3734 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an helper for displaying the 'checked' image.Jean-Philippe Lang2010-03-171-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3600 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changes misleading scopes on Enumeration.Jean-Philippe Lang2009-11-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3083 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed some merge bugs. #4077Eric Davis2009-10-211-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2952 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an active field track if an Enumeration is active on the frontend view.Eric Davis2009-10-212-1/+12
| | | | | | | | | | | * Changed TimelogHelper#activity_collection_for_select_options to only use active TimeEntryActivities. * Changed TimelogHelper#activity_collection_for_select_options to return a blank option if the time_entry's current activity is inactive. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enumerations can now have custom fields defined on them. #4077Eric Davis2009-10-211-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2945 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes 'delete links' the same on admin views.Jean-Philippe Lang2009-09-121-2/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Administration panel breadcrumbs (#3314).Jean-Philippe Lang2009-07-052-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2810 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed Enumerations to use a Single Table InheritanceEric Davis2009-05-302-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * Added migrations to change Enumerations to an STI relationship * Added TimeEntryActivity model (STI) * Added DocumentCategory model (STI) * Added IssuePriority model (STI) * Added Enumeration#get_subclasses to get a list of the subclasses of Enumeration * Changed Enumeration to use the STI type field instead of the opt field * Changed Enumeration#opt to return the old opt values but with a deprecation warning. * Removed Enumeration::OPTIONS * Removed the dynamic named_scopes in favor of specific named_scopes. Kept for compatibility reasons. * Added Enumeration#default so each subclass can easily find it's default record. * Fixed Enumeration#default to use the STI scoping with a fake default scope for finding Enumeration's default. * Added a 'all' named scope for getting all records in order by position. * Added Deprecation warnings to the old named_scopes in Enumerations. * Moved various methods off of Enumeration and onto the concrete classes * Changed the EnumerationsController to use types * Updated the Enumeration list template * Added has_many relationships to the Enumeration STI classes. * Fixes for tests. #3007 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reorder links refactoring (follows r2526).Jean-Philippe Lang2009-03-011-6/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2546 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces Enumeration.get_values and Enumeration.default with named scopes.Jean-Philippe Lang2009-02-151-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to remove enumerations (activities, priorities, document categories) ↵Jean-Philippe Lang2008-06-172-2/+17
| | | | | | that are in use. Associated objects can be reassigned to another value (#1467). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1558 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes constraint on enumerations name (#1384).Jean-Philippe Lang2008-06-071-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1503 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Slight improvements to the browser views.Jean-Philippe Lang2008-01-021-1/+1
| | | | | | ApplicationHelper#set_html_title replaced by html_title with arguments and can be called several times in views to append elements to the title. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1032 e93f8b46-1217-0410-a6f0-8f06a7374b81
* More detailed html title on several views.Jean-Philippe Lang2007-12-071-0/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@964 e93f8b46-1217-0410-a6f0-8f06a7374b81