Newer
Older
-# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
!!!
%html{:lang => I18n.locale.to_s}
%head
%title
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
= include_javascripts :mobile
-if current_user
:javascript
Diaspora.widgets.i18n.loadLocale(#{get_javascript_strings_for(current_user.language).to_json}, "#{current_user.language}");
= stylesheet_link_tag 'vendor/jquery.mobile-1.0a4.min', 'mobile'
-if AppConfig[:google_a_site]
:javascript
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '#{AppConfig[:google_a_site]}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
-if AppConfig[:piwik_id]
:javascript
var pkBaseURL = (("https:" == document.location.protocol) ? "https://#{AppConfig[:piwik_url]}/" : "http://#{AppConfig[:piwik_url]}/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", #{AppConfig[:piwik_id]});
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
#content{:data => {:role => 'page', :theme => 'c'}}
= link_to(image_tag('icons/list_white.png'), '#menu', :id => "menu_button")
.right
= link_to(image_tag('icons/search_white.png'), people_path)
danielvincent
a validé
= link_to(image_tag('white.png'), aspects_path)
danielvincent
a validé
.right
= link_to(image_tag('icons/search_white.png'), people_path)
= link_to(image_tag('white.png'), aspects_path)
#content{:data => {:role => 'content'}}
%ul{:data => {:role => 'listview', :inset => 'true'}}
%li
= link_to t('notifications.index.notifications'), notifications_path
%ul{:data => {:role => 'listview', :inset => 'true'}}
- for aspect in @all_aspects
%li
= link_to aspect, aspects_path('a_ids[]' => aspect.id)