You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
{% set title = element.title %}
<head>
<meta charset="utf-8"/>
<title>{{ title }}</title>
<style>
table tr th, table tr td {
margin: 0;
padding: .2em;
border: solid black 1px;
}
</style>
</head>
<body>
<a href="/media">&lt;- back to list</a>
<h1>{{ title }}</h1>
<h2>Notes</h2>
<pre>{{ element.notes or "" }}</pre>
<h2>Properties</h2>
<ul>
<li>
{{ element.uri | as_play_link }}
</li>
<li>Can be considered: {{ element.can_considered | tenary("Yes", "no") }}</li>
</ul>
<h2>Part of Collections</h2>
<ul>
{% for link in element.collection_links %}
<li>
<a href="{{ link.collection.info_link }}">{{ link.collection.title }}</a>
{%- if link.season != 0 -%}
, Season {{ link.season }}
{% endif %}
{%- if link.episode != 0 -%}
, Episode {{ link.episode }}
{% endif %}
</li>
{% endfor %}
</ul>
<h2>Links</h2>
<ul>
{% for link in element.uris %}
<li>{{ link.uri | as_link }} {% if element.uri == link.uri %}*{% endif %}</li>
{% endfor %}
</ul>
</body>
</html>