{% extends "admin/core/base.html" %} {% load foundation %} {% block title %}Manage Notifications{% endblock %} {% block title-section %}Manage Notifications{% endblock %} {% block breadcrumbs %} {{ block.super }}
  • Manager
  • Notification Manager
  • {% endblock %} {% block body %}

    Current Notifications

    Add Notification
    {% csrf_token %}
      {% for noti in notifications %}
    • {{ noti.user }} - {{ noti.domain }} ({{ noti.get_type_display }})
    • {% endfor %}
    {% csrf_token %}

    {% if notification %}Edit{% else %}Add{% endif %} Notification

    {% include "elements/forms/errors.html" with form=form %} {% for field in form %} {% if field.auto_id == 'id_user' %} {% include "elements/forms/table_select_user.html" with field=field queryset=request.journal.journal_users %} {% else %} {% include "elements/forms/group_field.html" with field=field %} {% endif %} {% endfor %}
    {% endblock %} {% block js %} {% include "elements/datatables.html" with target=".usertable" %} {% endblock %}