{% extends "layout.html" %} {% block title %}Global URL Registry - BZOD Admin{% endblock %} {% block active_urls %}active{% endblock %} {% block header_title %}Global URL Registry{% endblock %} {% block content %} {% if let Some(err) = error %}
| Short Link | Destination | Owner / Tenant | Status / Health | QR Code | Actions |
|---|---|---|---|---|---|
| No shortened URLs registered across tenants. | |||||
|
{{ base_url.replace("https://", "").replace("http://", "") }}/{{ row.url.code }}
{% if row.url.is_password_protected() %}
{% endif %}
{% if let Some(title) = row.url.title.as_deref() %}
{% if !title.is_empty() %}
{{ title }}
{% endif %}
{% endif %}
Created {{ row.url.created_at[0..10] }}
|
{{ row.url.destination }}
{% if let Some(desc) = row.url.description.as_deref() %}
{% if !desc.is_empty() %}
{{ desc }}
{% endif %}
{% endif %}
{% if let Some(expires_at) = row.url.expires_at.as_deref() %}
{% if !expires_at.is_empty() %}
Expires: {{ expires_at[0..10] }}
{% if row.url.expired %}
Expired
{% endif %}
{% endif %}
{% endif %}
{% if let Some(max) = row.url.max_access_count %}
Clicks: {{ row.url.access_count }} / {{ max }}
{% if row.url.is_access_exhausted() %}
Limit Reached
{% endif %}
{% else %}
{% if row.url.access_count > 0 %}
Clicks: {{ row.url.access_count }}
{% endif %}
{% endif %}
|
{% if let Some(u) = row.owner_username.as_deref() %}
{{ u }}
{% else %}
Unassigned
{% endif %}
{{ row.owner_tenant_id }}
|
{{ row.url.status }} | {% let code = row.url.code.as_str() %} {% include "components/qr_preview.html" %}||