fmartingr
/
shelfzilla
Archived
1
0
Fork 0
This repository has been archived on 2021-06-29. You can view files and clone it, but cannot push or open issues or pull requests.
shelfzilla/shelfzilla/themes/bootflat/templates/manga/publishers/detail.html

58 lines
2.3 KiB
HTML

{% extends extends_template %}
{% load i18n %}
{% block page_title %}{{ block.super }} | {{ item.name }}{% endblock %}
{% block main_content %}
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="panel panel-primary">
<ul class="list-group">
<li class="list-group-item">
<strong>{% trans "Series" %}</strong>: {{ item.series.count }}
</li>
<li class="list-group-item">
<strong>{% trans "Volumes" %}</strong>: {{ item.volumes.count }}
</li>
{% if item.url %}
<li class="list-group-item text-center">
<a href="{{ item.url }}" target="_blank"><i class="glyphicon glyphicon-home"></i> {% trans "Homepage" %}</a>
</li>
{% endif %}
</ul>
</div>
</div>
<div class="col-md-9">
<div class="panel panel-primary">
<div class="panel-heading">
<h1 class="panel-title panel-title-alt text-center">{{ item.name }}</h1>
</div>
</div>
<div class="series-list panel">
<table class="table table-bordered">
<thead>
<th>{% trans "Name" %}</th>
<th>{% trans "Volumes" %}</th>
<th>{% trans "Finished" %}</th>
</thead>
<tbody>
{% for series in item.series %}
<td>
{% if series.slug %}
<a href="{% url 'series.detail' series.pk series.slug %}" data-pjax>{{ series.name }}</a>
{% else %}
<a href="{% url 'series.detail' series.pk %}" data-pjax>{{ series.name }}</a>
{% endif %}
</td>
<td>{{ series.volumes.count }}</td>
<td>{{ series.finished|yesno|capfirst }}</td>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
{% endblock %}