Add detail page
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
{% for sub in submissions %}
|
||||
<tr class="hover:bg-slate-50">
|
||||
<td class="px-4 py-3">
|
||||
<span class="mono text-amber-700 font-medium">{{ sub.slug }}</span>
|
||||
<a href="{% url 'dashboard:detail' sub.slug %}" class="mono text-amber-700 hover:underline font-medium">{{ sub.slug }}</a>
|
||||
{% if user.is_authenticated and sub.submitted_by_id == user.id %}
|
||||
<span class="ml-2 inline-flex items-center px-1.5 py-0.5 rounded bg-amber-100 text-amber-900 text-[10px] font-semibold uppercase tracking-wide" title="You submitted this print">yours</span>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user