2014-04-03 16:53:37 +00:00
|
|
|
{% extends '_layout.html'|pjax:request %}
|
2014-03-31 10:26:28 +00:00
|
|
|
{% load i18n %}
|
2014-03-28 14:48:05 +00:00
|
|
|
|
2014-03-31 13:32:50 +00:00
|
|
|
{% block page_title %}{{ block.super }} | {{ item.name }}{% endblock %}
|
|
|
|
|
2014-03-28 14:48:05 +00:00
|
|
|
{% block main_content %}
|
|
|
|
<div class="container">
|
2014-08-24 15:20:06 +00:00
|
|
|
{% if USER_IS_STAFF and USER_CONFIG.show_admin_links %}
|
|
|
|
<div class="text-right">
|
|
|
|
<a class="btn btn-info" href="{% url 'admin:manga_series_change' item.pk %}">{% trans "Edit in admin" %}</a>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
{% endif %}
|
2014-03-28 14:48:05 +00:00
|
|
|
<div class="row">
|
2014-03-31 17:06:55 +00:00
|
|
|
<div class="col-md-3">
|
2014-04-25 11:19:34 +00:00
|
|
|
<div class="panel panel-warning">
|
2014-04-23 15:16:00 +00:00
|
|
|
{% if item.last_volume_cover %}
|
2014-03-28 14:48:05 +00:00
|
|
|
<div class="panel-body text-center">
|
2014-04-23 15:16:00 +00:00
|
|
|
<img src="{{ item.last_volume_cover.url }}" class="max-width-80" />
|
2014-03-28 14:48:05 +00:00
|
|
|
</div>
|
2014-03-28 16:50:52 +00:00
|
|
|
{% endif %}
|
2014-03-31 17:06:55 +00:00
|
|
|
<ul class="list-group">
|
2014-04-25 11:19:34 +00:00
|
|
|
{% if item.for_review and user.is_staff %}
|
|
|
|
<a class="list-group-item list-group-item-warning text-center">
|
|
|
|
{% trans "Requires review" %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2014-03-31 17:06:55 +00:00
|
|
|
<li class="list-group-item">
|
2014-04-23 15:16:00 +00:00
|
|
|
<strong>{% trans "Status" %}</strong>
|
2014-08-25 11:45:55 +00:00
|
|
|
<span class="badge badge-{{ item.get_status_display_class }}">{{ item.get_status_display }}</span>
|
2014-04-23 15:16:00 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% if item.art.count %}
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h2 class="panel-title text-center">{% trans "Art" %}</h2>
|
|
|
|
</div>
|
|
|
|
<ul class="list-group">
|
|
|
|
{% for person in item.art.all %}
|
|
|
|
<li class="list-group-item">
|
|
|
|
{{ person.name }}
|
2014-03-31 17:06:55 +00:00
|
|
|
</li>
|
2014-04-23 15:16:00 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if item.story.count %}
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h2 class="panel-title text-center">{% trans "Story" %}</h2>
|
|
|
|
</div>
|
|
|
|
<ul class="list-group">
|
|
|
|
{% for person in item.story.all %}
|
2014-03-31 17:06:55 +00:00
|
|
|
<li class="list-group-item">
|
2014-04-23 15:16:00 +00:00
|
|
|
{{ person.name }}
|
2014-03-31 17:06:55 +00:00
|
|
|
</li>
|
2014-04-23 15:16:00 +00:00
|
|
|
{% endfor %}
|
2014-03-31 17:06:55 +00:00
|
|
|
</ul>
|
2014-03-28 16:50:52 +00:00
|
|
|
</div>
|
2014-04-23 15:16:00 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2014-03-28 16:50:52 +00:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h2 class="panel-title text-center">{% trans "Publishers" %}</h2>
|
|
|
|
</div>
|
|
|
|
<ul class="list-group">
|
2014-04-23 15:16:00 +00:00
|
|
|
{% if item.original_publisher %}
|
2014-03-28 16:50:52 +00:00
|
|
|
<li class="list-group-item">
|
2014-04-23 15:16:00 +00:00
|
|
|
{% trans "Original publisher" %}:
|
2014-04-02 13:57:40 +00:00
|
|
|
{% if publisher.slug %}
|
2014-04-23 15:16:00 +00:00
|
|
|
<a href="{% url 'publishers.detail' item.original_publisher.pk item.original_publisher.slug %}" data-pjax>{{ item.original_publisher.name }}</a>
|
2014-04-02 13:57:40 +00:00
|
|
|
{% else %}
|
2014-04-23 15:16:00 +00:00
|
|
|
<a href="{% url 'publishers.detail' item.original_publisher.pk %}" data-pajax>{{ item.original_publisher.name }}</a>
|
2014-04-02 13:57:40 +00:00
|
|
|
{% endif %}
|
2014-03-28 16:50:52 +00:00
|
|
|
</li>
|
2014-04-23 15:16:00 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if item.publishers %}
|
|
|
|
{% for publisher in item.publishers %}
|
|
|
|
<li class="list-group-item">
|
|
|
|
<span class="badge badge-default">{{ publisher.series_volumes.count }}</span>
|
|
|
|
{% 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 %}
|
|
|
|
{% endif %}
|
2014-03-28 14:48:05 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-03-31 17:06:55 +00:00
|
|
|
<div class="col-md-9">
|
2014-04-25 11:19:34 +00:00
|
|
|
<div class="panel panel-primary">
|
2014-03-31 17:06:55 +00:00
|
|
|
<div class="panel-heading">
|
|
|
|
<h1 class="panel-title panel-title-alt text-center">{{ item.name }}</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-03-28 17:17:36 +00:00
|
|
|
{% if item.summary %}
|
2014-03-28 14:48:05 +00:00
|
|
|
<div class="well">
|
2014-03-28 16:50:52 +00:00
|
|
|
{{ item.summary|linebreaks }}
|
2014-03-28 14:48:05 +00:00
|
|
|
</div>
|
2014-03-28 17:17:36 +00:00
|
|
|
{% endif %}
|
2014-03-28 14:48:05 +00:00
|
|
|
<div class="row">
|
2014-04-23 15:16:00 +00:00
|
|
|
{% for volume in item.volumes_by_publisher.all %}
|
2014-08-24 20:07:15 +00:00
|
|
|
<div class="col-sm-4" data-pjax-container="v{{ volume.pk }}">
|
2014-03-31 10:26:28 +00:00
|
|
|
{% include "manga/series/includes/volume.html" with volume=volume user=user %}
|
2014-03-28 22:47:53 +00:00
|
|
|
</div>
|
2014-08-24 20:07:15 +00:00
|
|
|
{% if forloop.counter|divisibleby:3 %}
|
2014-03-28 16:50:52 +00:00
|
|
|
</div>
|
2014-03-31 10:26:28 +00:00
|
|
|
<div class="row">
|
|
|
|
{% endif %}
|
2014-03-28 16:50:52 +00:00
|
|
|
{% endfor %}
|
2014-03-28 14:48:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|