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
d1b602c4
Commit
d1b602c4
authored
1 year ago
by
Jérome Perrin
Committed by
Arnaud Fontaine
7 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
knowledge_pad: py3
parent
d7e7d973
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewRssGadget/listbox.xml
...rtal_skins/erp5_gadget/ERP5Site_viewRssGadget/listbox.xml
+1
-1
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewRssGadgetAsJSON.py
.../portal_skins/erp5_gadget/ERP5Site_viewRssGadgetAsJSON.py
+1
-1
No files found.
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewRssGadget/listbox.xml
View file @
d1b602c4
...
...
@@ -247,7 +247,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: (request.get(\'rss_link\') or \'\')
.encode(\'utf-8\')
</string>
</value>
<value>
<string>
python: (request.get(\'rss_link\') or \'\')
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewRssGadgetAsJSON.py
View file @
d1b602c4
...
...
@@ -12,7 +12,7 @@ gadget_title_dom_id = '%s_gadget_title' %box_dom_id
# return some JavaScript which will update respective page
gadget_title
=
request
.
get
(
'rss_gadget_title'
,
box
.
getSpecialiseValue
().
getTitle
())
gadget_title
=
unicode
(
gadget_title
).
encode
(
'utf-8'
)
[:
40
]
gadget_title
=
gadget_title
[:
40
]
javascript
=
'$("#%s").html("%s");'
%
(
gadget_title_dom_id
,
gadget_title
)
request
.
RESPONSE
.
setHeader
(
"Content-Type"
,
"application/json;; charset=utf-8"
)
...
...
This diff is collapsed.
Click to expand it.
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