1 | <metal:block define-macro="master" tal:define=" |
---|
2 | utool nocall:here/portal_url; |
---|
3 | atool here/portal_actions; |
---|
4 | mtool here/portal_membership; |
---|
5 | can_raise python:mtool.assertViewable(here); |
---|
6 | ttool here/portal_trees; |
---|
7 | wtool here/portal_workflow; |
---|
8 | context_url python:here.getContextUrl(utool=utool); |
---|
9 | base_url python:utool.getBaseUrl(); |
---|
10 | here_url python:here.absolute_url(); |
---|
11 | member mtool/getAuthenticatedMember; |
---|
12 | isAnon mtool/isAnonymousUser; |
---|
13 | isHomeless python:isAnon or member.getProperty('homeless', 0); |
---|
14 | isHomeless python:(isHomeless == '0' and [0] or [isHomeless])[0]; |
---|
15 | actions python: request.get('cpsskins_cmfactions') or atool.listFilteredActionsFor(here); |
---|
16 | wf_state python:wtool.getInfoFor(here,'review_state',''); |
---|
17 | uname python:isAnon and 'Guest' or member.getUserName(); |
---|
18 | checkPerm nocall:mtool/checkPermission; |
---|
19 | cpsmcat nocall:here/translation_service; |
---|
20 | locale here/translation_service/getSelectedLanguage; |
---|
21 | in_ws here/isInWorkspacesTree; |
---|
22 | "> |
---|
23 | <metal:block use-macro="here/generic_lib_portal_message/macros/portal_message" /> |
---|
24 | <metal:block define-slot="header" /> |
---|
25 | <metal:block define-slot="main" /> |
---|
26 | <metal:block define-slot="sub" /> |
---|
27 | </metal:block> |
---|