Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
fdae526a
Commit
fdae526a
authored
Dec 15, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When generating URL do quote.
parent
1e5c8c7e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_generateMonthDomain.xml
...eItem/portal_skins/erp5_core/Base_generateMonthDomain.xml
+3
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_generateWeekDomain.xml
...teItem/portal_skins/erp5_core/Base_generateWeekDomain.xml
+2
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_generateYearDomain.xml
...teItem/portal_skins/erp5_core/Base_generateYearDomain.xml
+2
-1
product/ERP5/bootstrap/erp5_core/bt/revision
product/ERP5/bootstrap/erp5_core/bt/revision
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_generateMonthDomain.xml
View file @
fdae526a
...
...
@@ -57,6 +57,7 @@
\n
from Products.ERP5Type.Message import Message\n
from Products.ERP5Type.Document import newTempBase\n
from Products.PythonScripts.standard import url_quote\n
from string import zfill\n
portal = context.getPortalObject()\n
request = context.REQUEST\n
...
...
@@ -116,8 +117,8 @@ if depth == 0:\n
o.setProperty(\'title\',
current_date.strftime(date_format))\n
tp =
\'%s
%s\'
%
(Message(
domain=
\'erp5_ui\',
message=
current_date.Day(),
mapping=
None),
str(current_date))\n
o.setProperty(\'tooltip\',
tp)\n
\n
link =
\'%s&bound_start=%s&lane_path=base_week_domain\'
%
(
default_link_url,
current_date
)\n
context.log(current_date)
\n
link =
\'%s&bound_start=%s&lane_path=base_week_domain\'
%
(
default_link_url,
url_quote(str(current_date))
)\n
o.setProperty(\'link\',
link)
\n
\n
category_list.append(o)
\n
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_generateWeekDomain.xml
View file @
fdae526a
...
...
@@ -57,6 +57,7 @@
\n
from Products.ERP5Type.Message import translateString\n
from Products.ERP5Type.Document import newTempBase\n
from Products.PythonScripts.standard import url_quote\n
from string import zfill\n
\n
portal = context.getPortalObject()\n
...
...
@@ -116,7 +117,7 @@ if depth == 0:\n
o.setProperty(\'tooltip\', tp)\n
\n
# Defining Link (Optional)\n
link = \'%s&bound_start=%s&lane_path=base_day_domain\' % ( default_link_url,
current_date
)\n
link = \'%s&bound_start=%s&lane_path=base_day_domain\' % ( default_link_url,
url_quote(str(current_date))
)\n
o.setProperty(\'link\', link)\n
\n
category_list.append(o)\n
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_generateYearDomain.xml
View file @
fdae526a
...
...
@@ -57,6 +57,7 @@
\n
from Products.ERP5Type.Message import translateString\n
from Products.ERP5Type.Document import newTempBase\n
from Products.PythonScripts.standard import url_quote\n
from string import zfill\n
\n
portal = context.getPortalObject()\n
...
...
@@ -109,7 +110,7 @@ if depth == 0:\n
o.setProperty(\'title\', title)\n
\n
# Defining Link\n
link = \'%s&bound_start=%s&lane_path=base_month_domain\' % ( default_link_url,
current_date
)\n
link = \'%s&bound_start=%s&lane_path=base_month_domain\' % ( default_link_url,
url_quote(str(current_date))
)\n
o.setProperty(\'link\', link)\n
\n
category_list.append(o)\n
...
...
product/ERP5/bootstrap/erp5_core/bt/revision
View file @
fdae526a
40983
\ No newline at end of file
40984
\ 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