Newer
Older
!!!
%html
%head
%title
= current_user.real_name if current_user
= " | diaspora"
%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', 'view', 'publisher', 'google'
= javascript_include_tag 'tiny_mce/tiny_mce', 'jquery.infieldlabel'
= csrf_meta_tag
= yield(:head)
= javascript_include_tag 'satisfaction' , 'satisfaction-display'
- 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
= link_to "requests (#{@request_count})", requests_path
|
= link_to "logout", destroy_user_session_path
- else
= link_to "login", new_user_session_path
.span-3.append-1.last
= link_to owner_picture, root_path
- if user_signed_in?
%h1#user_name
= link_to current_user.real_name, root_url
%span.description
= my_latest_message