update ask button in navbar

This commit is contained in:
Andreas N 2015-02-09 16:43:05 +01:00
parent 3c6221eb1e
commit 192c0a0931
1 changed files with 4 additions and 2 deletions

View File

@ -25,10 +25,12 @@
= render "layouts/notifications" = render "layouts/notifications"
%ul.nav.navbar-nav.navbar-right %ul.nav.navbar-nav.navbar-right
%li %li
.btn.btn-primary.navbar-btn.btn-sm.hidden-xs{name: "toggle-all-ask", "data-target" => "#modal-ask-followers", "data-toggle" => "modal", :type => "button"} %span{"data-toggle" => "tooltip", "data-placement" => "bottom", title: "Ask a question"}
%i.fa.fa-pencil-square-o .btn.btn-link.navbar-btn.btn-sm.hidden-xs{name: "toggle-all-ask", "data-target" => "#modal-ask-followers", "data-toggle" => "modal", :type => "button"}
%i.fa.fa-pencil-square-o
%li.dropdown %li.dropdown
%a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"} %a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"}
%img.img-rounded.answerbox--img-small.hidden-xs{src: current_user.profile_picture.url(:small)}
= current_user.screen_name = current_user.screen_name
%b.caret %b.caret
%ul.dropdown-menu %ul.dropdown-menu