Skip to content
Extraits de code Groupes Projets
Valider e11eb00c rédigé par echarp's avatar echarp
Parcourir les fichiers

Ref #143

The iconic flower is back in tag listings
parent ad0c37e4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -50,3 +50,7 @@ ul.ui-autocomplete li
.ui-state-active
margin: 0
background-color: #F0F8FF
body.tags .event[class*='libre-en-fete-']
h3:before, & > a:before
content: url(lef-small.png)
-# Used in pages header, event.show and tag.show
- if tags.include? 'libre-en-fete'
= t '.link' if %w[show edit].include? action_name
- if tags.to_s.include? 'libre-en-fete'
- if controller_name != 'tags' && %w[show edit].include?(action_name)
= t '.link'
%a(href='https://www.libre-en-fete.net')
= image_tag 'lef.png', width: '180', height: '60', alt: 'Libre en Fête',
style: 'vertical-align: middle'
- elsif tags.include? 'linux-presentation-day'
= t '.link' if %w[show edit].include? action_name
- if controller_name != 'tags' && %w[show edit].include?(action_name)
= t '.link'
%a(href='http://www.linux-presentation-day.org')
= image_tag 'linux-presentation-day.png', width: '150', height: '75',
alt: 'Linux presentation day', style: 'vertical-align: middle'
......
......@@ -39,7 +39,7 @@
GeoJSON
- @events_future.order('start_time asc').each do |event|
%article.event
%article.event{ class: event.tag_list }
%h3
= link_to event do
%em.city= event.city
......@@ -63,7 +63,7 @@
= t '.count', count: @events_past.count
%ul.fa-ul
- @events_past.order('start_time desc').each do |event|
%li
%li.event{ class: event.tag_list }
= link_to event do
- if event.locality?
%em.locality.fa-li.fa.fa-globe
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter