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
Lukas Niegsch
erp5
Commits
57fcbfe0
Commit
57fcbfe0
authored
Jun 23, 2022
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity&test: remove duplicated table list
parent
bf32660e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
21 deletions
+15
-21
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createTableOverview.py
...ns/erp5_corporate_identity/WebPage_createTableOverview.py
+15
-14
bt5/erp5_corporate_identity_test/PathTemplateItem/web_page_module/template_test_book_output_expected_002_en_html.html
...odule/template_test_book_output_expected_002_en_html.html
+0
-7
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createTableOverview.py
View file @
57fcbfe0
...
...
@@ -28,20 +28,21 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift):
match_doubles
[
my_caption_title
]
=
my_count
caption_relevant_count
=
my_count
my_count
+=
1
else
:
caption_relevant_count
=
match_doubles
[
my_caption_title
]
caption_id
=
caption_abbreviation
+
"-"
+
str
(
caption_relevant_count
)
caption_dict
=
{}
caption_dict
[
"input"
]
=
my_caption
caption_dict
[
"item"
]
=
{}
caption_dict
[
"item"
][
"id"
]
=
caption_id
caption_dict
[
"item"
][
"title"
]
=
my_caption_title
caption_dict
[
"output"
]
=
setTableCaption
(
caption_id
,
my_caption_title
,
my_shift
)
caption_list
.
append
(
caption_dict
)
#caption_relevant_count = match_doubles[my_caption_title]
caption_id
=
caption_abbreviation
+
"-"
+
str
(
caption_relevant_count
)
caption_dict
=
{}
caption_dict
[
"input"
]
=
my_caption
caption_dict
[
"item"
]
=
{}
caption_dict
[
"item"
][
"id"
]
=
caption_id
caption_dict
[
"item"
][
"title"
]
=
my_caption_title
caption_dict
[
"output"
]
=
setTableCaption
(
caption_id
,
my_caption_title
,
my_shift
)
caption_list
.
append
(
caption_dict
)
return
my_count
# XXX single quotes?
...
...
bt5/erp5_corporate_identity_test/PathTemplateItem/web_page_module/template_test_book_output_expected_002_en_html.html
View file @
57fcbfe0
...
...
@@ -470,13 +470,6 @@
style=
"text-align: left; vertical-align: top"
>
Table description
</td>
</tr>
<tr>
<td
width=
"10%"
><a
id=
"Table-1"
></a><span>
Table-1
</span></td>
<td
width=
"90%"
style=
"text-align: left; vertical-align: top"
>
Table description
</td>
</tr>
</tbody>
</table>
...
...
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