Newer
Older
!!!
%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'
/= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
ilya
a validé
= javascript_include_tag 'jquery142', 'rails', 'google'
= javascript_include_tag 'tiny_mce/tiny_mce', 'jquery.infieldlabel', 'jquery.cycle/jquery.cycle.min.js'
danielvincent
a validé
= javascript_include_tag 'view', 'publisher', 'image_picker', 'group_nav'
= csrf_meta_tag
= yield(:head)
/= javascript_include_tag 'satisfaction' , 'satisfaction-display'
= javascript_include_tag 'jquery.html5_upload'
- 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 current_user.real_name, current_user.person
= 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
- if user_signed_in?
#user_name
= link_to(person_image_tag(current_user), root_path)
%h1
= link_to current_user.real_name, root_path
%span#latest_message
= my_latest_message
%span{:style => "font-size: small", :id => 'latest_message_time'}
- unless @latest_status_message.nil?
= "- #{how_long_ago @latest_status_message}"
%ul.nav
%li= link_to "home", root_path
%li= link_to "photos", albums_path
%li= "|"
%li= link_to "edit profile", edit_user_path(current_user)
.span-24.last
= yield
.span-24.last
= render "posts/debug"