Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
141
Merge Requests
141
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
f6cc13f4
Commit
f6cc13f4
authored
Feb 13, 2024
by
Jérome Perrin
Committed by
Arnaud Fontaine
Jul 05, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
km: py3
parent
1b921bd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewNavigationMenuWidget.zpt
..._skins/erp5_km_theme/WebSite_viewNavigationMenuWidget.zpt
+3
-3
No files found.
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewNavigationMenuWidget.zpt
View file @
f6cc13f4
...
...
@@ -76,7 +76,7 @@
<tal:block tal:define="actions python: here.getPortalObject().portal_actions.listFilteredActionsFor(here);
ordered_global_actions python: [x for x in getattr(here, 'portal_workflow').listActionInfos()];
absolute_url context/absolute_url;
count python: reduce(lambda x, y: x+(y.
has_key('count') and y['count']
or 0), ordered_global_actions, 0);
count python: reduce(lambda x, y: x+(y.
get('count')
or 0), ordered_global_actions, 0);
portal_url python: context.portal_url();">
<li class="collapse-menu"
tal:condition="not:is_anonymous">
...
...
@@ -85,10 +85,10 @@
</a>
<ul tal:condition="ordered_global_actions">
<li tal:repeat="action ordered_global_actions">
<tal:block tal:condition="python: action.get('disabled') == 1 and
action.has_key('workflow_id')
">
<tal:block tal:condition="python: action.get('disabled') == 1 and
'workflow_id' in action
">
<a class="workflow_title" href='#'>-- <tal:bock i18n:translate="" i18n:domain="ui" tal:content="action/title"/> --</a>
</tal:block>
<tal:block tal:condition="python: action.get('disabled') != 1 and
action.has_key('workflow_id')
"
<tal:block tal:condition="python: action.get('disabled') != 1 and
'workflow_id' in action
"
tal:define="name python: action.get('name', '');
index python: name.find(' (');">
<a href="#" tal:condition="python: index >= 0"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment