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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
erp5
Commits
f1c5d82b
Commit
f1c5d82b
authored
Jul 20, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work silently on context without getDescription.
parent
5dda9075
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/ERP5Site_viewCredentialRequestForm/my_description.xml
...ial/ERP5Site_viewCredentialRequestForm/my_description.xml
+11
-3
bt5/erp5_credential/bt/revision
bt5/erp5_credential/bt/revision
+1
-1
No files found.
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/ERP5Site_viewCredentialRequestForm/my_description.xml
View file @
f1c5d82b
...
...
@@ -56,6 +56,10 @@
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
...
...
@@ -68,6 +72,10 @@
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
...
...
@@ -141,7 +149,7 @@
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python:
"<h1>
%s
</h1>
" % (context.Base_translateString(context.getDescription()))
python:
getattr(context, \'getDescription\', None) is not None and "<h1>
%s
</h1>
" % (context.Base_translateString(context.getDescription())) or \'\'
]]>
</string>
</value>
</item>
...
...
@@ -156,7 +164,7 @@ python:"<h1>%s</h1>" % (context.Base_translateString(context.getDescription()))
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
context/getDescription
</string>
</value>
<value>
<string>
python: getattr(context, \'getDescription\', None) is not None and context.getDescription() or \'\'
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
@@ -169,7 +177,7 @@ python:"<h1>%s</h1>" % (context.Base_translateString(context.getDescription()))
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
context/getDescription
</string>
</value>
<value>
<string>
python: getattr(context, \'getDescription\', None) and context.getDescription()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_credential/bt/revision
View file @
f1c5d82b
369
\ No newline at end of file
370
\ No newline at end of file
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