Commit 03fcd650 authored by Vincent Pelletier's avatar Vincent Pelletier

Add developper jump menu entries to workflows that apply to context.

Add a link to portal_activities when there are activities runing.
Add a link to portal type.
Add a link to context help.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6887 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e7d44be3
...@@ -105,6 +105,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -105,6 +105,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
tal:attributes="value action/url">Saut</option>\n tal:attributes="value action/url">Saut</option>\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.portal_workflow.Base_getSourceVisibility()">\n
<option value="1" disabled="disabled" i18n:translate="" i18n:domain="ui">-- Workflows --</option>\n
<tal:block tal:repeat="workflow python: context.portal_workflow.getWorkflowsFor(context)">\n
<option tal:attributes="value python: \'%s/manage_properties\' % (workflow.absolute_url(), )" tal:content="workflow/title"></option>\n
</tal:block>\n
</tal:block>\n
</select></td>\n </select></td>\n
<td valign="bottom" align="center" nowrap>\n <td valign="bottom" align="center" nowrap>\n
<input type="image" src="/images/erp5_html_style/images/jump.png" title="Jump"\n <input type="image" src="/images/erp5_html_style/images/jump.png" title="Jump"\n
...@@ -159,12 +165,25 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -159,12 +165,25 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
tal:attributes="src string:$portal_url/images/exec16.png"/> &nbsp;\n tal:attributes="src string:$portal_url/images/exec16.png"/> &nbsp;\n
</td>\n </td>\n
<td width="100%"><tal:block metal:define-slot="buttons"/></td>\n <td width="100%"><tal:block metal:define-slot="buttons"/></td>\n
<td aligh="right" valign="center">\n <td align="right" valign="center"\n
tal:condition="python: here.portal_types[here.getPortalType()].Base_getSourceVisibility()">\n
<a i18n:attributes="title" i18n:domain="ui" title="Portal Type"\n
tal:attributes="href python: \'%s/manage_workspace\' % (here.portal_types[here.getPortalType()].absolute_url(),)">\n
<img alt="Help" src="images/portaltype.png" border="0" alt="Help" i18n:attributes="alt" i18n:domain="ui"/>\n
</a>\n
</td>\n
<td align="right" valign="center">\n
<tal:block metal:use-macro="context/form_developper_buttons/macros/help"/>\n
</td>\n
<td aligh="right" valign="center"\n
tal:condition="here/hasActivity | nothing">\n
<a title="Portal Activities"\n
tal:attributes="href python: here.portal_activities.Base_getSourceVisibility() and \'%s/manageActivities\' % (here.portal_activities.absolute_url(), ) or \'#\'">\n
<img alt="Activity Pending" src="/images/erp5_html_style/images/activity_busy.png"\n <img alt="Activity Pending" src="/images/erp5_html_style/images/activity_busy.png"\n
tal:condition="here/hasActivity | nothing"\n
border="0" title="Activity Pending"\n border="0" title="Activity Pending"\n
i18n:attributes="title" i18n:domain="ui"\n i18n:attributes="title" i18n:domain="ui"\n
tal:attributes="src string:$portal_url/images/activity_busy.png"/>\n tal:attributes="src string:$portal_url/images/activity_busy.png"/>\n
</a>\n
</td>\n </td>\n
</tr>\n </tr>\n
</table>\n </table>\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment