-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
27 additions
and
7 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
10 changes: 4 additions & 6 deletions
10
notifications/telegram/templates/messages/weekly_digest_announce.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,7 +1,5 @@ | ||
{% load posts %}🤘 Клубный журнал. Итоги недели. Выпуск #{{ issue_number }} | ||
{% load posts %}🤘 <b><a href="{{ settings.APP_HOST }}{% url "show_post" post.type post.slug %}">Клубный журнал. Итоги недели. Выпуск #{{ issue_number }}{% if digest_title %}: {{ digest_title }}{% endif %}</a></b> | ||
|
||
{% if digest_title %}<b><a href="{{ settings.APP_HOST }}{% url "show_post" post.type post.slug %}">{{ digest_title }}</a></b>{% endif %} | ||
|
||
{% if digest_intro %}{% render_tg digest_intro 3500 %}{% endif %} | ||
|
||
👉 {{ settings.APP_HOST }}{% url "show_post" post.type post.slug %} | ||
{% if digest_intro %}{% render_tg digest_intro 3500 %} | ||
{% endif %} | ||
👉 <b>Читать полностью: {{ settings.APP_HOST }}{% url "show_post" post.type post.slug %}</b> |
17 changes: 17 additions & 0 deletions
17
posts/migrations/0028_postview_post_views_post_id_49dd7e_idx.py
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,17 @@ | ||
# Generated by Django 3.2.13 on 2025-01-17 10:59 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('posts', '0027_auto_20230731_1014'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name='postview', | ||
index=models.Index(fields=['post', 'ipaddress'], name='post_views_post_id_49dd7e_idx'), | ||
), | ||
] |
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