Commit b82c5abf authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: Display appropriated logo

parent 4e064b54
......@@ -16,7 +16,14 @@
<body>
<header>
<address class="left">
<img alt="" src="http://www.vifib.com/legal/VIFIB-Legal/vifib_image/LogoVifib-H100.png" style="max-height: 25%; max-width: 70%;"/>
<tal:block define="web_site python: context.getWebSiteValue()">
<tal:block tal:condition="python: web_site is not None">
<img alt="" tal:attributes="src python: web_site.absolute_url() + '/gadget_slapos_invoice_logo.png?format='" style="max-height: 25%; max-width: 70%;"/>
</tal:block>
<tal:block tal:condition="python: web_site is None">
<img alt="" tal:attributes="src python: context.getPortalObject().absolute_url() + '/web_site_module/hostingjs/gadget_slapos_invoice_logo.png?format='" style="max-height: 25%; max-width: 70%;"/>
</tal:block>
</tal:block>
<h1 class="company" tal:content="python: context.getSourceSectionTitle('SlapOS Company')"></h1>
<tal:block tal:define="source_section_organisation python: context.getSourceSectionValue()">
<p tal:condition="python: source_section_organisation is not None">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment