Code style
This commit is contained in:
parent
4ae27e4109
commit
b010b6ac62
1 changed files with 16 additions and 6 deletions
|
|
@ -34,13 +34,15 @@
|
||||||
{% if instance.context.service_definition.service.logo %}
|
{% if instance.context.service_definition.service.logo %}
|
||||||
<img src="{{ instance.context.service_definition.service.logo.url }}"
|
<img src="{{ instance.context.service_definition.service.logo.url }}"
|
||||||
alt="{{ instance.context.service_definition.service.name }}"
|
alt="{{ instance.context.service_definition.service.name }}"
|
||||||
style="height: 24px; width: auto;">
|
style="height: 24px;
|
||||||
|
width: auto">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="text-muted">|</span>
|
<span class="text-muted">|</span>
|
||||||
{% if instance.context.service_offering.provider.logo %}
|
{% if instance.context.service_offering.provider.logo %}
|
||||||
<img src="{{ instance.context.service_offering.provider.logo.url }}"
|
<img src="{{ instance.context.service_offering.provider.logo.url }}"
|
||||||
alt="{{ instance.context.service_offering.provider.name }}"
|
alt="{{ instance.context.service_offering.provider.name }}"
|
||||||
style="height: 24px; width: auto;">
|
style="height: 24px;
|
||||||
|
width: auto">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock page_subtitle %}
|
{% endblock page_subtitle %}
|
||||||
|
|
@ -105,7 +107,9 @@
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
<span class="text-muted">{% translate "Estimated Total" %}</span>
|
<span class="text-muted">{% translate "Estimated Total" %}</span>
|
||||||
<div class="text-end">
|
<div class="text-end">
|
||||||
<div><strong>~CHF {{ pricing.total_monthly }}</strong> <span class="text-muted small">/ {% translate "month" %}</span></div>
|
<div>
|
||||||
|
<strong>~CHF {{ pricing.total_monthly }}</strong> <span class="text-muted small">/ {% translate "month" %}</span>
|
||||||
|
</div>
|
||||||
<div class="text-muted small">CHF {{ pricing.total_hourly }} / {% translate "hour" %}</div>
|
<div class="text-muted small">CHF {{ pricing.total_hourly }} / {% translate "hour" %}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -369,11 +373,17 @@
|
||||||
<h5 class="mb-3">{% translate "Metadata" %}</h5>
|
<h5 class="mb-3">{% translate "Metadata" %}</h5>
|
||||||
<dl class="row">
|
<dl class="row">
|
||||||
<dt class="col-sm-5">{% translate "Created By" %}</dt>
|
<dt class="col-sm-5">{% translate "Created By" %}</dt>
|
||||||
<dd class="col-sm-7">{{ instance.created_by|default:"-" }}</dd>
|
<dd class="col-sm-7">
|
||||||
|
{{ instance.created_by|default:"-" }}
|
||||||
|
</dd>
|
||||||
<dt class="col-sm-5">{% translate "Created At" %}</dt>
|
<dt class="col-sm-5">{% translate "Created At" %}</dt>
|
||||||
<dd class="col-sm-7">{{ instance.created_at|localtime_tag }}</dd>
|
<dd class="col-sm-7">
|
||||||
|
{{ instance.created_at|localtime_tag }}
|
||||||
|
</dd>
|
||||||
<dt class="col-sm-5">{% translate "Updated At" %}</dt>
|
<dt class="col-sm-5">{% translate "Updated At" %}</dt>
|
||||||
<dd class="col-sm-7">{{ instance.updated_at|localtime_tag }}</dd>
|
<dd class="col-sm-7">
|
||||||
|
{{ instance.updated_at|localtime_tag }}
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue