70 lines
1.2 KiB
HTML
70 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% load static %}
|
|
|
|
|
|
{% block stylesheets %}
|
|
<link rel="stylesheet" href="{% static 'css/release.css' %}" />
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>
|
|
{% for contrib in contribs %}
|
|
{{ contrib.name }}
|
|
{% if not forloop.last %} & {% endif %}
|
|
{% endfor %}
|
|
|
|
- {{ release.title }} ({{ release.year }})
|
|
</h1>
|
|
|
|
{% if release.description %}
|
|
|
|
<table id="infos"><tr>
|
|
<td id="left">
|
|
|
|
{% if release.embed %}
|
|
{% autoescape off %}
|
|
{{ release.embed }}
|
|
{% endautoescape %}
|
|
{% else %}
|
|
<p>
|
|
<img src="{{ MEDIA_URL }}{{ release.cover }}"
|
|
alt="{{ release.title }}"
|
|
class="logo" />
|
|
</p>
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td id="right">
|
|
|
|
{% if release.description %}
|
|
{% autoescape off %}
|
|
{{ release.description }}
|
|
{% endautoescape %}
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr></table>
|
|
|
|
{% else %}
|
|
|
|
{% if release.embed %}
|
|
{% autoescape off %}
|
|
{{ release.embed }}
|
|
{% endautoescape %}
|
|
{% else %}
|
|
<p>
|
|
<img src="{{ MEDIA_URL }}{{ release.cover }}"
|
|
alt="{{ release.title }}"
|
|
class="logo" />
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|