Small layout fixes Dasboard#index
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user