-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add buttons to tg subscriptions + URL for rooms
- Loading branch information
Showing
4 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
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
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
4 changes: 2 additions & 2 deletions
4
notifications/telegram/templates/messages/post_collectible_tag.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
🏷 Кто-то написал новый пост по теме <b>{{ tag.name }}</b>. Вы добавили этот коллекционный тег к себе в профиль, так что мы уведомляем вас о нём. | ||
🏷 Новый пост с тегом <b>{{ tag.name }}</b>: | ||
|
||
{% if post.emoji %}{{ post.emoji }} {% endif %}<b>{% if post.prefix %}{{ post.prefix }} {% endif %}<a href="{{ settings.APP_HOST }}{% url "show_post" post.type post.slug %}">{{ post.title }}</a> {% if post.room %} [{{ post.room.title }}]{% endif %}</b> | ||
{% load posts %}{% render_tg post 350 %} | ||
|
||
<i>Если вы больше не хотите получать уведомления по данному тегу — удалите его из своего профиля.</i> | ||
<i>Если вы больше не хотите получать уведомления по данному тегу — просто удалите его из своего профиля.</i> |
2 changes: 1 addition & 1 deletion
2
notifications/telegram/templates/messages/post_room_subscriber.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
🏷 Новый пост в комнате <b>«<a href="{{ settings.APP_HOST }}{% url "feed_room" room.slug %}">{{ room.title }}</a>»</b>. Вы подписались на эту комнату, так что мы уведомляем вас о нём. | ||
🏷 Новый пост в комнате <b>«<a href="{{ settings.APP_HOST }}{% url "feed_room" room.slug %}">{{ room.title }}</a>»</b>: | ||
|
||
{% if post.emoji %}{{ post.emoji }} {% endif %}<b>{% if post.prefix %}{{ post.prefix }} {% endif %}<a href="{{ settings.APP_HOST }}{% url "show_post" post.type post.slug %}">{{ post.title }}</a></b> | ||
{% load posts %}{% render_tg post 350 %} |