pretalx-musicrate/pretalx_musicrate/templates/pretalx_musicrate/submission_base.html

56 lines
1.5 KiB
HTML

{% extends "cfp/event/base.html" %}
{% load compress %}
{% load i18n %}
{% block title %}{{ submission.title }} ::{% endblock %}
{% block cfp_header %}
{% compress css %}
<style>
.musicrate-pagination {
display: flex;
}
.musicrate-pagination > * {
flex-basis: 0;
}
.musicrate-pagination > a {
flex-grow: 1;
}
.musicrate-pagination > a:last-child {
text-align: right;
}
</style>
{% endcompress %}
{% block submission_header %}
{% endblock %}
{% endblock %}
{% block content %}
{% translate "(not specified)" as not_specified %}
<h1>{{ submission.title }}</h1>
<p>
{{ submission.submission_type.name }} &middot; {{ genre|default:not_specified }} &middot; {{ origin|default:not_specified }}
{% if submission.internal_notes %}
<br>
{{ submission.internal_notes }}
{% endif %}
</p>
{% block submission_content %}
{% endblock %}
<div class="musicrate-pagination">
{% if prev %}
<a href="{{ prev }}">&lt; {% translate "Previous" %}</a>
{% else %}
<a></a>
{% endif %}
{% if index and count %}
{{ index }}/{{ count }}
{% endif %}
{% if next and can_continue %}
<a href="{{ next }}" id="next">{% translate "Next" %} &gt;</a>
{% else %}
<a></a>
{% endif %}
</div>
{% endblock %}