Task status badge and index

This commit is contained in:
2025-10-30 02:23:05 +02:00
parent ba2aad93af
commit 8bb22f8e04
6 changed files with 51 additions and 3 deletions
+1 -1
View File
@@ -17,8 +17,8 @@
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/icon.png">
<%# Includes all stylesheet files in app/assets/stylesheets %>
<%= stylesheet_link_tag 'pico.jade.min.css', "data-turbo-track": "reload" %>
<%# Includes all stylesheet files in app/assets/stylesheets %>
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
<%= javascript_importmap_tags %>
</head>
+1
View File
@@ -11,6 +11,7 @@ h1= tasks_index_title
- cache task do
tr
td= link_to task.full_number, task_path(task)
td= task_status_badge task.status
td= task.title
td
= link_to 'Edit', edit_task_path(task)