From 18f8e35df34ba808ca65dd591234ed98401096f3 Mon Sep 17 00:00:00 2001 From: decabeza Date: Mon, 9 Apr 2018 19:25:24 +0200 Subject: [PATCH] Updates tabs component for proposals --- app/views/proposals/_filter_subnav.html.erb | 47 +++++++++++---------- app/views/proposals/_notifications.html.erb | 2 +- app/views/proposals/show.html.erb | 17 +++++--- 3 files changed, 37 insertions(+), 29 deletions(-) diff --git a/app/views/proposals/_filter_subnav.html.erb b/app/views/proposals/_filter_subnav.html.erb index 6347d56b0..b15c26efc 100644 --- a/app/views/proposals/_filter_subnav.html.erb +++ b/app/views/proposals/_filter_subnav.html.erb @@ -1,22 +1,25 @@ -
-
-
    -
  • - <%= link_to "#tab-comments" do %> -

    - <%= t("proposals.show.comments_tab") %> - (<%= @proposal.comments_count %>) -

    - <% end %> -
  • -
  • - <%= link_to "#tab-notifications" do %> -

    - <%= t("proposals.show.notifications_tab") %> - (<%= @notifications.count %>) -

    - <% end %> -
  • -
-
-
+ diff --git a/app/views/proposals/_notifications.html.erb b/app/views/proposals/_notifications.html.erb index 69389b2c5..6a693c601 100644 --- a/app/views/proposals/_notifications.html.erb +++ b/app/views/proposals/_notifications.html.erb @@ -1,4 +1,4 @@ -
+