From 7465a8ef8e9bef6d1e22f085bf6dbf4b752cbb30 Mon Sep 17 00:00:00 2001 From: rgarcia Date: Tue, 12 Dec 2017 13:36:38 +0100 Subject: [PATCH] Refactors li element --- app/views/notifications/_notification.html.erb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/views/notifications/_notification.html.erb b/app/views/notifications/_notification.html.erb index 449edabae..29bf00823 100644 --- a/app/views/notifications/_notification.html.erb +++ b/app/views/notifications/_notification.html.erb @@ -1,5 +1,5 @@ -<% if notification.notifiable.present? %> -
  • +
  • + <% if notification.notifiable.present? %> <%= link_to notification do %>

    @@ -11,13 +11,11 @@

    <%= l notification.timestamp, format: :datetime %>

    <% end %> -
  • -<% else %> -
  • + <% else %>

    <%= t("notifications.index.notifiable_hidden") %>

    -
  • -<% end %> \ No newline at end of file + <% end %> + \ No newline at end of file