more media settings

This commit is contained in:
nek0 2014-09-09 04:26:50 +02:00
parent 0e88b61947
commit 52b0d0fe07
4 changed files with 41 additions and 5 deletions

View file

@ -0,0 +1,10 @@
$newline always
<h3>Media from #{albumTitle album}
$if null media
#{albumTitle album} has no media yet
$else
$forall (Entity mId m) <- media
<ul>
<li>
<a href=@{AdminMediumSettingsR mId}>#{mediumTitle m}

View file

@ -0,0 +1,10 @@
.right
float:right
width:50%
.left
float:left
width:50%
footer
clear:both

View file

@ -1,9 +1,15 @@
$newline always
<h3>Album settings
<div class="left">
<form method="post" enctype=#{enctype}>
^{adminAlbumSettingsWidget}
<div>
<input type=submit value="Change settings">
<a href=@{AdminAlbumDeleteR albumId}>Delete this album
<div class="right">
<ul>
<li>
Media in this album

View file

@ -0,0 +1,10 @@
$newline always
<h3>Albums of #{userSlug owner}
$if null media
#{userSlug owner} has no media yet
$else
$forall (Entity mId m) <- media
<ul>
<li>
<a href=@{AdminMediumSettingsR mId}>#{mediumTitle m}