Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
79a2d7e2
Commit
79a2d7e2
authored
Dec 08, 2016
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unify user caption generation.
parent
a8f96bdc
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
96 additions
and
22 deletions
+96
-22
bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewStatusBarRenderer.zpt
...rp5_egov_widget_library/WebSite_viewStatusBarRenderer.zpt
+1
-1
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewUserInformationWidget.zpt
...skins/erp5_km_theme/WebSite_viewUserInformationWidget.zpt
+1
-1
bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/index_html.zpt
...inTemplateItem/portal_skins/erp5_mobile_ui/index_html.zpt
+2
-2
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/Base_getODSMetaStyleSheet.oot
...portal_skins/erp5_ods_style/Base_getODSMetaStyleSheet.oot
+1
-2
bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_core/Base_getODTMetaStyleSheet.oot
.../portal_skins/erp5_odt_core/Base_getODTMetaStyleSheet.oot
+1
-2
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpOutgoingEventTest.py
...rp5_user_tutorial_ui_test/Zuite_setUpOutgoingEventTest.py
+3
-4
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/breadcrumb.zpt
...eItem/portal_skins/erp5_web_widget_library/breadcrumb.zpt
+3
-3
bt5/erp5_web_minimal_simplicity/SkinTemplateItem/portal_skins/erp5_web_minimal_simplicity/template_erp5_xhtml_style.zpt
...erp5_web_minimal_simplicity/template_erp5_xhtml_style.zpt
+1
-1
bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewDocumentActionWidget.zpt
...rp5_web_ung_theme/WebSection_viewDocumentActionWidget.zpt
+1
-1
bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewUserLoginWidget.zpt
...ins/erp5_web_ung_theme/WebSection_viewUserLoginWidget.zpt
+1
-1
bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/wizard_template_erp5_xhtml_style.zpt
...al_skins/erp5_wizard/wizard_template_erp5_xhtml_style.zpt
+1
-1
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_core/ERP5Site_renderBreadcrumb.zpt
...kins/erp5_xhtml_gadget_core/ERP5Site_renderBreadcrumb.zpt
+1
-1
bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.zpt
...eItem/portal_skins/tiolive_base/navigation_box_render.zpt
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getUserCaption.py
...emplateItem/portal_skins/erp5_core/Base_getUserCaption.py
+7
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getUserCaption.xml
...mplateItem/portal_skins/erp5_core/Base_getUserCaption.xml
+70
-0
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.zpt
...rtal_skins/erp5_xhtml_style/template_erp5_xhtml_style.zpt
+1
-1
No files found.
bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewStatusBarRenderer.zpt
View file @
79a2d7e2
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<tal:block tal:condition="not: here/portal_membership/isAnonymousUser">
<tal:block tal:condition="not: here/portal_membership/isAnonymousUser">
<span class="logged_txt"><tal:block i18n:translate=""
<span class="logged_txt"><tal:block i18n:translate=""
i18n:domain="ui">User</tal:block> :</span><span class="login">
i18n:domain="ui">User</tal:block> :</span><span class="login">
<tal:block tal:replace="python:
here.portal_membership.getAuthenticatedMember().getId
()" />
<tal:block tal:replace="python:
here.Base_getUserCaption
()" />
</span>
</span>
</tal:block>
</tal:block>
<!--<tal:block tal:condition="here/portal_membership/isAnonymousUser">
<!--<tal:block tal:condition="here/portal_membership/isAnonymousUser">
...
...
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewUserInformationWidget.zpt
View file @
79a2d7e2
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<tal:block tal:define="current_web_site python:request.get('current_web_site', here);
<tal:block tal:define="current_web_site python:request.get('current_web_site', here);
portal_path python:request.get('current_web_site_url', current_web_site.absolute_url());
portal_path python:request.get('current_web_site_url', current_web_site.absolute_url());
user_name python: here.
portal_membership.getAuthenticatedMember
();
user_name python: here.
Base_getUserCaption
();
is_anonymous_user here/portal_membership/isAnonymousUser">
is_anonymous_user here/portal_membership/isAnonymousUser">
<tal:block tal:condition="not:is_anonymous_user">
<tal:block tal:condition="not:is_anonymous_user">
...
...
bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/index_html.zpt
View file @
79a2d7e2
...
@@ -38,7 +38,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -38,7 +38,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
<!--
<!--
<tal:block tal:condition="not: here/portal_membership/isAnonymousUser">
<tal:block tal:condition="not: here/portal_membership/isAnonymousUser">
<span class="link2" i18n:translate="" i18n:domain="ui">of</span>
<span class="link2" i18n:translate="" i18n:domain="ui">of</span>
<span class="link2" tal:content="python:
here.portal_catalog(reference=here.portal_membership.getAuthenticatedMember().getId(), portal_type='Person')[0].getObject().getTitle()+
' :'" />
<span class="link2" tal:content="python:
here.Base_getUserCaption() +
' :'" />
</tal:block>
</tal:block>
-->
-->
</div>
</div>
...
@@ -134,7 +134,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -134,7 +134,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
<span class="link2"></span>
<span class="link2"></span>
<tal:block tal:condition="not: here/portal_membership/isAnonymousUser">
<tal:block tal:condition="not: here/portal_membership/isAnonymousUser">
<span class="modu" i18n:translate="" i18n:domain="ui">Logged In as :</span>
<span class="modu" i18n:translate="" i18n:domain="ui">Logged In as :</span>
<span class="link2" tal:content="python:
here.portal_membership.getAuthenticatedMember().getId
()" />
<span class="link2" tal:content="python:
here.Base_getUserCaption
()" />
</tal:block>
</tal:block>
<span class="link2"></span>
<span class="link2"></span>
</div> -->
</div> -->
...
...
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/Base_getODSMetaStyleSheet.oot
View file @
79a2d7e2
<?xml version='1.0' encoding='utf-8'?>
<?xml version='1.0' encoding='utf-8'?>
<office:document-meta
xmlns:office=
"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:grddl=
"http://www.w3.org/2003/g/data-view#"
xmlns:ooo=
"http://openoffice.org/2004/office"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:i18n=
"http://xml.zope.org/namespaces/i18n"
xmlns:meta=
"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
office:version=
"1.2"
tal:attributes=
"dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;; charset=utf-8')"
>
<office:document-meta
xmlns:office=
"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:grddl=
"http://www.w3.org/2003/g/data-view#"
xmlns:ooo=
"http://openoffice.org/2004/office"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:i18n=
"http://xml.zope.org/namespaces/i18n"
xmlns:meta=
"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
office:version=
"1.2"
tal:attributes=
"dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;; charset=utf-8')"
>
<office:meta
i18n:domain=
"ui"
tal:define=
"user context/ERP5Site_getAuthenticatedMemberPersonValue;
<office:meta
i18n:domain=
"ui"
tal:define=
"username python: context.Base_getUserCaption()"
>
username python:(user is None) and context.getPortalObject().portal_membership.getAuthenticatedMember() or user.getTitle()"
>
<meta:generator>
ERP5
</meta:generator>
<meta:generator>
ERP5
</meta:generator>
<meta:creation-date
tal:content=
"python:modules['DateTime'].DateTime().ISO8601()"
>
2007-07-04T15:43:50
</meta:creation-date>
<meta:creation-date
tal:content=
"python:modules['DateTime'].DateTime().ISO8601()"
>
2007-07-04T15:43:50
</meta:creation-date>
<meta:initial-creator
tal:content=
"username"
/>
<meta:initial-creator
tal:content=
"username"
/>
...
...
bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_core/Base_getODTMetaStyleSheet.oot
View file @
79a2d7e2
<?xml version='1.0' encoding='utf-8'?>
<?xml version='1.0' encoding='utf-8'?>
<office:document-meta
xmlns:office=
"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:grddl=
"http://www.w3.org/2003/g/data-view#"
xmlns:ooo=
"http://openoffice.org/2004/office"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:i18n=
"http://xml.zope.org/namespaces/i18n"
xmlns:meta=
"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
office:version=
"1.2"
tal:attributes=
"dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;; charset=utf-8')"
>
<office:document-meta
xmlns:office=
"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:grddl=
"http://www.w3.org/2003/g/data-view#"
xmlns:ooo=
"http://openoffice.org/2004/office"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:i18n=
"http://xml.zope.org/namespaces/i18n"
xmlns:meta=
"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
office:version=
"1.2"
tal:attributes=
"dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;; charset=utf-8')"
>
<office:meta
i18n:domain=
"ui"
tal:define=
"user context/ERP5Site_getAuthenticatedMemberPersonValue;
<office:meta
i18n:domain=
"ui"
tal:define=
"username python: context.Base_getUserCaption()"
>
username python:(user is None) and context.getPortalObject().portal_membership.getAuthenticatedMember() or user.getTitle()"
>
<meta:generator>
ERP5
</meta:generator>
<meta:generator>
ERP5
</meta:generator>
<meta:creation-date
tal:content=
"python:modules['DateTime'].DateTime().ISO8601()"
>
2007-07-04T15:43:50
</meta:creation-date>
<meta:creation-date
tal:content=
"python:modules['DateTime'].DateTime().ISO8601()"
>
2007-07-04T15:43:50
</meta:creation-date>
<meta:initial-creator
tal:content=
"username"
/>
<meta:initial-creator
tal:content=
"username"
/>
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpOutgoingEventTest.py
View file @
79a2d7e2
...
@@ -6,11 +6,10 @@ howto_dict = context.Zuite_getHowToInfo()
...
@@ -6,11 +6,10 @@ howto_dict = context.Zuite_getHowToInfo()
isTransitionPossible
=
portal
.
portal_workflow
.
isTransitionPossible
isTransitionPossible
=
portal
.
portal_workflow
.
isTransitionPossible
# in testExpressUserDocumentationOutgoingEvent we relly that loged in user is an ERP5 Person
# in testExpressUserDocumentationOutgoingEvent we relly that loged in user is an ERP5 Person
logged_in_user
=
str
(
context
.
portal_membership
.
getAuthenticatedMember
())
logged_in_user
=
context
.
portal_membership
.
getAuthenticatedMember
()
current_person
=
context
.
portal_catalog
.
getResultValue
(
portal_type
=
'Person'
,
current_person
=
logged_in_user
.
getUserValue
()
reference
=
logged_in_user
)
if
current_person
is
None
:
if
current_person
is
None
:
return
'You need to be logged with an ERP5User for this test %s'
%
logged_in_user
return
'You need to be logged with an ERP5User for this test %s'
%
(
logged_in_user
.
getId
(),
)
# check if there is already the euro curency on the instance
# check if there is already the euro curency on the instance
currency
=
context
.
portal_catalog
.
getResultValue
(
portal_type
=
'Currency'
,
currency
=
context
.
portal_catalog
.
getResultValue
(
portal_type
=
'Currency'
,
...
...
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/breadcrumb.zpt
View file @
79a2d7e2
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
</tal:block>
</tal:block>
<span style="float:right;" tal:condition="python:not here.portal_membership.isAnonymousUser()">
<span style="float:right;" tal:condition="python:not here.portal_membership.isAnonymousUser()">
Logged in as: <a style="color:blue;"
tal:define="user here/portal_membership/getAuthenticatedMember"
Logged in as: <a style="color:blue;"
tal:content="
user
"
tal:content="
python: here.Base_getUserCaption()
"
tal:attributes="href python:'WebSite_redirectToUserView?%s&user=%s' % (
tal:attributes="href python:'WebSite_redirectToUserView?%s&user=%s' % (
request.get('http_parameters', None),
user)">userid
</a>
request.get('http_parameters', None),
here.getPortalObject().portal_membership.getAuthenticatedMember().getId())">
</a>
</span>
</span>
bt5/erp5_web_minimal_simplicity/SkinTemplateItem/portal_skins/erp5_web_minimal_simplicity/template_erp5_xhtml_style.zpt
View file @
79a2d7e2
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
<div
id=
"logged_in_as"
class=
"logged_in_as"
>
<div
id=
"logged_in_as"
class=
"logged_in_as"
>
<tal:block
tal:condition=
"not: portal/portal_membership/isAnonymousUser"
>
<tal:block
tal:condition=
"not: portal/portal_membership/isAnonymousUser"
>
<span
class=
"logged_txt"
i18n:translate=
""
i18n:domain=
"ui"
>
Logged In as :
</span>
<span
class=
"logged_txt"
i18n:translate=
""
i18n:domain=
"ui"
>
Logged In as :
</span>
<tal:block
tal:replace=
"python:
portal.portal_membership.getAuthenticatedMember().getId
()"
/>
<tal:block
tal:replace=
"python:
portal.Base_getUserCaption
()"
/>
</tal:block>
</tal:block>
</div>
</div>
<p
class=
"clear"
></p>
<p
class=
"clear"
></p>
...
...
bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewDocumentActionWidget.zpt
View file @
79a2d7e2
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<a tal:condition="python: context.getModificationDate() is not None">
<a tal:condition="python: context.getModificationDate() is not None">
<a tal:content="python: 'Updated %s by' % context.getModificationDate().ISO()"/>
<a tal:content="python: 'Updated %s by' % context.getModificationDate().ISO()"/>
</a>
</a>
<a tal:content="
here/portal_membership/getAuthenticatedMember
"/>
<a tal:content="
python: here.Base_getUserCaption()
"/>
<button onclick="javascript:clickSaveButton('Base_edit')"
<button onclick="javascript:clickSaveButton('Base_edit')"
name="Base_edit:method"
name="Base_edit:method"
class="save" type="submit"
class="save" type="submit"
...
...
bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewUserLoginWidget.zpt
View file @
79a2d7e2
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<a id="login" href="#" i18n:translate="" i18n:domain="ui">Sign in</a>
<a id="login" href="#" i18n:translate="" i18n:domain="ui">Sign in</a>
</tal:block>
</tal:block>
<tal:block tal:condition="python:not here.portal_membership.isAnonymousUser()">
<tal:block tal:condition="python:not here.portal_membership.isAnonymousUser()">
| <a tal:content="
here/portal_membership/getAuthenticatedMember
"/>
| <a tal:content="
python: here.Base_getUserCaption()
"/>
</tal:block>
</tal:block>
<tal:block tal:condition="python: not here.portal_membership.isAnonymousUser()">
<tal:block tal:condition="python: not here.portal_membership.isAnonymousUser()">
| <a id="settings" href="#" i18n:translate="" i18n:domain="ui">Settings</a>
| <a id="settings" href="#" i18n:translate="" i18n:domain="ui">Settings</a>
...
...
bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/wizard_template_erp5_xhtml_style.zpt
View file @
79a2d7e2
...
@@ -90,7 +90,7 @@ IDEAS:
...
@@ -90,7 +90,7 @@ IDEAS:
<div id="logged_in_as">
<div id="logged_in_as">
<tal:block tal:condition="not: portal/portal_membership/isAnonymousUser">
<tal:block tal:condition="not: portal/portal_membership/isAnonymousUser">
<span class="logged_txt" i18n:translate="" i18n:domain="ui">Logged In as :</span>
<span class="logged_txt" i18n:translate="" i18n:domain="ui">Logged In as :</span>
<tal:block tal:replace="python:portal.
portal_membership.getAuthenticatedMember().getId
()" />
<tal:block tal:replace="python:portal.
Base_getUserCaption
()" />
</tal:block>
</tal:block>
</div>
</div>
-->
-->
...
...
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_core/ERP5Site_renderBreadcrumb.zpt
View file @
79a2d7e2
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div id="logged_in_as" class="logged_in_as">
<div id="logged_in_as" class="logged_in_as">
<tal:block tal:condition="not: portal/portal_membership/isAnonymousUser">
<tal:block tal:condition="not: portal/portal_membership/isAnonymousUser">
<span class="logged_txt" i18n:translate="" i18n:domain="ui">Logged In as :</span>
<span class="logged_txt" i18n:translate="" i18n:domain="ui">Logged In as :</span>
<tal:block tal:replace="python:portal.
portal_membership.getAuthenticatedMember().getId
()" />
<tal:block tal:replace="python:portal.
Base_getUserCaption
()" />
</tal:block>
</tal:block>
</div>
</div>
...
...
bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.zpt
View file @
79a2d7e2
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
i18n:translate="" i18n:domain="ui">Login</a></span>
i18n:translate="" i18n:domain="ui">Login</a></span>
<span id="tiologin"
<span id="tiologin"
tal:define="user_name python:here.
portal_membership.getAuthenticatedMember().getId
()"
tal:define="user_name python:here.
Base_getUserCaption
()"
tal:condition="not:here/portal_membership/isAnonymousUser"><a href="#" id="link-login"
tal:condition="not:here/portal_membership/isAnonymousUser"><a href="#" id="link-login"
tal:attributes="href string:${context_url}/logout"
tal:attributes="href string:${context_url}/logout"
i18n:translate="" i18n:domain="ui">Logout</a>
i18n:translate="" i18n:domain="ui">Logout</a>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getUserCaption.py
0 → 100644
View file @
79a2d7e2
# Proxy roles: Manager in case user cannot access their own document.
user
=
context
.
getPortalObject
().
portal_membership
.
getAuthenticatedMember
()
user_value
=
user
.
getUserValue
()
try
:
return
user_value
.
getReference
()
except
AttributeError
:
return
user
.
getId
()
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getUserCaption.xml
0 → 100644
View file @
79a2d7e2
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_getUserCaption
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.zpt
View file @
79a2d7e2
...
@@ -56,7 +56,7 @@ DEPRECATION:
...
@@ -56,7 +56,7 @@ DEPRECATION:
<div
id=
"logged_in_as"
class=
"logged_in_as"
>
<div
id=
"logged_in_as"
class=
"logged_in_as"
>
<tal:block
tal:condition=
"not: portal/portal_membership/isAnonymousUser"
>
<tal:block
tal:condition=
"not: portal/portal_membership/isAnonymousUser"
>
<span
class=
"logged_txt"
i18n:translate=
""
i18n:domain=
"ui"
>
Logged In as :
</span>
<span
class=
"logged_txt"
i18n:translate=
""
i18n:domain=
"ui"
>
Logged In as :
</span>
<tal:block
tal:replace=
"python:portal.
portal_membership.getAuthenticatedMember().getId
()"
/>
<tal:block
tal:replace=
"python:portal.
Base_getUserCaption
()"
/>
</tal:block>
</tal:block>
</div>
</div>
<p
class=
"clear"
></p>
<p
class=
"clear"
></p>
...
...
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