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"> |     <link rel="stylesheet" href="/static/common.css"> | ||||||
| 
 | 
 | ||||||
| <style> | <style> | ||||||
|  | p | ||||||
|  | { | ||||||
|  |     word-break: break-word; | ||||||
|  | } | ||||||
| #content_body | #content_body | ||||||
| { | { | ||||||
|     /* overriding common.css here */ |     /* overriding common.css here */ | ||||||
|  | @ -21,6 +25,7 @@ | ||||||
| {{header.make_header()}} | {{header.make_header()}} | ||||||
| <div id="content_body"> | <div id="content_body"> | ||||||
|     <h2>{{album["title"]}}</h2> |     <h2>{{album["title"]}}</h2> | ||||||
|  |     <p>{{album["description"]}}</p> | ||||||
|     {% set parent=album["parent"] %} |     {% set parent=album["parent"] %} | ||||||
|     {% if parent %} |     {% if parent %} | ||||||
|     <h3>Parent: <a href="/album/{{parent["id"]}}">{{parent.title}}</a></h3> |     <h3>Parent: <a href="/album/{{parent["id"]}}">{{parent.title}}</a></h3> | ||||||
|  |  | ||||||
|  | @ -24,7 +24,7 @@ | ||||||
|     {% else %} |     {% else %} | ||||||
|     {% set title=album["id"] %} |     {% set title=album["id"] %} | ||||||
|     {% endif %} |     {% endif %} | ||||||
|     <a href="/album/{{album["id"]}}">{{title}}</a> |     <div><a href="/album/{{album["id"]}}">{{album["id"] + " " + album["title"]}}</a></div> | ||||||
|     {% endfor %} |     {% endfor %} | ||||||
| </div> | </div> | ||||||
| </body> | </body> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue