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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
erp5
Commits
ac474671
Commit
ac474671
authored
Feb 13, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
km: py3
parent
49bd783e
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 @
ac474671
...
...
@@ -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