moved group nav to its own partial
This commit is contained in:
parent
3e5cecd532
commit
102b912878
2 changed files with 24 additions and 25 deletions
|
|
@ -10,8 +10,7 @@
|
|||
= stylesheet_link_tag "application", "ui", 'bubble'
|
||||
/= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
|
||||
= javascript_include_tag 'jquery142', 'rails', 'google'
|
||||
= javascript_include_tag 'tiny_mce/tiny_mce', 'jquery.infieldlabel'
|
||||
= javascript_include_tag 'jquery.cycle/jquery.cycle.min.js'
|
||||
= javascript_include_tag 'tiny_mce/tiny_mce', 'jquery.infieldlabel', 'jquery.cycle/jquery.cycle.min.js'
|
||||
= javascript_include_tag 'view', 'publisher', 'image_picker'
|
||||
= render 'js/websocket_js'
|
||||
|
||||
|
|
@ -40,30 +39,9 @@
|
|||
= link_to "logout", destroy_user_session_path
|
||||
- else
|
||||
= link_to "login", new_user_session_path
|
||||
|
||||
= render "shared/group_nav"
|
||||
|
||||
#group
|
||||
%ul
|
||||
%li.selected= link_to "OTHER PRESIDENTS", root_path
|
||||
%li= link_to "OSTATUS", ostatus_path
|
||||
/%li= link_to "NEW YORK", "#"
|
||||
/%li= link_to "NEW CIRCLE", "#"
|
||||
#friend_pictures
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
- for friend in @friends
|
||||
= person_image_link(friend)
|
||||
.add_new
|
||||
= link_to "+", requests_path
|
||||
|
||||
.container
|
||||
- if user_signed_in?
|
||||
|
|
|
|||
21
app/views/shared/_group_nav.haml
Normal file
21
app/views/shared/_group_nav.haml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#group
|
||||
%ul
|
||||
%li.selected= link_to "OTHER PRESIDENTS", root_path
|
||||
%li= link_to "OSTATUS", ostatus_path
|
||||
#friend_pictures
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
= link_to(person_image_tag(current_user), root_path)
|
||||
- for friend in @friends
|
||||
= person_image_link(friend)
|
||||
.add_new
|
||||
= link_to "+", requests_path
|
||||
Loading…
Reference in a new issue