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

La page trouve ton Gull est mieux présentée

parent 1947463e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -150,7 +150,6 @@ main
font-size: larger
line-height: 1.1em
font-weight: bolder
vertical-align: middle
background-color: #9CC5EE
@include box-shadow(2px 2px 2px gray)
select, option
......
......@@ -13,6 +13,8 @@
- @lugs.each do |lug|
%tr
%td
- if lug.url =~ /^http/
= image_tag lug.url+'/favicon.ico', alt: '', class: :favicon
= lug.name
%td
= lug.city
......@@ -21,10 +23,8 @@
%td
= lug.related_region
%td
- if lug.url =~ /^http/
= image_tag lug.url+'/favicon.ico', alt: '', class: :favicon
= link_to lug.url, lug.url
%td
= link_to t('show'), lug_url(lug, q: params[:q]), class: :view_link
= link_to t('show'), lug_url(lug, q: params[:q], page: params[:page]), class: :view_link
= paginate @lugs
......@@ -6,19 +6,23 @@
%h3
= image_tag @lug.url+'/favicon.ico', alt: '', class: :favicon
= @lug.name
%dt= Lug.human_attribute_name :city
%dd= @lug.city
%dt= Lug.human_attribute_name :department
%dd= @lug.department
%dt= Lug.human_attribute_name :related_region
%dd= @lug.related_region
%dt= Lug.human_attribute_name :url
%dd= link_to @lug.url, @lug.url
- if @lug.city.present?
%dt= Lug.human_attribute_name :city
%dd= @lug.city
- if @lug.department.present?
%dt= Lug.human_attribute_name :department
%dd= @lug.department
- if @lug.related_region.present?
%dt= Lug.human_attribute_name :related_region
%dd= @lug.related_region
- if @lug.url.present?
%dt= Lug.human_attribute_name :url
%dd= link_to @lug.url, @lug.url
%iframe(src="#{@lug.url}" width='1000' height='400' frameborder='none'
allowTransparency='true')
%nav
= link_to lugs_path(q: params[:q]), class: :back do
= link_to lugs_path(q: params[:q], page: params[:page]), class: :back do
%em.fa.fa-arrow-left
= Lug.model_name.human.pluralize
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