!!! %html %head %title = "#{current_user.real_name} | diaspora" if current_user %meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/ = stylesheet_link_tag "blueprint/screen", :media => 'screen' = stylesheet_link_tag "application" /= 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 'view', 'publisher', 'image_picker' = render 'js/websocket_js' = csrf_meta_tag = yield(:head) = javascript_include_tag 'satisfaction' , 'satisfaction-display' %body %header .container - flash.each do |name, msg| = content_tag :div, msg, :id => "flash_#{name}" #diaspora_text{:href => root_path} = link_to "DIASPORA*", root_path %span.sub_text PREVIEW #session_action - if user_signed_in? = link_to_person current_user | = link_to "requests (#{@request_count})", requests_path, :class => new_request(@request_count) | = link_to "logout", destroy_user_session_path - else = link_to "login", new_user_session_path .container = link_to "home", root_path | = link_to "photos", albums_path | = link_to "ostatus", ostatus_path %br %br .container .span-24.last .span-18.append-3.last = yield .span-3.last = link_to(person_image_tag(current_user), root_path) = link_to "Edit your profile", edit_user_path(current_user) %br %br = render 'people/sidebar' if user_signed_in? .span-24.last = render "posts/debug"