2014-10-05 13:29:21 +00:00
|
|
|
<div class="panel panel-default infobox">
|
|
|
|
<div class="panel-heading">
|
2016-04-17 21:21:44 +00:00
|
|
|
<bdi><h4 class="panel-title infobox_part">{{ infobox.infobox }}</h4></bdi>
|
2014-10-05 13:29:21 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2016-04-17 21:21:44 +00:00
|
|
|
<bdi>
|
2015-01-17 21:36:48 +00:00
|
|
|
{% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ image_proxify(infobox.img_src) }}" alt="{{ infobox.infobox }}" />{% endif %}
|
2014-10-05 13:29:21 +00:00
|
|
|
{% if infobox.content %}<p class="infobox_part">{{ infobox.content }}</p>{% endif %}
|
|
|
|
|
|
|
|
{% if infobox.attributes %}
|
|
|
|
<table class="table table-striped infobox_part">
|
|
|
|
{% for attribute in infobox.attributes %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ attribute.label }}</td>
|
2016-02-28 01:19:04 +00:00
|
|
|
{% if attribute.image %}
|
|
|
|
<td><img class="img-responsive" src="{{ image_proxify(attribute.image.src) }}" alt="{{ attribute.image.alt }}" /></td>
|
|
|
|
{% else %}
|
2014-10-05 13:29:21 +00:00
|
|
|
<td>{{ attribute.value }}</td>
|
2016-02-28 01:19:04 +00:00
|
|
|
{% endif %}
|
2014-10-05 13:29:21 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if infobox.urls %}
|
|
|
|
<div class="infobox_part">
|
|
|
|
{% for url in infobox.urls %}
|
2015-04-26 13:32:26 +00:00
|
|
|
<p class="btn btn-default btn-xs"><a href="{{ url.url }}" rel="noreferrer">{{ url.title }}</a></p>
|
2014-10-05 13:29:21 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2016-04-17 21:21:44 +00:00
|
|
|
</bdi>
|
2014-10-05 13:29:21 +00:00
|
|
|
</div>
|
|
|
|
</div>
|