fix(templates): remove dead detail-page links from list tables

The detail page routes and templates were removed but list templates
still linked to them. Replace the <a> tags with plain text to avoid
navigating to non-existent pages.
This commit is contained in:
Jon Seager 2026-02-04 20:53:19 +00:00
parent 2eca0ae3c6
commit 2c045f9335
No known key found for this signature in database
3 changed files with 5 additions and 17 deletions

View file

@ -38,12 +38,8 @@
<td data-label="Added" class="whitespace-nowrap px-4 py-3 text-xs font-medium text-stone-600"> <td data-label="Added" class="whitespace-nowrap px-4 py-3 text-xs font-medium text-stone-600">
{{ cafe.created_at }} {{ cafe.created_at }}
</td> </td>
<td data-label="Name" class="px-4 py-3"> <td data-label="Name" class="px-4 py-3 font-semibold text-amber-800">
<a {{ cafe.name }}
href="{{ cafe.detail_path }}"
class="font-semibold text-amber-800 hover:text-amber-600"
>{{ cafe.name }}</a
>
</td> </td>
<td data-label="Location" class="px-4 py-3 whitespace-nowrap"> <td data-label="Location" class="px-4 py-3 whitespace-nowrap">
{{ cafe.country }} {{ cafe.country }}

View file

@ -41,11 +41,7 @@
{{ roast.created_at }} {{ roast.created_at }}
</td> </td>
<td data-label="Roast" class="px-4 py-3"> <td data-label="Roast" class="px-4 py-3">
<a <span class="font-semibold text-amber-800">{{ roast.name }}</span>
href="{{ roast.detail_path }}"
class="font-semibold text-amber-800 hover:text-amber-600"
>{{ roast.name }}</a
>
<div class="hidden md:block text-xs text-stone-500">{{ roast.roaster_label }}</div> <div class="hidden md:block text-xs text-stone-500">{{ roast.roaster_label }}</div>
</td> </td>
<td data-label="Roaster" class="px-4 py-3 whitespace-nowrap md:hidden">{{ roast.roaster_label }}</td> <td data-label="Roaster" class="px-4 py-3 whitespace-nowrap md:hidden">{{ roast.roaster_label }}</td>

View file

@ -38,12 +38,8 @@
<td data-label="Added" class="whitespace-nowrap px-4 py-3 text-xs font-medium text-stone-600"> <td data-label="Added" class="whitespace-nowrap px-4 py-3 text-xs font-medium text-stone-600">
{{ roaster.created_at }} {{ roaster.created_at }}
</td> </td>
<td data-label="Name" class="px-4 py-3"> <td data-label="Name" class="px-4 py-3 font-semibold text-amber-800">
<a {{ roaster.name }}
href="{{ roaster.detail_path }}"
class="font-semibold text-amber-800 hover:text-amber-600"
>{{ roaster.name }}</a
>
</td> </td>
<td data-label="Location" class="px-4 py-3 whitespace-nowrap"> <td data-label="Location" class="px-4 py-3 whitespace-nowrap">
{{ roaster.country }} {{ roaster.country }}