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
Labels
Merge Requests
141
Merge Requests
141
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
517d9a40
Commit
517d9a40
authored
Feb 06, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define charset as utf-8 and return Title instead paths for contributors.
parent
cf05aa72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_getDetail.xml
...eItem/portal_skins/erp5_run_my_doc/TestPage_getDetail.xml
+3
-2
bt5/erp5_run_my_doc/bt/revision
bt5/erp5_run_my_doc/bt/revision
+1
-1
No files found.
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_getDetail.xml
View file @
517d9a40
...
...
@@ -50,10 +50,11 @@
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
return "\\n".join([str(context.getTitle()),\n
<value>
<string>
context.REQUEST.RESPONSE.setHeader("Content-Type", "text/html; charset=utf-8")\n
return "\\n".join([str(context.getTitle()),\n
str(context.getShortTitle()),\n
str(context.getDescription()), \n
str(
context.getContributorList(
)),\n
str(
",".join(context.getContributorTitleList()
)),\n
str(context.getEffectiveDate())])\n
</string>
</value>
</item>
...
...
bt5/erp5_run_my_doc/bt/revision
View file @
517d9a40
27
\ No newline at end of file
25
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