From bde9f395735c01c7580028901998fdf4433088e8 Mon Sep 17 00:00:00 2001 From: nilsding Date: Fri, 30 Jan 2015 22:52:05 +0100 Subject: [PATCH] fixed mobile navbar thing [ci skip] --- .../static/{_mobile-nav.html.haml => _mobile_nav.html.haml} | 6 +++--- app/views/static/index.html.haml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) rename app/views/static/{_mobile-nav.html.haml => _mobile_nav.html.haml} (88%) diff --git a/app/views/static/_mobile-nav.html.haml b/app/views/static/_mobile_nav.html.haml similarity index 88% rename from app/views/static/_mobile-nav.html.haml rename to app/views/static/_mobile_nav.html.haml index 643b9379..1bffbf09 100644 --- a/app/views/static/_mobile-nav.html.haml +++ b/app/views/static/_mobile_nav.html.haml @@ -3,9 +3,9 @@ .navbar-header %button.navbar-toggle{"data-target" => "#j2-tl-navbar-collapse", "data-toggle" => "collapse", type: "button"} %span.sr-only Toggle navigation - %span.icon-bar - %span.icon-bar - %span.icon-bar + %span.icon-bar + %span.icon-bar + %span.icon-bar %a.navbar-brand{href: "/"} Timelines #j2-tl-navbar-collapse.collapse.navbar-collapse %ul.nav.navbar-nav diff --git a/app/views/static/index.html.haml b/app/views/static/index.html.haml index 1102acdd..cf67d51e 100644 --- a/app/views/static/index.html.haml +++ b/app/views/static/index.html.haml @@ -1,5 +1,5 @@ - if user_signed_in? - = render 'static/mobile-nav' + = render 'static/mobile_nav' .container.j2-page .col-md-3.col-sm-3 = render 'shared/sidebar' @@ -17,4 +17,4 @@ Load more .visible-xs= render 'shared/links' - else - = render 'static/front' \ No newline at end of file + = render 'static/front'