{% extends "layout.html" %} {% block title %}Global Slug Namespace - BZOD{% endblock %} {% block active_slugs %}active{% endblock %} {% block header_title %}Global Slug Directory{% endblock %} {% block content %} {% if let Some(msg) = success %}
{{ msg }}
{% endif %} {% if let Some(err) = error %}
{{ err }}
{% endif %}
{% if slugs.is_empty() %} {% else %} {% for item in slugs %} {% endfor %} {% endif %}
Slug Owner (ID) Resource Type Resource ID Status Created Actions
No registered slugs found matching filters.
/{{ item.slug }} User ID: {{ item.owner_user_id }} {{ item.target_type }} {{ item.target_id }} {{ item.status }} {{ item.created_at[0..10] }}
{% if item.status == "active" %}
{% else %}
{% endif %}

Slug Ownership History

{% if history.is_empty() %} {% else %} {% for log in history %} {% endfor %} {% endif %}
Timestamp Slug Old Owner New Owner Action Admin
No history records logged.
{{ log.timestamp[0..19].replace("T", " ") }} /{{ log.slug }} {% if let Some(old_id) = log.old_owner_user_id %}User ID: {{ old_id }}{% else %}-{% endif %} {% if let Some(new_id) = log.new_owner_user_id %}User ID: {{ new_id }}{% else %}-{% endif %} {{ log.action }} {% if let Some(admin) = log.admin_username %} {{ admin }} {% else %} System {% endif %}
{% endblock %}