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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
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
Show 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,8 +28,8 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift):
...
@@ -28,8 +28,8 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift):
match_doubles
[
my_caption_title
]
=
my_count
match_doubles
[
my_caption_title
]
=
my_count
caption_relevant_count
=
my_count
caption_relevant_count
=
my_count
my_count
+=
1
my_count
+=
1
else
:
caption_relevant_count
=
match_doubles
[
my_caption_title
]
#
caption_relevant_count = match_doubles[my_caption_title]
caption_id
=
caption_abbreviation
+
"-"
+
str
(
caption_relevant_count
)
caption_id
=
caption_abbreviation
+
"-"
+
str
(
caption_relevant_count
)
caption_dict
=
{}
caption_dict
=
{}
caption_dict
[
"input"
]
=
my_caption
caption_dict
[
"input"
]
=
my_caption
...
@@ -42,6 +42,7 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift):
...
@@ -42,6 +42,7 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift):
my_shift
my_shift
)
)
caption_list
.
append
(
caption_dict
)
caption_list
.
append
(
caption_dict
)
return
my_count
return
my_count
# XXX single quotes?
# XXX single quotes?
...
...
bt5/erp5_corporate_identity_test/PathTemplateItem/web_page_module/template_test_book_output_expected_002_en_html.html
View file @
57fcbfe0
...
@@ -471,13 +471,6 @@
...
@@ -471,13 +471,6 @@
</tr>
</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>
</tbody>
</table>
</table>
<h1><a
name=
"synthese7_anchor"
></a>
Synthese
<a
class=
"custom-para"
href=
#synthese7_anchor
><span
style=
"font-size:.75em;line-height:1em;padding-left:.5em;"
>
¶
</span></a></h1>
<h1><a
name=
"synthese7_anchor"
></a>
Synthese
<a
class=
"custom-para"
href=
#synthese7_anchor
><span
style=
"font-size:.75em;line-height:1em;padding-left:.5em;"
>
¶
</span></a></h1>
...
...
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