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
Ekaterina
erp5
Commits
3f2a7ede
Commit
3f2a7ede
authored
Aug 11, 2020
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: don't display empty fields
parent
4922dd5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
9 deletions
+27
-9
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_createLetterFooter.zpt
...ins/erp5_corporate_identity/Letter_createLetterFooter.zpt
+27
-9
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_createLetterFooter.zpt
View file @
3f2a7ede
...
...
@@ -106,19 +106,37 @@ Creates the Letter footer section.
</td>
<td>
<div>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Telephone
</span><span
tal:content=
"letter_source_phone"
></span>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Telefax
</span><span
tal:content=
"letter_source_fax"
></span>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Email
</span><span
tal:content=
"letter_source_mail"
></span>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Web Address
</span><span
tal:content=
"letter_source_website"
></span>
<tal:block
tal:condition=
letter_source_phone
>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Telephone
</span><span
tal:content=
"letter_source_phone"
></span>
</tal:block>
<tal:block
tal:condition=
letter_source_fax
>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Telefax
</span><span
tal:content=
"letter_source_fax"
></span>
</tal:block>
<tal:block
tal:condition=
letter_source_mail
>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Email
</span><span
tal:content=
"letter_source_mail"
></span>
</tal:block>
<tal:block
tal:condition=
letter_source_website
>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Web Address
</span><span
tal:content=
"letter_source_website"
></span>
</tal:block>
</div>
</td>
<td>
<div>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Bank Account
</span><span
tal:content=
"letter_source_bank"
></span>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
BIC
</span><span
tal:content=
"letter_source_bic"
></span>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
IBAN
</span><span
tal:content=
"letter_source_iban"
></span>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
VAT ID
</span><span
tal:content=
"letter_source_vat"
></span>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Siren
</span><span
tal:content=
"letter_source_corporate_registration"
></span>
<tal:block
tal:condition=
letter_source_bank
>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Bank Account
</span><span
tal:content=
"letter_source_bank"
></span>
</tal:block>
<tal:block
tal:condition=
letter_source_bic
>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
BIC
</span><span
tal:content=
"letter_source_bic"
></span>
</tal:block>
<tal:block
tal:condition=
letter_source_iban
>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
IBAN
</span><span
tal:content=
"letter_source_iban"
></span>
</tal:block>
<tal:block
tal:condition=
letter_source_vat
>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
VAT ID
</span><span
tal:content=
"letter_source_vat"
></span>
</tal:block>
<tal:block
tal:condition=
letter_source_corporate_registration
>
<span
class=
"ci-letter-footer-title"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Siren
</span><span
tal:content=
"letter_source_corporate_registration"
></span>
</tal:block>
</div>
</td>
</tr>
...
...
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