Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
0433edd3
Commit
0433edd3
authored
Oct 05, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More generic implementation.
parent
fdb0e110
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_getDescription.xml
...emplateItem/portal_skins/erp5_web/Base_getDescription.xml
+3
-1
bt5/erp5_web/bt/revision
bt5/erp5_web/bt/revision
+1
-1
No files found.
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_getDescription.xml
View file @
0433edd3
...
...
@@ -60,8 +60,10 @@ if portal_type==\'Discussion Thread\':\n
discussion_post_list = context.objectValues()\n
if len(discussion_post_list):\n
return discussion_post_list[0].getTextContent()\n
if portal_type==\'Discussion Post\':\n
\n
if getattr(context, \'getTextContent\', None) is not None:\n
return context.getTextContent()\n
\n
# by default use getDescription\n
if getattr(context, \'getDescription\', None) is not None:\n
return context.getDescription()\n
...
...
bt5/erp5_web/bt/revision
View file @
0433edd3
1092
\ No newline at end of file
1093
\ 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