From 011233d01672df25751dc8ba6878c85a20052341 Mon Sep 17 00:00:00 2001 From: nickgiann Date: Tue, 21 Jun 2022 04:39:13 +0300 Subject: [PATCH] digest: Add header above plain text view of digest. This commit adds a header above the plain text view of the digest to be more clear about what the user is seeing. A bit hacky, but the page is an internal development tool. Fixes #21165. --- static/styles/portico/portico.css | 3 ++- templates/zerver/digest_base.html | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/static/styles/portico/portico.css b/static/styles/portico/portico.css index e732421227..fafc6c406c 100644 --- a/static/styles/portico/portico.css +++ b/static/styles/portico/portico.css @@ -256,8 +256,9 @@ html { margin-bottom: 60px; } -#digest-page-title { +.digest-page-title { text-align: center; + font-weight: 400; } .thanks-page div { diff --git a/templates/zerver/digest_base.html b/templates/zerver/digest_base.html index f91c290bb3..24b2701a1e 100644 --- a/templates/zerver/digest_base.html +++ b/templates/zerver/digest_base.html @@ -8,13 +8,16 @@
-
+

Zulip digest

{% include 'zerver/emails/compiled/digest.html' %}
+
+
+

Plain text version

{% include 'zerver/emails/digest.txt' %}