1.1 --- a/templates/buiseness_card.html Tue May 20 16:23:02 2014 +0200
1.2 +++ b/templates/buiseness_card.html Tue May 20 16:24:06 2014 +0200
1.3 @@ -4,16 +4,21 @@
1.4 <div class="col-md-3">
1.5 <p> {{ card.title.value }} {{ card.fn.value }}</p>
1.6 <p> {{ card.org.value[0] }}</p>
1.7 - <p><a href="mailto:{{ card.email.value|safe }}">{{ card.email.value|safe }}</a></p>
1.8 + <p>E-Mail: <a href="mailto:{{ card.email.value|safe }}">{{ card.email.value|safe }}</a></p>
1.9 + {% if card.tel.value %}
1.10 + <p>Tel.: {{ card.tel.value }}</p>
1.11 + {% endif %}
1.12 <img src="data:image/png;base64,{{ image|safe }}"/>
1.13 </div>
1.14
1.15 <div class="col-md-3">
1.16 - <img class="logo" src="{{ card.photo.value|safe}}" alt="Image von Person" />
1.17 + {% if card.photo.value %}
1.18 + <img class="logo" src="{{ card.photo.value|safe}}" alt="Image von Person" />
1.19
1.20 - <div class="collapse navbar-collapse">
1.21 - <ul class="nav navbar-nav navbar-right">
1.22 - </div>
1.23 + <div class="collapse navbar-collapse">
1.24 + <ul class="nav navbar-nav navbar-right">
1.25 + </div>
1.26 + {% endif %}
1.27 </div>
1.28 </div>
1.29 </div>