creation_date.inc 865 Bytes
Newer Older
Tarje.Lavik's avatar
Tarje.Lavik committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% if first.main.created.value != null %}
<p><strong><i class="fa fa-calendar"></i> 
  Dato: <span itemprop="dateCreated">{{ first.main.created.value }}</span>
</strong></p>
{% endif %}

{% if first.main.madeafter.value != null || first.main.madebefore.value != null %}
<p><i class="fa fa-calendar"></i> 
  {% if first.main.madeafter.value != null && first.main.madebefore.value != null %}
  Laget mellom <strong>{{ first.main.madeafter.value }}</strong> og <strong>{{ first.main.madebefore.value }}</strong>
  {% endif %}
  {% if first.main.madeafter.value != null && first.main.madebefore.value == null %}
  Laget etter <strong>{{ first.main.madeafter.value }}</strong>
  {% endif %}
  {% if first.main.madeafter.value == null && first.main.madebefore.value != null %}
  Laget før <strong>{{ first.main.madebefore.value }}</strong>
  {% endif %}
</p>
{% endif %}