Small layout fixes Dasboard#index
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2026-05-26 03:27:29 +02:00
parent a0409e1cf8
commit 623b7f0256

View File

@@ -62,9 +62,9 @@
<p class="font-semibold text-gray-800 truncate"><%= item.name %></p>
<p class="text-xs text-gray-500">
<% 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 @@
</div>
</div>
<div class="text-xs text-gray-400 text-right shrink-0">
<%= time_ago_in_words(item.created_at) %> vor
<%= time_ago_in_words(item.created_at) %>
</div>
</div>
<% end %>
@@ -103,14 +103,14 @@
</span>
<div class="min-w-0">
<p class="font-semibold text-gray-800 truncate">
<p class="font-semibold text-gray-800">
<%= link_to log.item.name, item_path(log.item), class: "hover:text-blue-600 transition" %>
</p>
<p class="text-xs text-gray-500 truncate">
<p class="text-xs text-gray-500">
<% 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 @@
</div>
<div class="text-xs text-gray-400 text-right shrink-0">
<%= time_ago_in_words(log.created_at) %> vor
<%= time_ago_in_words(log.created_at) %>
</div>
</div>
<% end %>