From 623b7f0256b42044b89f691e0dfb1426b16600da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Tue, 26 May 2026 03:27:29 +0200 Subject: [PATCH] Small layout fixes Dasboard#index --- app/views/dashboard/index.html.erb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 %>