Lifecycle state is displayed in raw form
Reported by dsc68 | June 11th, 2010 @ 01:26 AM | in Hobo 1.4
When you view:state the state of an object with a lifecycle, the lifecycle state is displayed in its raw form ie. 'in_progress' instead of 'In Progress'. It would be better if Rapid had a view tag for state that either titleized or humanized the value.
You can work around it by defining a view tag in your application.dryml such as:
<def tag="view" for="User::LifecycleStateField">
<%= this.titleize %>
</def>
but it has to be defined for each class with a lifecycle - using for="LifecycleStateField" doesn't work.
Comments and changes to this ticket
-
Matt Jones September 14th, 2011 @ 10:38 PM
- State changed from new to open
- Milestone set to Hobo 1.4
- Milestone order changed from 0 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป