2013-11-24 16:11:44 +01:00
|
|
|
!!! 5
|
|
|
|
/[if IE]
|
2016-04-17 15:34:04 +02:00
|
|
|
%html.no-js{ lang: I18n.locale, class: params[:iframe] ? 'iframe' : '' }
|
2013-11-24 16:11:44 +01:00
|
|
|
%head
|
2014-09-28 00:16:25 +02:00
|
|
|
%meta(charset='utf-8')
|
2014-06-29 11:36:17 +02:00
|
|
|
%meta(name='viewport' content='width=device-width, initial-scale=1.0')
|
2013-11-24 16:11:44 +01:00
|
|
|
%meta(name='robots' content='index, follow')
|
|
|
|
|
2014-10-09 12:23:32 +02:00
|
|
|
= display_meta_tags site: t('.title')
|
|
|
|
|
2014-06-27 10:02:31 +02:00
|
|
|
= favicon_link_tag '/favicon.ico'
|
2014-12-14 20:03:31 +01:00
|
|
|
= auto_discovery_link_tag :rss, controller: '/events', format: :rss
|
2013-11-24 16:11:44 +01:00
|
|
|
|
2014-12-14 11:36:56 +01:00
|
|
|
= stylesheet_link_tag 'application', media: 'all',
|
|
|
|
'data-turbolinks-track' => true
|
|
|
|
= javascript_include_tag 'application', 'data-turbolinks-track' => true,
|
2018-07-15 12:28:49 +02:00
|
|
|
type: 'text/javascript'
|
2013-11-24 16:11:44 +01:00
|
|
|
= csrf_meta_tags
|
|
|
|
|
2018-07-14 21:56:39 +02:00
|
|
|
- sub = request.domain ? request.domain.split('.')[0] : ''
|
|
|
|
%body{ class: [sub, controller_name, action_name] }
|
2013-11-24 16:11:44 +01:00
|
|
|
%header.top
|
2018-07-14 22:18:19 +02:00
|
|
|
= render '/regions/filter'
|
2018-04-08 23:04:52 +02:00
|
|
|
= image_tag 'baby_gnu_adl.png', alt: '', class: :logo
|
2018-04-08 00:17:18 +02:00
|
|
|
= render '/orgas/search'
|
2013-12-28 23:45:13 +01:00
|
|
|
|
2014-10-31 14:33:39 +01:00
|
|
|
%h1= link_to t('.title'), root_path
|
2017-07-14 17:50:13 +02:00
|
|
|
%h2= t '.subtitle'
|
2014-07-02 00:37:53 +02:00
|
|
|
|
2014-06-29 10:29:43 +02:00
|
|
|
= render 'layouts/flash', flash: flash if flash.present?
|
|
|
|
|
2014-07-02 00:37:53 +02:00
|
|
|
%main= yield
|
2013-11-24 16:11:44 +01:00
|
|
|
|
|
|
|
%footer.bottom
|
|
|
|
%nav
|
2017-07-14 17:50:13 +02:00
|
|
|
= link_to new_event_path do
|
2018-02-11 13:13:41 +01:00
|
|
|
%em.fa.fa-pencil-alt
|
2014-12-14 11:36:56 +01:00
|
|
|
= t '.propose'
|
2017-07-14 17:50:13 +02:00
|
|
|
= link_to new_orga_path do
|
2015-12-27 15:41:47 +01:00
|
|
|
%em.fa.fa-users
|
|
|
|
= t '.propose_orga'
|
|
|
|
%br/
|
2017-10-14 22:15:09 +02:00
|
|
|
= link_to maps_path do
|
|
|
|
%em.fa.fa-map
|
|
|
|
= t '.map'
|
2014-10-31 14:33:39 +01:00
|
|
|
= link_to tags_path do
|
2014-07-20 14:18:38 +02:00
|
|
|
%em.fa.fa-tags
|
2014-12-14 11:36:56 +01:00
|
|
|
= t '.tags'
|
2015-02-15 17:10:17 +01:00
|
|
|
= link_to orgas_path do
|
2014-10-31 14:03:35 +01:00
|
|
|
%em.fa.fa-users
|
2015-02-15 17:10:17 +01:00
|
|
|
= Orga.model_name.human.pluralize
|
2016-01-10 01:10:22 +01:00
|
|
|
= link_to versions_path do
|
2018-02-11 13:13:41 +01:00
|
|
|
%em.fa.fa-history
|
2016-01-10 01:10:22 +01:00
|
|
|
= t 'versions.index.title'
|
2016-10-31 23:44:44 +01:00
|
|
|
= link_to page_path('infos') do
|
2014-07-20 14:18:38 +02:00
|
|
|
%em.fa.fa-info
|
2014-12-14 11:36:56 +01:00
|
|
|
= t '.infos'
|
2014-11-05 21:25:18 +01:00
|
|
|
= link_to stats_path do
|
2014-07-21 23:17:11 +02:00
|
|
|
%em.fa.fa-signal
|
2014-12-14 11:36:56 +01:00
|
|
|
= t '.stats'
|
2016-10-31 23:44:44 +01:00
|
|
|
= link_to page_path('contact') do
|
2014-07-21 23:17:11 +02:00
|
|
|
%em.fa.fa-envelope
|
2014-12-14 11:36:56 +01:00
|
|
|
= t '.contact'
|
2014-10-31 14:33:39 +01:00
|
|
|
= link_to moderations_path do
|
2014-07-21 23:17:11 +02:00
|
|
|
%em.fa.fa-gavel
|
2014-12-14 11:36:56 +01:00
|
|
|
= t '.moderation'
|
2016-10-17 12:21:23 +02:00
|
|
|
|
|
|
|
= piwik_tracking_tag
|