{% extends "admin/core/base.html" %} {% load static %} {% load foundation %} {% load bool_fa %} {% get_current_language as LANGUAGE_CODE %} {% get_language_info for LANGUAGE_CODE as language_info %} {% block title %}News Manager{% endblock title %} {% block title-section %}News Manager{% endblock %} {% block breadcrumbs %} {{ block.super }}
- Manager
- News Manager
{% endblock %} {% block body %}

## Manage News for {{ request.site_type.name }}

Add News Item

{% blocktrans %} {% endblocktrans %}

{% csrf_token %}

ID | Title | Posted By | Byline | Posted | Start Display | End Display | Edit | Delete
--- | --- | --- | --- | --- | --- | --- | --- | ---
{% for item in news_items %}
{{ item.pk }} | {{ item.title }} | {{ item.posted_by.full_name }} | {{ item.custom_byline|default_if_none:"--" }} | {{ item.posted }} | {{ item.start_display|date:"Y-m-d" }} | {{ item.end_display|date:"Y-m-d" }} | Edit |
{% empty %} {% endfor %}

{% endblock body %} {% block js %}
{% include "elements/datatables.html" with target="#news-items" sort=4 order='desc' %} {% endblock js %}