75 lines
2.8 KiB
HTML
75 lines
2.8 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">
|
|
<!--
|
|
<div class="panel-heading">
|
|
<h1 class="panel-title panel-title-alt text-center">{{ item.name }}</h1>
|
|
</div>
|
|
-->
|
|
{% if item.cover %}
|
|
<div class="panel-body text-center">
|
|
<img src="{{ item.cover.url }}" class="max-width-80" />
|
|
</div>
|
|
{% endif %}
|
|
<ul class="list-group">
|
|
<li class="list-group-item">
|
|
<strong>{% trans "Volumes" %}</strong>: {{ item.volumes.count }}
|
|
</li>
|
|
<li class="list-group-item">
|
|
<strong>{% trans "Finished" %}</strong>: {{ item.finished|yesno|capfirst }}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
{% if item.publishers %}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h2 class="panel-title text-center">{% trans "Publishers" %}</h2>
|
|
</div>
|
|
<ul class="list-group">
|
|
{% for publisher in item.publishers %}
|
|
<li class="list-group-item">
|
|
{% if publisher.slug %}
|
|
<a href="{% url 'publishers.detail' publisher.pk publisher.slug %}" data-pjax>{{ publisher.name }}</a>
|
|
{% else %}
|
|
<a href="{% url 'publishers.detail' publisher.pk %}" data-pajax>{{ publisher.name }}</a>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
</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>
|
|
{% if item.summary %}
|
|
<div class="well">
|
|
{{ item.summary|linebreaks }}
|
|
</div>
|
|
{% endif %}
|
|
<div class="row">
|
|
{% for volume in item.volumes.all %}
|
|
<div class="col-sm-2" data-pjax-container="v{{ volume.pk }}">
|
|
{% include "manga/series/includes/volume.html" with volume=volume user=user %}
|
|
</div>
|
|
{% if forloop.counter|divisibleby:5 %}
|
|
</div>
|
|
<div class="row">
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|