You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/04/29 16:34:26 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/default/config/menus generic.xsp
gregor 2004/04/29 07:34:25
Modified: src/webapp/lenya/pubs/default/config/menus generic.xsp
Log:
seperate out scheduling from workflow in the menu
Revision Changes Path
1.72 +7 -3 cocoon-lenya/src/webapp/lenya/pubs/default/config/menus/generic.xsp
Index: generic.xsp
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/default/config/menus/generic.xsp,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- generic.xsp 25 Mar 2004 11:39:43 -0000 1.71
+++ generic.xsp 29 Apr 2004 14:34:25 -0000 1.72
@@ -239,26 +239,30 @@
</menu>
<menu i18n:attr="name" name="Workflow" label="Help">
- <block>
<xsp:logic>
{
if (isDocument && Publication.AUTHORING_AREA.equals(area)) {
+ <block>
<item uc:usecase="submit" uc:step="showscreen" wf:event="submit" href="?"><i18n:text>Submit</i18n:text></item>
<item uc:usecase="reject" uc:step="showscreen" wf:event="reject" href="?"><i18n:text>Reject</i18n:text></item>
<item uc:usecase="publish" uc:step="showscreen" wf:event="publish"><xsp:attribute name="href">?<xsp:expr>urisParameter</xsp:expr>&sources=<xsp:expr>xmlSource</xsp:expr>&task-id=publish</xsp:attribute><i18n:text>Publish</i18n:text></item>
<item uc:usecase="deactivate" uc:step="showscreen" wf:event="deactivate" href="?task-id=deactivateDocument"><i18n:text>Deactivate</i18n:text></item>
+ </block><block>
<item uc:usecase="schedule" uc:step="showscreen" href="?"><i18n:text>Schedule</i18n:text></item>
+ </block>
}
else {
+ <block>
<item><i18n:text>Submit</i18n:text></item>
<item><i18n:text>Reject</i18n:text></item>
<item><i18n:text>Publish</i18n:text></item>
<item><i18n:text>Deactivate</i18n:text></item>
+ </block><block>
<item><i18n:text>Schedule</i18n:text></item>
+ </block>
}
}
</xsp:logic>
- </block>
</menu>
<menu i18n:attr="name" name="Help" label="Debug">
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org