Added link to brasilian agenda!!!

This commit is contained in:
echarp 2017-05-04 22:13:24 +02:00
parent edb9c13d7c
commit d9a360575a
3 changed files with 11 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

View File

@ -83,15 +83,14 @@ header.top
ul.countries ul.countries
float: right float: right
font-size: smaller font-size: smaller
margin-top: 0.2em margin-top: -1em
line-height: 1em line-height: 1em
margin-left: 2em margin-left: 2em
margin-right: 1em
list-style-type: none list-style-type: none
li li
text-align: left text-align: left
& a:before & a:before
margin-right: 0.75em margin-right: 0.5em
&.map_france a:before &.map_france a:before
content: image-url('france.png') content: image-url('france.png')
&.map_quebec a:before &.map_quebec a:before
@ -100,6 +99,8 @@ header.top
content: image-url('belgique.png') content: image-url('belgique.png')
&.map_suisse a:before &.map_suisse a:before
content: image-url('suisse.png') content: image-url('suisse.png')
&.map_brasil a:before
content: image-url('brasil.png')
h1 h1
margin: 0.5em 0 margin: 0.5em 0

View File

@ -17,7 +17,7 @@
type: 'text/javascript' type: 'text/javascript'
= csrf_meta_tags = csrf_meta_tags
- classes = [request.domain.split('.')[0], - classes = [request.domain ? request.domain.split('.')[0] : '',
controller.controller_name, controller.action_name] controller.controller_name, controller.action_name]
%body{ class: classes } %body{ class: classes }
%header.top %header.top
@ -26,13 +26,15 @@
%ul.countries %ul.countries
%li.map_france %li.map_france
= link_to t('.france'), 'http://www.agendadulibre.org' = link_to t('.france'), '//www.agendadulibre.org'
%li.map_quebec %li.map_quebec
= link_to t('.quebec'), 'http://www.agendadulibre.qc.ca' = link_to t('.quebec'), '//www.agendadulibre.qc.ca'
%li.map_belgique %li.map_belgique
= link_to t('.belgique'), 'http://www.agendadulibre.be' = link_to t('.belgique'), '//www.agendadulibre.be'
%li.map_suisse %li.map_suisse
= link_to t('.suisse'), 'http://www.agendadulibre.ch' = link_to t('.suisse'), '//www.agendadulibre.ch'
%li.map_brasil
= link_to t('.brasil'), '//agenda.softwarelivre.org'
%h1= link_to t('.title'), root_path %h1= link_to t('.title'), root_path
%h2= t '.subtitle' %h2= t '.subtitle'