2021-05-04 04:15:26 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block container %}
|
2021-05-04 22:52:43 +02:00
|
|
|
<main class="container mt-4">
|
2021-05-04 04:15:26 +02:00
|
|
|
{% if tabs %}
|
2021-05-04 22:52:43 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3 mb-4">
|
|
|
|
<div class="list-group">
|
2021-07-24 05:30:14 +02:00
|
|
|
<a class="list-group-item list-group-item-action" href="{{ package.getURL("packages.view") }}">
|
2021-05-04 22:52:43 +02:00
|
|
|
<span class="row m-0 p-0">
|
|
|
|
<span class="col-auto m-0 p-0">
|
|
|
|
<img class="img-fluid user-photo img-thumbnail img-thumbnail-1"
|
2022-01-08 00:27:00 +01:00
|
|
|
src="{{ package.getThumbnailOrPlaceholder(1) }}" alt="{{ _('Thumbnail') }}" style="max-height: 20px;">
|
2021-05-04 22:52:43 +02:00
|
|
|
</span>
|
|
|
|
<span class="col m-0 p-0 pl-2">
|
|
|
|
{{ package.title }}
|
|
|
|
</span>
|
|
|
|
</span>
|
2021-05-04 04:15:26 +02:00
|
|
|
</a>
|
|
|
|
{% for item in tabs %}
|
2021-05-04 22:52:43 +02:00
|
|
|
<a href="{{ item.url }}"
|
|
|
|
class="list-group-item list-group-item-action {% if item.id == current_tab %}active{% endif %}">
|
|
|
|
{{ item.title }}
|
|
|
|
</a>
|
2021-05-04 04:15:26 +02:00
|
|
|
{% endfor %}
|
2021-05-04 22:52:43 +02:00
|
|
|
</div>
|
2021-05-04 04:15:26 +02:00
|
|
|
</div>
|
2021-05-04 22:52:43 +02:00
|
|
|
<div class="col-md-9">
|
|
|
|
{% endif %}
|
2021-05-04 04:15:26 +02:00
|
|
|
|
2021-05-04 22:52:43 +02:00
|
|
|
{{ self.content() }}
|
2021-05-04 04:15:26 +02:00
|
|
|
|
2021-05-04 22:52:43 +02:00
|
|
|
{% if tabs %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-05-04 04:15:26 +02:00
|
|
|
{% endif %}
|
2021-05-04 22:52:43 +02:00
|
|
|
</main>
|
2021-05-04 04:15:26 +02:00
|
|
|
{% endblock %}
|