{% extends "base.html" %} {% import "macros/ui.html" as m %} {% block title %}Notifications — Ontoref{% endblock title %} {% block nav_notifications %}active{% endblock nav_notifications %} {% block content %}
{{ total }} total
| # | Type | Project | Content | Source | Age |
|---|---|---|---|---|---|
| {{ n.id }} | {% if n.is_custom %} {{ n.custom_kind | default(value="custom") }} {% else %} {{ m::event_badge(event=n.event) }} {% endif %} | {{ n.project }} {% if n.source_project and n.source_project != n.project %} ← {{ n.source_project }} {% endif %} |
{% if n.is_custom %}
{{ n.custom_title | default(value="") }}
{% if n.custom_payload %}
{% set p = n.custom_payload %}
{% if p.actions %}
{% for act in p.actions %}
{% endfor %}
{% else %}
payload{{ p }}
{% for f in n.files %}
{% endif %}
{{ f }}
{% endfor %}
|
{{ n.source_actor | default(value="—") }} | {{ n.age_secs }}s ago |