From 52b0d0fe0775f33525a69b3e767ecb4ef8551a75 Mon Sep 17 00:00:00 2001 From: nek0 Date: Tue, 9 Sep 2014 04:26:50 +0200 Subject: [PATCH] more media settings --- templates/adminAlbumMedia.hamlet | 10 ++++++++++ templates/adminAlbumSet.cassius | 10 ++++++++++ templates/adminAlbumSet.hamlet | 16 +++++++++++----- templates/adminUserMedia.hamlet | 10 ++++++++++ 4 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 templates/adminAlbumMedia.hamlet create mode 100644 templates/adminAlbumSet.cassius create mode 100644 templates/adminUserMedia.hamlet diff --git a/templates/adminAlbumMedia.hamlet b/templates/adminAlbumMedia.hamlet new file mode 100644 index 0000000..35ff832 --- /dev/null +++ b/templates/adminAlbumMedia.hamlet @@ -0,0 +1,10 @@ +$newline always +

Media from #{albumTitle album} + +$if null media + #{albumTitle album} has no media yet +$else + $forall (Entity mId m) <- media +