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
Jérome Perrin
slapos.core
Commits
88bdb0e7
Commit
88bdb0e7
authored
Mar 05, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display Regularisation Request on the web site.
parent
28536870
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
118 additions
and
21 deletions
+118
-21
master/bt5/slapos_web/ActionTemplateItem/portal_types/Regularisation%20Request/web_view.xml
...teItem/portal_types/Regularisation%20Request/web_view.xml
+100
-0
master/bt5/slapos_web/ActionTemplateItem/portal_types/Support%20Request/web_view.xml
...nTemplateItem/portal_types/Support%20Request/web_view.xml
+1
-1
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/Ticket_getEventThreadList.xml
.../portal_skins/vifib_hosting/Ticket_getEventThreadList.xml
+2
-2
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/Ticket_updateTicketWebMode.xml
...portal_skins/vifib_hosting/Ticket_updateTicketWebMode.xml
+1
-1
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/Ticket_viewAsWeb.xml
...plateItem/portal_skins/vifib_hosting/Ticket_viewAsWeb.xml
+2
-2
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/Ticket_viewAsWeb/my_title.xml
.../portal_skins/vifib_hosting/Ticket_viewAsWeb/my_title.xml
+0
-0
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/Ticket_viewAsWeb/your_reportbox.xml
...l_skins/vifib_hosting/Ticket_viewAsWeb/your_reportbox.xml
+1
-1
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/Ticket_viewUpdateTicketDialog.xml
...tal_skins/vifib_hosting/Ticket_viewUpdateTicketDialog.xml
+1
-1
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/Ticket_viewUpdateTicketDialog/my_update_button.xml
...osting/Ticket_viewUpdateTicketDialog/my_update_button.xml
+1
-1
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/Ticket_viewUpdateTicketDialog/your_description.xml
...osting/Ticket_viewUpdateTicketDialog/your_description.xml
+0
-0
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_getUserTicketList.xml
...rtal_skins/vifib_hosting/WebSection_getUserTicketList.xml
+4
-3
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewHelpRender/listbox.xml
...skins/vifib_hosting/WebSection_viewHelpRender/listbox.xml
+3
-8
master/bt5/slapos_web/bt/revision
master/bt5/slapos_web/bt/revision
+1
-1
master/bt5/slapos_web/bt/template_action_path_list
master/bt5/slapos_web/bt/template_action_path_list
+1
-0
No files found.
master/bt5/slapos_web/ActionTemplateItem/portal_types/Regularisation%20Request/web_view.xml
0 → 100644
View file @
88bdb0e7
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_web_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_web_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
web_view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
0.5
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Web View
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/Ticket_viewAsWeb
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
python: object is not None and object.isWebMode()
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_web/ActionTemplateItem/portal_types/Support%20Request/web_view.xml
View file @
88bdb0e7
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
text
</string>
</key>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/
SupportReques
t_viewAsWeb
</string>
</value>
<value>
<string>
string:${object_url}/
Ticke
t_viewAsWeb
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
SupportReques
t_getEventThreadList.xml
→
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
Ticke
t_getEventThreadList.xml
View file @
88bdb0e7
...
@@ -65,7 +65,7 @@ for event in event_list:\n
...
@@ -65,7 +65,7 @@ for event in event_list:\n
result.append(\n
result.append(\n
ReportSection(\n
ReportSection(\n
path=context.getPhysicalPath(),\n
path=context.getPhysicalPath(),\n
form_id=\'
SupportReques
t_viewUpdateTicketDialog\',\n
form_id=\'
Ticke
t_viewUpdateTicketDialog\',\n
)\n
)\n
)\n
)\n
\n
\n
...
@@ -78,7 +78,7 @@ return result\n
...
@@ -78,7 +78,7 @@ return result\n
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SupportReques
t_getEventThreadList
</string>
</value>
<value>
<string>
Ticke
t_getEventThreadList
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
SupportReques
t_updateTicketWebMode.xml
→
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
Ticke
t_updateTicketWebMode.xml
View file @
88bdb0e7
...
@@ -88,7 +88,7 @@ web_site.Base_redirect(\'view\', keep_items={\'editable_mode\': 0, \'portal_stat
...
@@ -88,7 +88,7 @@ web_site.Base_redirect(\'view\', keep_items={\'editable_mode\': 0, \'portal_stat
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SupportReques
t_updateTicketWebMode
</string>
</value>
<value>
<string>
Ticke
t_updateTicketWebMode
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
SupportReques
t_viewAsWeb.xml
→
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
Ticke
t_viewAsWeb.xml
View file @
88bdb0e7
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SupportReques
t_viewAsWeb
</string>
</value>
<value>
<string>
Ticke
t_viewAsWeb
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
method
</string>
</key>
<key>
<string>
method
</string>
</key>
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
HostingSubscription
_viewAsWeb
</string>
</value>
<value>
<string>
Ticket
_viewAsWeb
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
pt
</string>
</key>
<key>
<string>
pt
</string>
</key>
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
SupportReques
t_viewAsWeb/my_title.xml
→
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
Ticke
t_viewAsWeb/my_title.xml
View file @
88bdb0e7
File moved
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
SupportReques
t_viewAsWeb/your_reportbox.xml
→
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
Ticke
t_viewAsWeb/your_reportbox.xml
View file @
88bdb0e7
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
report_method
</string>
</key>
<key>
<string>
report_method
</string>
</key>
<value>
<string>
SupportReques
t_getEventThreadList
</string>
</value>
<value>
<string>
Ticke
t_getEventThreadList
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
SupportReques
t_viewUpdateTicketDialog.xml
→
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
Ticke
t_viewUpdateTicketDialog.xml
View file @
88bdb0e7
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SupportReques
t_viewUpdateTicketDialog
</string>
</value>
<value>
<string>
Ticke
t_viewUpdateTicketDialog
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
method
</string>
</key>
<key>
<string>
method
</string>
</key>
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
SupportReques
t_viewUpdateTicketDialog/my_update_button.xml
→
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
Ticke
t_viewUpdateTicketDialog/my_update_button.xml
View file @
88bdb0e7
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
SupportReques
t_updateTicketWebMode:method
</string>
</value>
<value>
<string>
Ticke
t_updateTicketWebMode:method
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
SupportReques
t_viewUpdateTicketDialog/your_description.xml
→
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/
Ticke
t_viewUpdateTicketDialog/your_description.xml
View file @
88bdb0e7
File moved
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_getUser
SupportReques
tList.xml
→
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_getUser
Ticke
tList.xml
View file @
88bdb0e7
...
@@ -50,9 +50,10 @@
...
@@ -50,9 +50,10 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
kw[\'portal_type\'] = \'Support Request\'\n
<value>
<string>
portal = context.getPortalObject()\n
kw[\'portal_type\'] = ["Support Request", "Regularisation Request"]\n
\n
\n
person =
context.getPortalObject()
.ERP5Site_getAuthenticatedMemberPersonValue()\n
person =
portal
.ERP5Site_getAuthenticatedMemberPersonValue()\n
if person:\n
if person:\n
kw[\'default_destination_decision_uid\'] = person.getUid()\n
kw[\'default_destination_decision_uid\'] = person.getUid()\n
kw[\'sort_on\'] = [(\'modification_date\', \'DESC\'),]\n
kw[\'sort_on\'] = [(\'modification_date\', \'DESC\'),]\n
...
@@ -68,7 +69,7 @@ else:\n
...
@@ -68,7 +69,7 @@ else:\n
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
WebSection_getUser
SupportReques
tList
</string>
</value>
<value>
<string>
WebSection_getUser
Ticke
tList
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewHelpRender/listbox.xml
View file @
88bdb0e7
...
@@ -138,12 +138,7 @@
...
@@ -138,12 +138,7 @@
<item>
<item>
<key>
<string>
portal_types
</string>
</key>
<key>
<string>
portal_types
</string>
</key>
<value>
<value>
<list>
<list/>
<tuple>
<string>
Support Request
</string>
<string>
Support Request
</string>
</tuple>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -156,7 +151,7 @@
...
@@ -156,7 +151,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
selection_name
</string>
</key>
<key>
<string>
selection_name
</string>
</key>
<value>
<string>
my_
support_reques
t_selection
</string>
</value>
<value>
<string>
my_
ticke
t_selection
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
@@ -199,7 +194,7 @@
...
@@ -199,7 +194,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
method_name
</string>
</key>
<key>
<string>
method_name
</string>
</key>
<value>
<string>
WebSection_getUser
SupportReques
tList
</string>
</value>
<value>
<string>
WebSection_getUser
Ticke
tList
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_web/bt/revision
View file @
88bdb0e7
38
39
\ No newline at end of file
\ No newline at end of file
master/bt5/slapos_web/bt/template_action_path_list
View file @
88bdb0e7
Computer Network | web_view
Computer Network | web_view
Computer | web_view
Computer | web_view
Hosting Subscription | web_view
Hosting Subscription | web_view
Regularisation Request | web_view
Slave Instance | web_view
Slave Instance | web_view
Software Installation | web_view
Software Installation | web_view
Software Instance | web_view
Software Instance | web_view
...
...
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