diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb index d8054d8..89bbe90 100644 --- a/app/views/dashboard/index.html.erb +++ b/app/views/dashboard/index.html.erb @@ -62,9 +62,9 @@

<%= item.name %>

<% if item.user.present? %> - Zugewiesen an: 👤 <%= item.user.name %> + 👤 <%= item.user.name %> <% elsif item.room.present? %> - Standort: 📍 <%= item.room.name_with_building %> + 📍 <%= item.room.name_with_building %> <% else %> 📦 Im Hauptlager <% end %> @@ -72,7 +72,7 @@

- <%= time_ago_in_words(item.created_at) %> vor + <%= time_ago_in_words(item.created_at) %>
<% end %> @@ -103,14 +103,14 @@
-

+

<%= link_to log.item.name, item_path(log.item), class: "hover:text-blue-600 transition" %>

-

+

<% if log.user.present? %> - Ausgegeben an: 👤 <%= log.user.name %> + 👤 <%= log.user.name %> <% elsif log.room.present? %> - Standort: 📍 <%= log.room.name_with_building %> + 📍 <%= log.room.name_with_building %> <% else %> 📦 Ins Hauptlager gelegt <% end %> @@ -119,7 +119,7 @@

- <%= time_ago_in_words(log.created_at) %> vor + <%= time_ago_in_words(log.created_at) %>
<% end %>