-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3737 from vkWeb/email/published_channel
Add channel link to the channel published email
- Loading branch information
Showing
3 changed files
with
39 additions
and
27 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
contentcuration/contentcuration/templates/registration/channel_published_email.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
{% load i18n %} | ||
<html> | ||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
</head> | ||
<body> | ||
{% autoescape off %} | ||
<p>{% blocktrans with name=user.first_name %}Hello {{ name }},{% endblocktrans %}</p> | ||
|
||
<p><a href="{{ domain }}{% url 'channel' channel_id=channel.pk %}" target="_blank">{% blocktrans with channel_name=channel.name %}{{ channel_name }}{% endblocktrans %}</a> ({{ domain }}{% url 'channel' channel_id=channel.pk %}) {% translate "has finished publishing! Here is the channel token (for importing it into Kolibri):" %}</p> | ||
|
||
<p> | ||
{% blocktrans with channel_token=token %}Token: {{ channel_token }}{% endblocktrans %} | ||
<br> | ||
{% blocktrans with channel_id=channel.pk %}ID (for Kolibri version 0.6.0 and below): {{ channel_id }}{% endblocktrans %} | ||
</p> | ||
|
||
<p>{% blocktrans with notes=notes %}Version notes: {{ notes }}{% endblocktrans %}</p> | ||
|
||
<p> | ||
{% translate "Thanks for using Kolibri Studio!" %} | ||
<br> | ||
{% translate "The Learning Equality Team" %} | ||
</p> | ||
|
||
<p>{% translate "You are receiving this email because you are subscribed to this channel." %}</p> | ||
{% endautoescape %} | ||
</body> | ||
</html> |
23 changes: 0 additions & 23 deletions
23
contentcuration/contentcuration/templates/registration/channel_published_email.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters