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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
dd87249e
Commit
dd87249e
authored
Jul 23, 2014
by
Romain Courteaud
Committed by
Sebastien Robin
Aug 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always return document title.
parent
41a3e3fa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.xml
...tal_skins/erp5_hal_json_style/ERP5Document_getHateoas.xml
+1
-0
bt5/erp5_hal_json_style/bt/revision
bt5/erp5_hal_json_style/bt/revision
+1
-1
No files found.
bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.xml
View file @
dd87249e
...
@@ -401,6 +401,7 @@ elif (mode == \'root\') or (mode == \'traverse\'):\n
...
@@ -401,6 +401,7 @@ elif (mode == \'root\') or (mode == \'traverse\'):\n
# Default properties shared by all ERP5 Document and Site\n
# Default properties shared by all ERP5 Document and Site\n
action_dict = {}\n
action_dict = {}\n
# result_dict[\'_relative_url\'] = traversed_document.getRelativeUrl()\n
# result_dict[\'_relative_url\'] = traversed_document.getRelativeUrl()\n
result_dict[\'title\'] = traversed_document.getTitle()\n
\n
\n
# Add a link to the portal type if possible\n
# Add a link to the portal type if possible\n
if not is_portal:\n
if not is_portal:\n
...
...
bt5/erp5_hal_json_style/bt/revision
View file @
dd87249e
19
20
\ No newline at end of file
\ 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