mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
{% extends 'base.html' %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
{% block title %}
|
|
{% trans 'News Moderation Queue' %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="py-0 px-3 mb-3 md:py-6 md:px-0">
|
|
<div class="md:w-full">
|
|
<h1 class="text-3xl">{% translate 'Latest news pending moderation' %}</h1>
|
|
|
|
<div class="divide-y divide-gray-300">
|
|
{% for entry in entry_list %}
|
|
<div class="flex py-4">
|
|
<div class="py-5 w-1/6">
|
|
<h5>{{ entry.publish_at|date:'M jS, Y' }}</h5>
|
|
</div>
|
|
<div class="w-5/6 text-xl">
|
|
<p>
|
|
<a class="text-orange hover:text-info-600 focus:text-info-600 active:text-info-700" href="{{ entry.get_absolute_url }}?next={{ request.path|urlencode }}">{{ entry.tag|capfirst }}: {{ entry.title }}</a>
|
|
{% blocktrans with author_email=entry.author.email %}by {{ author_email }}
|
|
{% endblocktrans %}
|
|
</p>
|
|
<div class="space-x-8 uppercase"></div>
|
|
</div>
|
|
</div>
|
|
{% empty %}
|
|
<p>
|
|
{% translate 'No news pending moderation.' %}
|
|
</p>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|