Gui kosmetik
Some checks failed
/ Run tests (push) Failing after 1m10s
/ Run system tests (push) Failing after 1m15s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-11-01 04:47:56 +01:00
parent fd2a166025
commit 823284d6ba
5 changed files with 29 additions and 19 deletions

View file

@ -1,10 +0,0 @@
<h1>a11ydive</h1>
<h2>Dashboard</h1>
<p>
<i class="bi bi-journal-text"></i>
<%= Report.count %>
<%= link_to Report.model_name.human(count: Report.count), :reports %>
</p>

View file

@ -0,0 +1,13 @@
h1 a11ydive
h2 Dashboard
- if Report.any?
h3 Zuletzt bearbeitete Prüfberichte
ul
- Report.all.order(updated_at: :desc).limit(3).each do |r|
li = link_to(r.name, r)
p
i.bi.bi-journal-text
=< Report.count
=< link_to Report.model_name.human(count: Report.count), :reports