{% extends "emails/layout.html" %} {% load static %} {% load text_filters %} {% load comments %} {% load users %} {% load emails %} {% block og_meta %} {% endblock %} {% block css %} {% endblock %} {% block logo %}
{% endblock %} {% block title %} Журнал Вастрик.Клуба
{% if not digest_title %} Итоги недели. Выпуск #{{ issue_number }} {% else %} {{ digest_title }}. Выпуск #{{ issue_number }} {% endif %} {% endblock %} {% block body %} {% if digest_intro %}
{{ digest_intro | email_markdown }}
{% endif %} {% if intros %}

🤘 Новенькие

На этой неделе у нас +{{ newbie_count }} {{ newbie_count|rupluralize:"новый член,новых члена,новых членов" }} Клуба. Вот самые интересные из них, набравшие больше всего плюсиков за своё #intro. Не стесняйтесь писать им комменты и расспрашивать за жизнь. Для того мы здесь и собрались!
{% for intro in intros|slice:":3" %}
 

{{ intro.author.full_name }}   {% user_tag_images intro.author %}
{{ intro.author.position }}{% if intro.author.company %} — {{ intro.author.company }}{% endif %}

{{ intro.text | markdown | truncatechars:400 }}

Читать всё #intro →
{% endfor %} {% endif %} {% if pro_tip %}


💡 Про-тип:
{{ pro_tip.title }}

{{ pro_tip.text | markdown }}

{% endif %} {% if featured_post %}


🚀 Тема недели

{{ featured_post.prefix }} {{ featured_post.title }}

{{ featured_post.text | markdown | striptags | truncatechars:400 }}

 {{ featured_post.author.full_name }} | {{ featured_post.view_count }} {{ featured_post.view_count | rupluralize:"просмотр,просмотра,просмотров" }} | {{ featured_post.comment_count }} {{ featured_post.comment_count | rupluralize:"комментарий,комментария,комментариев" }}
{% endif %} {% if posts %}


😎 Лучшие посты

Всего за неделю написали {{ post_count }} {{ post_count | rupluralize:"пост,поста,постов" }}. Вот самые популярные из них.

{% for post in posts %}
👍{{ post.upvotes }}

{% if post.type != "post" %} {{ post.emoji }} {% endif %} {{ post.prefix }} {{ post.title }} {% if post.label %}  {% include "posts/widgets/label.html" with label=post.label %} {% endif %}

{{ post.text | markdown | striptags | truncatechars:400 }}

 {{ post.author.full_name }} | {{ post.view_count }} {{ post.view_count | rupluralize:"просмотр,просмотра,просмотров" }} | {{ post.comment_count }} {{ post.comment_count | rupluralize:"комментарий,комментария,комментариев" }}
{% endfor %} {% endif %} {% if comments %}


💭 Топ комментариев

{% for comment in comments %}
👍{{ comment.upvotes }}
 {{ comment.author.full_name }} на {{ comment.post.prefix|default:"пост"|lower }} {{ comment.post.title }}
{% render_email comment %}
{% endfor %} {% endif %} {% if badges %}


🥇 Награды

Члены Клуба дарят их друг другу чтобы отметить посты и комментарии, которые им особенно понравились. Топ можно смотреть на странице статистики.

{% for badge in badges %} {% if badge.comment %} {{ badge.badge.title }} 🎖 {{ badge.to_user.full_name }} за комментарий {% else %} {{ badge.badge.title }} 🎖 {{ badge.to_user.full_name }} за пост «{{ badge.post.title }}» {% endif %} {% endfor %}
{% endif %} {% if achievements %}


🏆 Новые ачивки

{% regroup achievements by achievement as achievement_groups %} {% for achievement_group in achievement_groups %}

{% for achievement in achievement_group.list %} {{ achievement.user.full_name }}{% if forloop.revcounter0 == 1 %} и {% else %}{% if not forloop.last %}, {% endif %}{% endif %}{% endfor %} {% if achievement_group.list|length == 1 %}получил{% else %}получили{% endif %} ачивку  {{ achievement_group.grouper.name }}

{% endfor %}
{% endif %} {% if top_old_post %}


⏱️ Год назад

Лучший пост, написанный год назад в то же время.

👍{{ top_old_post.upvotes }}

{% if top_old_post.type != "post" %} {{ top_old_post.emoji }} {% endif %} {{ top_old_post.prefix }} {{ top_old_post.title }} {% if top_old_post.label %}  {% include "posts/widgets/label.html" with label=top_old_post.label %} {% endif %}

{{ top_old_post.text | markdown | striptags | truncatechars:400 }}

 {{ top_old_post.author.full_name }} | {{ top_old_post.view_count }} {{ top_old_post.view_count | rupluralize:"просмотр,просмотра,просмотров" }} | {{ top_old_post.comment_count }} {{ top_old_post.comment_count | rupluralize:"комментарий,комментария,комментариев" }}
{% endif %} {% if top_video_comment or top_video_post %}


🎥 Видосик недели

{% if top_video_comment %}
 {{ top_video_comment.author.full_name }} на {{ top_video_comment.post.prefix|default:"пост"|lower }} {{ top_video_comment.post.title }}
{% render_email top_video_comment %}
{% elif top_video_post %}

{{ top_video_post.title }} {% if top_video_post.label %}  {% include "posts/widgets/label.html" with label=top_video_post.label %} {% endif %}

{% endif %} {% endif %}

На этом всё 👋

Услышимся в журнале через неделю. Приносите годные ссылочки, пишите посты и палите инсайды. Только вместе мы делаем Клуб таким полезным и охуенным!



{% endblock %} {% block footer %}

Напоминаем, что вы всегда можете перейти на ежедневный дайджест чтобы получать контент чаще или вообще отписаться от них и жить в темноте и грусти.

{% endblock %} {% block unsubscribe %} {% endblock %}