From a01459d4d34a8fa596645148233e667b179e76d0 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 24 Jan 2021 16:07:14 +0100 Subject: [PATCH] Add navigation to detail --- src/pictures/static/pictures/list.css | 4 ++++ src/pictures/templates/pictures/messages-list.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pictures/static/pictures/list.css b/src/pictures/static/pictures/list.css index 3ac4f2e..66a5907 100644 --- a/src/pictures/static/pictures/list.css +++ b/src/pictures/static/pictures/list.css @@ -20,3 +20,7 @@ flex-grow: 1; margin-left: 1em; } + +.message { + cursor: pointer; +} diff --git a/src/pictures/templates/pictures/messages-list.html b/src/pictures/templates/pictures/messages-list.html index bf52906..16b6bf5 100644 --- a/src/pictures/templates/pictures/messages-list.html +++ b/src/pictures/templates/pictures/messages-list.html @@ -7,7 +7,7 @@ {% block content %} {% for message in messages %} -
+
{% if message.media_files.first %} Photo