{% extends "mobile/base.html" %} {% load i18n lucide %} {% comment %} M4 -- design_handoff_rosterchief_platform/README.md's M4 section, "News article". See NewsDetailView's own docstring (mobile/views.py) for the judgment calls: visibility mirrors news.tasks.notify_news_published's gate, language is Django's active-language detection (not a member-facing toggle), and the body is plain user content -- rendered as-is, not wrapped in {% trans %}. {% endcomment %} {% block content %}
{% lucide "chevron-left" size=20 stroke_width=2.4 class="text-white" %} {% with team=news_item.teams.first %} {% if team %}{{ team.short_name }}{% else %}{% trans "Club news" %}{% endif %} {% endwith %} · {{ news_item.published_at|date:"d M Y" }}

{{ article_title }}

{{ article_body }}
{% with teams=news_item.teams.all %} {% if teams %}
{% for team in teams %} {{ team.short_name }} {% endfor %}
{% else %}
{% trans "Club news" %}
{% endif %} {% endwith %}
{% if news_item.created_by %} {% include "mobile/_avatar.html" with person=news_item.created_by size_class="h-9 w-9" bg_class="bg-navy" %} {% blocktrans with name=news_item.created_by.get_full_name %}Posted by {{ name }}{% endblocktrans %} {% else %} {% endif %}
{% endblock content %}