Refactors li element
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<% if notification.notifiable.present? %>
|
<li id="<%= dom_id(notification) %>" class="notification">
|
||||||
<li id="<%= dom_id(notification) %>" class="notification">
|
<% if notification.notifiable.present? %>
|
||||||
<%= link_to notification do %>
|
<%= link_to notification do %>
|
||||||
<p>
|
<p>
|
||||||
<em>
|
<em>
|
||||||
@@ -11,13 +11,11 @@
|
|||||||
|
|
||||||
<p class="time"><%= l notification.timestamp, format: :datetime %></p>
|
<p class="time"><%= l notification.timestamp, format: :datetime %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
<% else %>
|
||||||
<% else %>
|
|
||||||
<li id="<%= dom_id(notification) %>" class="notification">
|
|
||||||
<p>
|
<p>
|
||||||
<strong>
|
<strong>
|
||||||
<%= t("notifications.index.notifiable_hidden") %>
|
<%= t("notifications.index.notifiable_hidden") %>
|
||||||
</strong>
|
</strong>
|
||||||
</p>
|
</p>
|
||||||
</li>
|
<% end %>
|
||||||
<% end %>
|
</li>
|
||||||
Reference in New Issue
Block a user