Gui kosmetik
This commit is contained in:
parent
fd2a166025
commit
823284d6ba
5 changed files with 29 additions and 19 deletions
|
|
@ -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>
|
||||
|
||||
13
app/views/home/show.html.slim
Normal file
13
app/views/home/show.html.slim
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue