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
Thomas Leymonerie
slapos.core
Commits
8f5e9342
Commit
8f5e9342
authored
Mar 26, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_web (rss): Get date from latest event and not from support request.
parent
4f5567c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
106 additions
and
14 deletions
+106
-14
master/bt5/slapos_web/SkinTemplateItem/portal_skins/slapos_rss/WebSection_getRSSDateContent.xml
.../portal_skins/slapos_rss/WebSection_getRSSDateContent.xml
+77
-0
master/bt5/slapos_web/SkinTemplateItem/portal_skins/slapos_rss/WebSection_viewRssFeedRender/listbox_modification_date.xml
...ebSection_viewRssFeedRender/listbox_modification_date.xml
+29
-14
No files found.
master/bt5/slapos_web/SkinTemplateItem/portal_skins/slapos_rss/WebSection_getRSSDateContent.xml
0 → 100644
View file @
8f5e9342
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
portal = context.getPortalObject()\n
\n
event = portal.portal_catalog.getResultValue(\n
follow_up_uid=context.getUid(), \n
sort_on=[(\'delivery.start_date\', \'DESC\')],\n
)\n
\n
if event:\n
return event.getModificationDate()\n
else:\n
context.getModificationDate()\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
WebSection_getRSSDateContent
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_web/SkinTemplateItem/portal_skins/slapos_rss/WebSection_viewRssFeedRender/listbox_modification_date.xml
View file @
8f5e9342
...
@@ -168,7 +168,9 @@
...
@@ -168,7 +168,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
default
</string>
</key>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default_now
</string>
</key>
<key>
<string>
default_now
</string>
</key>
...
@@ -364,43 +366,43 @@
...
@@ -364,43 +366,43 @@
<item>
<item>
<key>
<string>
ampm
</string>
</key>
<key>
<string>
ampm
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
day
</string>
</key>
<key>
<string>
day
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
hour
</string>
</key>
<key>
<string>
hour
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Y
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
minute
</string>
</key>
<key>
<string>
minute
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Y
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
c
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
month
</string>
</key>
<key>
<string>
month
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
c
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
g
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
timezone
</string>
</key>
<key>
<string>
timezone
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
g
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
k
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
year
</string>
</key>
<key>
<string>
year
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
k
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
o
=
</string>
</persistent>
</value>
</value>
</item>
</item>
</dictionary>
</dictionary>
...
@@ -474,6 +476,19 @@
...
@@ -474,6 +476,19 @@
</pickle>
</pickle>
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
cell/WebSection_getRSSDateContent
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<pickle>
<global
name=
"StringField"
module=
"Products.Formulator.StandardFields"
/>
<global
name=
"StringField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
</pickle>
...
@@ -730,7 +745,7 @@
...
@@ -730,7 +745,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<record
id=
"
5"
aka=
"AAAAAAAAAAU
="
>
<pickle>
<pickle>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
</pickle>
...
@@ -979,7 +994,7 @@
...
@@ -979,7 +994,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
5"
aka=
"AAAAAAAAAAU
="
>
<record
id=
"
6"
aka=
"AAAAAAAAAAY
="
>
<pickle>
<pickle>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
</pickle>
...
@@ -1228,7 +1243,7 @@
...
@@ -1228,7 +1243,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
6"
aka=
"AAAAAAAAAAY
="
>
<record
id=
"
7"
aka=
"AAAAAAAAAAc
="
>
<pickle>
<pickle>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
</pickle>
...
@@ -1477,7 +1492,7 @@
...
@@ -1477,7 +1492,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
7"
aka=
"AAAAAAAAAAc
="
>
<record
id=
"
8"
aka=
"AAAAAAAAAAg
="
>
<pickle>
<pickle>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
</pickle>
...
@@ -1726,7 +1741,7 @@
...
@@ -1726,7 +1741,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
8"
aka=
"AAAAAAAAAAg
="
>
<record
id=
"
9"
aka=
"AAAAAAAAAAk
="
>
<pickle>
<pickle>
<global
name=
"ListField"
module=
"Products.Formulator.StandardFields"
/>
<global
name=
"ListField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
</pickle>
...
@@ -2086,7 +2101,7 @@
...
@@ -2086,7 +2101,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
9"
aka=
"AAAAAAAAAAk
="
>
<record
id=
"
10"
aka=
"AAAAAAAAAAo
="
>
<pickle>
<pickle>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
<global
name=
"IntegerField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
</pickle>
...
...
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