mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
digest: Don't update context with data already in common context.
This commit is contained in:
parent
dbff533e09
commit
8ca4ca1400
@ -1,7 +1,7 @@
|
||||
{% extends "zerver/emails/email_base_messages.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p>Hello {{ name }},</p>
|
||||
<p>Hello {{ user_name }},</p>
|
||||
|
||||
<p>A lot has happened on Zulip while you've been away! <a href="{{ realm_uri }}">Visit Zulip</a> to catch up.</p>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
Hello {{ name }},
|
||||
Hello {{ user_name }},
|
||||
|
||||
A lot has happened on Zulip while you've been away! Visit
|
||||
{{ realm_uri }} to catch up.
|
||||
|
||||
@ -11,4 +11,4 @@ LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/03/01/zulip-2-0-relea
|
||||
# Typically, adding a dependency only requires a minor version bump, and
|
||||
# removing a dependency requires a major version bump.
|
||||
|
||||
PROVISION_VERSION = '28.8'
|
||||
PROVISION_VERSION = '28.9'
|
||||
|
||||
@ -213,8 +213,6 @@ def handle_digest_email(user_profile_id: int, cutoff: float,
|
||||
|
||||
# Start building email template data.
|
||||
context.update({
|
||||
'realm_name': user_profile.realm.name,
|
||||
'name': user_profile.full_name,
|
||||
'unsubscribe_link': one_click_unsubscribe_link(user_profile, "digest")
|
||||
})
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user