Status: New
Owner: [email protected]
Labels: Type-Enhancement Priority-Medium Milestone-Release-1.1 Component-ThemingSkinning Component-I18N-G11N

New issue 1547 by [email protected]: Fix "Draft" status in information object titles
http://code.google.com/p/qubit-toolkit/issues/detail?id=1547

We are currently adding the "(Draft)" suffix to each title manually with a
conditional statement, as so:

<?php echo link_to(render_title($informationObject),
array($informationObject, 'module' => 'informationobject')) ?><?php if
(QubitTerm::PUBLICATION_STATUS_DRAFT_ID ==
$informationObject->getPublicationStatus()->status->id): ?> <span
class="publicationStatus"><?php echo
$informationObject->getPublicationStatus()->status ?></span><?php endif; ?>

It would be better to have a consistent and i18n friendly way of doing this
across the application. Some possible options are:

* Add the "Draft" marker with css
* Add it to the render_title() helper
* Add it to the QubitInformationObject->__toString() method

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Qubit 
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-issues?hl=en.

Reply via email to