diff --git a/app/views/entries/index.html.erb b/app/views/entries/index.html.erb index 0ea95b3..d1a7c2e 100644 --- a/app/views/entries/index.html.erb +++ b/app/views/entries/index.html.erb @@ -42,7 +42,7 @@ <% if remaining.present? || soll.present? || weekly.present? %> <%= typ.capitalize %> - <%= art %> + <%= art.capitalize %> <%= remaining ? "#{remaining / 60} h #{remaining % 60} min" : "—" %> <%= soll || "—" %> h <%= weekly || "—" %> h/Woche @@ -59,19 +59,23 @@ +
+ +
+

📋 Einträge

- +
- - - - - - + + + + + + @@ -80,8 +84,8 @@ - - + +
DatumZeitTypArtKilometerPauschaleDatumZeitTypArtKilometerPauschale Aktionen
<%= entry.date.strftime('%d.%m.%Y') %> <%= entry.hours.to_i %>h <%= entry.minutes.to_i %>min<%= entry.praktikums_typ %><%= entry.entry_art %><%= entry.praktikums_typ.capitalize %><%= entry.entry_art.capitalize %> <%= entry.distance_km.to_f %> km <%= number_to_currency(entry.kilometer_pauschale, unit: "€", separator: ",", delimiter: ".") %> @@ -134,3 +138,60 @@ }); }); + + +