added navbar entry for public timeline

This commit is contained in:
nilsding 2014-12-11 06:51:26 +01:00
parent f679bdd659
commit 27867a9284
2 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,8 @@
= nav_entry "Timeline", root_path
%ul.nav.navbar-nav
= nav_entry "Inbox", "/inbox", badge: inbox_count
%ul.nav.navbar-nav
= nav_entry "Public", public_timeline_path
%ul.nav.navbar-nav.navbar-right
%button.btn.btn-primary.navbar-btn.btn-sm{"data-target" => "#modal-ask-followers", "data-toggle" => "modal", :type => "button"}
%i.fa.fa-pencil-square-o
@ -35,4 +37,4 @@
= nav_entry "Sign up", new_user_registration_path
- if user_signed_in?
= render 'shared/modal_ask_followers'
= render 'shared/modal_ask_followers'

View File

@ -3,7 +3,7 @@
.panel.panel-default
.panel-body
%p
Public timeline
You are viewing the public timeline.
= render 'shared/links'
.col-md-9.col-xs-12.col-sm-9
= render 'layouts/messages'