Menu

Commit [r2946]  Maximize  Restore  History

Added an active field track if an Enumeration is active on the frontend view.

* 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

edavis10 2009-10-21

changed /trunk/app/helpers/timelog_helper.rb
changed /trunk/app/models/enumeration.rb
changed /trunk/app/views/enumerations/_form.rhtml
changed /trunk/app/views/enumerations/list.rhtml
changed /trunk/app/views/timelog/edit.rhtml
changed /trunk/config/locales/en.yml
added /trunk/db/migrate/20090401231134_add_active_field_to_enumerations.rb
changed /trunk/test/fixtures/enumerations.yml
changed /trunk/test/functional/timelog_controller_test.rb
/trunk/app/helpers/timelog_helper.rb Diff Switch to side-by-side view
Loading...
/trunk/app/models/enumeration.rb Diff Switch to side-by-side view
Loading...
/trunk/app/views/enumerations/_form.rhtml Diff Switch to side-by-side view
Loading...
/trunk/app/views/enumerations/list.rhtml Diff Switch to side-by-side view
Loading...
/trunk/app/views/timelog/edit.rhtml Diff Switch to side-by-side view
Loading...
/trunk/config/locales/en.yml Diff Switch to side-by-side view
Loading...
/trunk/db/migrate/20090401231134_add_active_field_to_enumerations.rb Diff Switch to side-by-side view
Loading...
/trunk/test/fixtures/enumerations.yml Diff Switch to side-by-side view
Loading...
/trunk/test/functional/timelog_controller_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.