merging with upstream
This commit is contained in:
@@ -1,9 +1,24 @@
|
||||
{% extends "layout.html.jinja" %}
|
||||
{% set title = "Helix Calculator" %}
|
||||
{% block contents %}
|
||||
{% for warning in context['warning_messages'] %}
|
||||
<div class="summary_warning">{{ warning.value }}</div>
|
||||
{% endfor %}
|
||||
{% if 'sfdc_export_urls' in context %}
|
||||
{% if context['sfdc_export_error'] %}
|
||||
<div class="summary_warning" style="margin-top: 20px;">{{ context['sfdc_export_error'] }}</div>
|
||||
{% else %}
|
||||
<div class="msg-container">Documents exported to Sales Force succesffully.</div>
|
||||
{% endif %}
|
||||
|
||||
<ul class="msg-container">
|
||||
{% if context['sfdc_export_urls']['dxfUrl'] %}
|
||||
<li><a href="{{ context['sfdc_export_urls']['dxfUrl'] }}">DXF file</a> (uploaded on Helix)</li>
|
||||
{% else %}
|
||||
<li><a href="{{ context['sfdc_export_urls']['dxfUrlFromSF'] }}">DXF file</a> (uploaded on Sales Force)</li>
|
||||
{% endif %}
|
||||
<li><a href="{{ context['sfdc_export_urls']['documentationUrl'] }}">Documentation file</a></li>
|
||||
<li><a href="{{ context['sfdc_export_urls']['bomCsvUrl'] }}">BOM CSV file</a></li>
|
||||
<li><a href="{{ context['sfdc_export_urls']['bomJsonUrl'] }}">BOM JSON file</a></li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
<div class="form_section">
|
||||
<h3>Download</h3>
|
||||
|
||||
Reference in New Issue
Block a user