Skip to content
Snippets Groups Projects
Commit b3642396 authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Only show contact details if name, mail, street or tel is present

parent cdfa1408
No related branches found
No related tags found
1 merge request!51Display contact information on dataset page and use text-ellipsis for long description texts
{% if data and title %} {% if data and (data.name or data.email or data.street or data.tel) and title %}
<div class="sub-section"> <div class="sub-section">
<h5>{{ title }}</h5> <h5>{{ title }}</h5>
<table class="table table-striped"> <table class="table table-striped">
<tbody> <tbody>
<tr> <tr>
<td> <td>
{% if data.name %}
<p> <p>
<span>{{ data.name }}</span> <span>{{ data.name }}</span>
</p> </p>
{% endif %}
{% if data.street %} {% if data.street %}
<p> <p>
{% if data.street %} {% if data.street %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment