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="font-semibold text-gray-800 truncate"><%= item.name %></p>
|
||||||
<p class="text-xs text-gray-500">
|
<p class="text-xs text-gray-500">
|
||||||
<% if item.user.present? %>
|
<% if item.user.present? %>
|
||||||
Zugewiesen an: 👤 <%= item.user.name %>
|
👤 <%= item.user.name %>
|
||||||
<% elsif item.room.present? %>
|
<% elsif item.room.present? %>
|
||||||
Standort: 📍 <%= item.room.name_with_building %>
|
📍 <%= item.room.name_with_building %>
|
||||||
<% else %>
|
<% else %>
|
||||||
📦 Im Hauptlager
|
📦 Im Hauptlager
|
||||||
<% end %>
|
<% end %>
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-xs text-gray-400 text-right shrink-0">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
@@ -103,14 +103,14 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="min-w-0">
|
<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" %>
|
<%= link_to log.item.name, item_path(log.item), class: "hover:text-blue-600 transition" %>
|
||||||
</p>
|
</p>
|
||||||
<p class="text-xs text-gray-500 truncate">
|
<p class="text-xs text-gray-500">
|
||||||
<% if log.user.present? %>
|
<% if log.user.present? %>
|
||||||
Ausgegeben an: 👤 <%= log.user.name %>
|
👤 <%= log.user.name %>
|
||||||
<% elsif log.room.present? %>
|
<% elsif log.room.present? %>
|
||||||
Standort: 📍 <%= log.room.name_with_building %>
|
📍 <%= log.room.name_with_building %>
|
||||||
<% else %>
|
<% else %>
|
||||||
📦 Ins Hauptlager gelegt
|
📦 Ins Hauptlager gelegt
|
||||||
<% end %>
|
<% end %>
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-xs text-gray-400 text-right shrink-0">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user