[REF] legal: convert the table from a grid to a list table
Prior to this commit, the /legal.html page relied on RST substitutions
to insert the images directives of legal agreements within the table.
This caused Sphinx to omit the `image-reference` class on all `<a>`
elements surrounding an `<img>` element, which it normally adds when the
`target` option is specified on an `image` directive. As the theme
relies on that class to hide the "external link" icon added with commit
343decf1
, the layout of the page was broken.
While replacing the substitutions with the plain `image` directive, the
grid table is converted to a list table to avoid the hassle of expanding
table cells to fit the directives. This will also help in maintaining
the content of the table when we will add new translations for the legal
agreements.
task-2909167
This commit is contained in:
parent
556cd6befa
commit
2bf2604ffc
@ -22,121 +22,76 @@ Licenses
|
|||||||
Terms and Conditions
|
Terms and Conditions
|
||||||
====================
|
====================
|
||||||
|
|
||||||
.. |nbsp| raw:: html
|
.. list-table::
|
||||||
|
:header-rows: 1
|
||||||
|
|
||||||
|
* -
|
||||||
|
- English
|
||||||
|
- Français
|
||||||
|
- Nederlands
|
||||||
|
- Deutsch
|
||||||
|
- Español
|
||||||
|
* - Odoo Enterprise Agreement [#]_
|
||||||
|
- .. image:: legal/img/txt.svg
|
||||||
|
:alt: View Odoo Enterprise Agreement
|
||||||
|
:target: legal/terms/enterprise.html
|
||||||
|
.. image:: legal/img/pdf.svg
|
||||||
|
:alt: Download Odoo Enterprise Agreement
|
||||||
|
:target: https://www.odoo.com/documentation/12.0/odoo_enterprise_agreement.pdf
|
||||||
|
- .. image:: legal/img/txt.svg
|
||||||
|
:alt: View Odoo Enterprise Agreement (FR)
|
||||||
|
:target: legal/terms/i18n/enterprise_fr.html
|
||||||
|
.. image:: legal/img/pdf.svg
|
||||||
|
:alt: Download Odoo Enterprise Agreement (FR)
|
||||||
|
:target: https://www.odoo.com/documentation/12.0/odoo_enterprise_agreement_fr.pdf
|
||||||
|
- |missing_txt| |missing_pdf|
|
||||||
|
- |missing_txt| |missing_pdf|
|
||||||
|
- |missing_txt| |missing_pdf|
|
||||||
|
* - Odoo Partnership Agreement
|
||||||
|
- .. image:: legal/img/txt.svg
|
||||||
|
:alt: View Odoo Partnership Agreement
|
||||||
|
:target: legal/terms/partnership.html
|
||||||
|
.. image:: legal/img/pdf.svg
|
||||||
|
:alt: Download Odoo Partnership Agreement
|
||||||
|
:target: https://www.odoo.com/documentation/12.0/odoo_partnership_agreement.pdf
|
||||||
|
- .. image:: legal/img/txt.svg
|
||||||
|
:alt: View Odoo Partnership Agreement (FR)
|
||||||
|
:target: legal/terms/i18n/partnership_fr.html
|
||||||
|
.. image:: legal/img/pdf.svg
|
||||||
|
:alt: Download Odoo Partnership Agreement (FR)
|
||||||
|
:target: https://www.odoo.com/documentation/12.0/odoo_partnership_agreement_fr.pdf
|
||||||
|
- |missing_txt| |missing_pdf|
|
||||||
|
- |missing_txt| |missing_pdf|
|
||||||
|
- |missing_txt| |missing_pdf|
|
||||||
|
* - Terms of Sale
|
||||||
|
- .. image:: legal/img/txt.svg
|
||||||
|
:alt: View Terms of Sale
|
||||||
|
:target: legal/terms/terms_of_sale.html
|
||||||
|
.. image:: legal/img/pdf.svg
|
||||||
|
:alt: Download Odoo Terms of Sale
|
||||||
|
:target: terms_of_sale.pdf
|
||||||
|
- .. image:: legal/img/txt.svg
|
||||||
|
:alt: View Terms of Sale (FR)
|
||||||
|
:target: legal/terms/i18n/terms_of_sale_fr.html
|
||||||
|
.. image:: legal/img/pdf.svg
|
||||||
|
:alt: Download Odoo Terms of Sale (FR)
|
||||||
|
:target: https://www.odoo.com/documentation/12.0/terms_of_sale_fr.pdf
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-
|
||||||
|
|
||||||
.. |view_enterprise_en| image:: legal/img/txt.svg
|
.. [#] Applies to self-hosting, Odoo.SH and Odoo Cloud.
|
||||||
:alt: View Odoo Enterprise Agreement
|
|
||||||
:target: legal/terms/enterprise.html
|
|
||||||
|
|
||||||
.. |download_enterprise_en| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Enterprise Agreement
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/odoo_enterprise_agreement.pdf
|
|
||||||
|
|
||||||
.. |view_partnership_en| image:: legal/img/txt.svg
|
|
||||||
:alt: View Odoo Partnership Agreement
|
|
||||||
:target: legal/terms/partnership.html
|
|
||||||
|
|
||||||
.. |download_partnership_en| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Partnership Agreement
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/odoo_partnership_agreement.pdf
|
|
||||||
|
|
||||||
.. |view_terms_of_sale_en| image:: legal/img/txt.svg
|
|
||||||
:alt: View Terms of Sale
|
|
||||||
:target: legal/terms/terms_of_sale.html
|
|
||||||
|
|
||||||
.. |download_terms_of_sale_en| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Terms of Sale
|
|
||||||
:target: terms_of_sale.pdf
|
|
||||||
|
|
||||||
.. |download_enterprise_fr| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Enterprise Agreement (FR)
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/odoo_enterprise_agreement_fr.pdf
|
|
||||||
|
|
||||||
.. |view_enterprise_fr| image:: legal/img/txt.svg
|
|
||||||
:alt: View Odoo Enterprise Agreement (FR)
|
|
||||||
:target: legal/terms/i18n/enterprise_fr.html
|
|
||||||
|
|
||||||
.. |download_partnership_fr| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Partnership Agreement (FR)
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/odoo_partnership_agreement_fr.pdf
|
|
||||||
|
|
||||||
.. |view_enterprise_nl| image:: legal/img/txt.svg
|
|
||||||
:alt: View Odoo Enterprise Agreement (NL)
|
|
||||||
:target: legal/terms/i18n/enterprise_nl.html
|
|
||||||
|
|
||||||
.. |view_partnership_fr| image:: legal/img/txt.svg
|
|
||||||
:alt: View Odoo Partnership Agreement (FR)
|
|
||||||
:target: legal/terms/i18n/partnership_fr.html
|
|
||||||
|
|
||||||
.. |download_terms_of_sale_fr| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Terms of Sale (FR)
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/terms_of_sale_fr.pdf
|
|
||||||
|
|
||||||
.. |view_terms_of_sale_fr| image:: legal/img/txt.svg
|
|
||||||
:alt: View Terms of Sale (FR)
|
|
||||||
:target: legal/terms/i18n/terms_of_sale_fr.html
|
|
||||||
|
|
||||||
.. |download_enterprise_nl| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Enterprise Agreement (NL)
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/odoo_enterprise_agreement_nl.pdf
|
|
||||||
|
|
||||||
.. |download_partnership_nl| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Partnership Agreement (NL)
|
|
||||||
:target: odoo_partnership_agreement_nl.pdf
|
|
||||||
|
|
||||||
.. |download_enterprise_de| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Enterprise Agreement (DE)
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/odoo_enterprise_agreement_de.pdf
|
|
||||||
|
|
||||||
.. |view_enterprise_de| image:: legal/img/txt.svg
|
|
||||||
:alt: View Odoo Enterprise Agreement (DE)
|
|
||||||
:target: legal/terms/i18n/enterprise_de.html
|
|
||||||
|
|
||||||
.. |download_partnership_de| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Partnership Agreement (DE)
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/odoo_partnership_agreement_de.pdf
|
|
||||||
|
|
||||||
.. |view_partnership_de| image:: legal/img/txt.svg
|
|
||||||
:alt: View Odoo Partnership Agreement (DE)
|
|
||||||
:target: legal/terms/i18n/partnership_de.html
|
|
||||||
|
|
||||||
.. |download_enterprise_es| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Enterprise Agreement (ES)
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/odoo_enterprise_agreement_es.pdf
|
|
||||||
|
|
||||||
.. |view_enterprise_es| image:: legal/img/txt.svg
|
|
||||||
:alt: View Odoo Partnership Agreement (ES)
|
|
||||||
:target: legal/terms/i18n/enterprise_es.html
|
|
||||||
|
|
||||||
.. |download_partnership_es| image:: legal/img/pdf.svg
|
|
||||||
:alt: Download Odoo Partnership Agreement (ES)
|
|
||||||
:target: https://www.odoo.com/documentation/12.0/odoo_partnership_agreement_es.pdf
|
|
||||||
|
|
||||||
.. |view_partnership_es| image:: legal/img/txt.svg
|
|
||||||
:alt: View Odoo Partnership Agreement (ES)
|
|
||||||
:target: legal/terms/i18n/partnership_es.html
|
|
||||||
|
|
||||||
.. |missing_pdf| image:: legal/img/pdf_missing.svg
|
.. |missing_pdf| image:: legal/img/pdf_missing.svg
|
||||||
:alt: Document not available yet
|
:alt: Document not yet available
|
||||||
|
:class: o-no-modal
|
||||||
|
|
||||||
.. |missing_txt| image:: legal/img/txt_missing.svg
|
.. |missing_txt| image:: legal/img/txt_missing.svg
|
||||||
:alt: Document not available yet
|
:alt: Document not yet available
|
||||||
|
:class: o-no-modal
|
||||||
|
|
||||||
+--------------------------------------------------------------------+-----------------------------------------------------------------------+------------------------------------------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
|
.. seealso::
|
||||||
| | **English** | Français | Nederlands | Deutsch | Español |
|
`Archive of older agreements <https://drive.google.com/open?id=1skSTsdAPOBlaIWi_hUkL3tfaoi8Qdspu>`_
|
||||||
+====================================================================+=======================================================================+========================================================================+=======================================================================+=======================================================================+=======================================================================+
|
|
||||||
| Odoo Enterprise Agreement [#ltoe1]_ | |view_enterprise_en| |download_enterprise_en| | |view_enterprise_fr| |download_enterprise_fr| | |missing_txt| |missing_pdf| | |missing_txt| |missing_pdf| | |missing_txt| |missing_pdf| |
|
|
||||||
+--------------------------------------------------------------------+-----------------------------------------------------------------------+------------------------------------------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
|
|
||||||
| Odoo Partnership Agreement | |view_partnership_en| |download_partnership_en| | |view_partnership_fr| |download_partnership_fr| | |missing_txt| |missing_pdf| | |missing_txt| |missing_pdf| | |missing_txt| |missing_pdf| |
|
|
||||||
+--------------------------------------------------------------------+-----------------------------------------------------------------------+------------------------------------------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
|
|
||||||
| Terms of Sale | |view_terms_of_sale_en| |download_terms_of_sale_en| | |view_terms_of_sale_fr| |download_terms_of_sale_fr| | | | |
|
|
||||||
+--------------------------------------------------------------------+-----------------------------------------------------------------------+------------------------------------------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
|
|
||||||
| Archive of older agreements: `Archive <https://drive.google.com/open?id=1skSTsdAPOBlaIWi_hUkL3tfaoi8Qdspu>`_ |
|
|
||||||
+--------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
||||||
| .. [#ltoe1] Applies to self-hosting, Odoo.SH and Odoo Cloud |
|
|
||||||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
||||||
|
|
||||||
Other legal references
|
Other legal references
|
||||||
======================
|
======================
|
||||||
|
@ -4,10 +4,6 @@ section#terms-and-conditions table td {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
section#terms-and-conditions table th {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
section#terms-and-conditions table img.img-fluid {
|
section#terms-and-conditions table img.img-fluid {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user