Display album description
This commit is contained in:
parent
1ecd1f979e
commit
1e7aff5cfd
3 changed files with 17 additions and 12 deletions
|
@ -8,6 +8,10 @@
|
|||
<link rel="stylesheet" href="/static/common.css">
|
||||
|
||||
<style>
|
||||
p
|
||||
{
|
||||
word-break: break-word;
|
||||
}
|
||||
#content_body
|
||||
{
|
||||
/* overriding common.css here */
|
||||
|
@ -21,6 +25,7 @@
|
|||
{{header.make_header()}}
|
||||
<div id="content_body">
|
||||
<h2>{{album["title"]}}</h2>
|
||||
<p>{{album["description"]}}</p>
|
||||
{% set parent=album["parent"] %}
|
||||
{% if parent %}
|
||||
<h3>Parent: <a href="/album/{{parent["id"]}}">{{parent.title}}</a></h3>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
{% else %}
|
||||
{% set title=album["id"] %}
|
||||
{% endif %}
|
||||
<a href="/album/{{album["id"]}}">{{title}}</a>
|
||||
<div><a href="/album/{{album["id"]}}">{{album["id"] + " " + album["title"]}}</a></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue