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
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
alecs_myu
erp5
Commits
abec261f
Commit
abec261f
authored
May 10, 2019
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: change image&table caption
parent
a815223c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createImageOverview.py
...ns/erp5_corporate_identity/WebPage_createImageOverview.py
+2
-2
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createTableOverview.py
...ns/erp5_corporate_identity/WebPage_createTableOverview.py
+1
-1
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createImageOverview.py
View file @
abec261f
...
@@ -25,11 +25,11 @@ def setFigureAnchor(my_counter, my_title, my_href):
...
@@ -25,11 +25,11 @@ def setFigureAnchor(my_counter, my_title, my_href):
])
])
# XXX single quotes?
# XXX single quotes?
figure_abbreviation
=
"F
IG
"
figure_abbreviation
=
"F
igure
"
match_href
=
'src="(.*?)"'
match_href
=
'src="(.*?)"'
match_content
=
'alt="(.*?)"'
match_content
=
'alt="(.*?)"'
figure_list
=
[]
figure_list
=
[]
figure_count
=
1
figure_count
=
0
figure_doubles
=
{}
figure_doubles
=
{}
for
figure
in
re
.
findall
(
'(<img.*?/>)'
,
document_content
or
''
):
for
figure
in
re
.
findall
(
'(<img.*?/>)'
,
document_content
or
''
):
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createTableOverview.py
View file @
abec261f
...
@@ -45,7 +45,7 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift):
...
@@ -45,7 +45,7 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift):
return
my_count
return
my_count
# XXX single quotes?
# XXX single quotes?
caption_abbreviation
=
"T
BL
"
caption_abbreviation
=
"T
able
"
caption_filler
=
[
'<caption>'
,
'</caption>'
,
'<div class="ci-book-caption">'
,
'</div>'
]
caption_filler
=
[
'<caption>'
,
'</caption>'
,
'<div class="ci-book-caption">'
,
'</div>'
]
caption_list
=
[]
caption_list
=
[]
caption_count
=
1
caption_count
=
1
...
...
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