Fix some issues
This commit is contained in:
@@ -55,11 +55,15 @@
|
||||
{% if i.removingDate is defined %}
|
||||
<br /><small>{% trans %}title_can_be_removed_at{% endtrans %}:</small>
|
||||
<small class="text-{% if date(i.removingDate) < date() %}danger{% endif %}{% if date(i.removingDate) == date() %}warning{% endif %}{% if date(i.removingDate) > date() %}success{% endif %}">{{ i.removingDate|date('_datetime.format'|trans) }}</small>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if i.type is defined and i.type is not null %}
|
||||
<br /><small>{% trans %}title_type{% endtrans %}:</small>
|
||||
<small>{{ i.type|trans }}</small>
|
||||
{% endif %}
|
||||
{% if i.until is defined %}
|
||||
<br /><small>{% trans %}title_until{% endtrans %}:</small>
|
||||
<small class="text-{% if date(i.until) < date() %}danger{% endif %}{% if date(i.until) == date() %}warning{% endif %}{% if date(i.until) > date() %}success{% endif %}">{{ i.until|date('_datetime.format'|trans) }}</small>
|
||||
{% endif %}
|
||||
{% if i.numberplate is defined and i.numberplate is not null %}
|
||||
<br /><small>{% trans %}title_numberplate{% endtrans %}:</small>
|
||||
<small>{{ i.numberplate }}</small>
|
||||
|
||||
Reference in New Issue
Block a user