Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos.core
Commits
974c16d3
Commit
974c16d3
authored
Oct 20, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
Minor bug fixes for rss feeds
See merge request
nexedi/slapos.core!433
parents
8086cd4a
984569a5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/Base_getEventList.py
...teItem/portal_skins/slapos_rss_style/Base_getEventList.py
+4
-3
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/Folder_viewOpenTicketList/listbox.xml
...ns/slapos_rss_style/Folder_viewOpenTicketList/listbox.xml
+1
-1
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewTicketListAsRSS/listbox.xml
...apos_rss_style/WebSection_viewTicketListAsRSS/listbox.xml
+1
-1
No files found.
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/Base_getEventList.py
View file @
974c16d3
...
...
@@ -48,6 +48,7 @@ for brain in portal.portal_simulation.getMovementHistoryList(
(
'uid'
,
'desc'
)),
**
context_kw
):
event
=
brain
.
getObject
()
(
ticket_title
,
ticket_category
,
ticket_link
)
=
getTicketInfo
(
event
)
...
...
@@ -56,10 +57,10 @@ for brain in portal.portal_simulation.getMovementHistoryList(
Object
(
**
{
'title'
:
ticket_title
,
'category'
:
ticket_category
,
'author'
:
brain
.
node_title
,
'author'
:
event
.
getSourceTitle
(
checked_permission
=
"View"
)
,
'link'
:
ticket_link
,
'description'
:
event
.
getTextContent
(),
'pubDate'
:
brain
.
date
,
'pubDate'
:
event
.
getStartDate
()
,
'guid'
:
'{}-{}'
.
format
(
event
.
getFollowUp
(),
event
.
getRelativeUrl
()),
...
...
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/Folder_viewOpenTicketList/listbox.xml
View file @
974c16d3
...
...
@@ -135,7 +135,7 @@
</tuple>
<tuple>
<string>
description
</string>
<string>
summary
</string>
<string>
description
</string>
</tuple>
<tuple>
<string>
link
</string>
...
...
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewTicketListAsRSS/listbox.xml
View file @
974c16d3
...
...
@@ -137,7 +137,7 @@
</tuple>
<tuple>
<string>
description
</string>
<string>
D
escription
</string>
<string>
d
escription
</string>
</tuple>
<tuple>
<string>
link
</string>
...
...
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