Browse code

Adjust reader template styling

Benjamin Roth authored on29/02/2024 15:12:04
Showing1 changed files
... ...
@@ -9,8 +9,8 @@
9 9
     {% set strong = options.strong is defined and options.strong ? true : false %}
10 10
     {% apply spaceless %}
11 11
         {% if label and value %}
12
-            <li{% if class %} class="{{- class -}}"{% endif %}>
13
-                <span class="label{{ strong ? ' strong' : '' }}">{{- label -}}</span>
12
+            <li class="{% if class %}{{- class -}}{% endif %}{{- strong ? ' strong' : '' -}}">
13
+                <span class="label">{{- label -}}</span>
14 14
                 <span class="value">{% if prepend %}{{ prepend }}{% endif %}{{- value -}}{% if append %}{{ append }}{% endif %}</span>
15 15
             </li>
16 16
         {% endif %}
... ...
@@ -50,7 +50,7 @@
50 50
                 {% if item.advanceOperatingCosts > 0 %}{{ _self.listEntry('tl_vr_real_estate_assets.advanceOperatingCosts.0'|trans({}, 'contao_default'),item.advanceOperatingCosts|number_format(2, ',', ''),{ append: ' €'}) }}{% endif %}
51 51
                 {% if item.rent > 0 %}{{ _self.listEntry('tl_vr_real_estate_assets.rent.0'|trans({}, 'contao_default'),item.rent|number_format(2, ',', ''),{ append: ' €'}) }}{% endif %}
52 52
                 {% set total = item.coldRent + item.rent + item.advanceOperatingCosts %}
53
-                {{ _self.listEntry('tl_vr_real_estate_assets.total.0'|trans({}, 'contao_default'),total|number_format(2, ',', ''),{ strong: true, append: ' €'}) }}
53
+                {{ _self.listEntry('tl_vr_real_estate_assets.total.0'|trans({}, 'contao_default'),total|number_format(2, ',', ''),{ class: 'mt-default', strong: true, append: ' €'}) }}
54 54
             </ul>
55 55
             <ul class="expose-facts-features">
56 56
                 {% if item.livingSpace > 0 %}{{ _self.listEntry('tl_vr_real_estate_assets.livingSpace.0'|trans({}, 'contao_default'),item.livingSpace|number_format(2, ',', ''),{ append: ' m²'}) }}{% endif %}