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.
This commit is contained in:
nickgiann
2022-06-21 04:39:13 +03:00
committed by Tim Abbott
parent ff82c69480
commit 011233d016
2 changed files with 6 additions and 2 deletions

View File

@@ -256,8 +256,9 @@ html {
margin-bottom: 60px;
}
#digest-page-title {
.digest-page-title {
text-align: center;
font-weight: 400;
}
.thanks-page div {

View File

@@ -8,13 +8,16 @@
</div>
<div class="digest-container">
<div class="digest-email-container">
<div class="portico-page" id="digest-page-title">
<div class="portico-page digest-page-title">
<h1> Zulip digest </h1>
</div>
<div class="digest-email-html">
{% include 'zerver/emails/compiled/digest.html' %}
<img id="digest-footer" src="/static/images/emails/footer.png"/>
</div>
<br />
<br />
<h2 class="digest-page-title">Plain text version</h2>
<pre>{% include 'zerver/emails/digest.txt' %}</pre>
<div class="digest-address-link"> {{physical_address}}</div>
</div>