From bc0284c779ea41a6ed672da1e3d452e0ce89d499 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Tue, 10 Dec 2024 20:55:30 -0800 Subject: [PATCH] Add messages to mobile view (#1762) --- files/app/partial/status.ut | 7 +++++++ files/app/resource/css/mobile.css | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/files/app/partial/status.ut b/files/app/partial/status.ut index 6428c711..7e87d0f1 100755 --- a/files/app/partial/status.ut +++ b/files/app/partial/status.ut @@ -98,6 +98,13 @@ {% } else { %} +
+{% if (messages.haveMessages() || (auth.isAdmin && messages.haveToDos())) { %} +
+ {{_R("messages")}} +
+{% } %} +
{{_R("general")}}
diff --git a/files/app/resource/css/mobile.css b/files/app/resource/css/mobile.css index d29430dd..f2443164 100755 --- a/files/app/resource/css/mobile.css +++ b/files/app/resource/css/mobile.css @@ -53,6 +53,10 @@ body.mobile hr { flex-direction: column; } +#m-main #messages +{ + margin: 10px 10px 0 10px; +} #m-main #location .location-image { width: 100%;