diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 613b781..b014483 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -78,7 +78,7 @@ %body - -if !current_admin + -if false and !current_admin %center %br %br @@ -230,45 +230,7 @@ .contact_form.contact_militer#form =render :partial => "public/contacts/form" =image_tag "/bottom-lines.png", :id => "bottom_lines" - #sub_footer - - #logos - =link_to "https://groupe-payre.fr", :id => "groupepayreid", :target => "_blank" do - =image_tag "/logo.png" - - =link_to "https://etschaix.fr", :target => "_blank" do - =image_tag "/payre-agriculture.png" - - =link_to "https://payreenergies.fr", :target => "_blank" do - =image_tag "/payre-energies.png" - - =link_to "https://payremaintenance.fr", :target => "_blank" do - =image_tag "/payre-maintenance.png" - - =link_to "http://payrejardinerie.fr/", :target => "_blank" do - =image_tag "/payre-jardinerie.png" - - #place - %p - ETS CHAIX - %br - 11 rue Valserres - %br - 05000 GAP - - #contacts - %p - =ic :phone - 04 92 51 35 05 - %br - =ic :fax - 04 92 53 42 89 - %br - =link_to "mailto:contact@etschaix.fr" do - =ic :"envelope-o" - contact@etschaix.fr - - .clear + =render :partial => "public/shared/footer" :javascript diff --git a/app/views/public/shared/_footer.html.haml b/app/views/public/shared/_footer.html.haml new file mode 100644 index 0000000..48bc8c1 --- /dev/null +++ b/app/views/public/shared/_footer.html.haml @@ -0,0 +1,24 @@ +#sub_footer + + #logos + =link_to "https://groupe-payre.fr", :id => "groupepayreid", :target => "_blank" do + =image_tag "/logo.png" + + =link_to "https://payreagriculture.fr", :class => "imgpayre", :target => "_blank" do + =image_tag "/payre-agriculture.png" + + =link_to "https://etschaix.fr/", :class => "imgpayre", :target => "_blank" do + =image_tag "/chaix.png" + + =link_to "https://payreenergies.fr", :class => "imgpayre", :target => "_blank" do + =image_tag "/payre-energies.png" + + =link_to "https://payremaintenance.fr", :class => "imgpayre", :target => "_blank" do + =image_tag "/payre-maintenance.png" + + =link_to "http://payrejardinerie.fr/", :class => "imgpayre", :target => "_blank" do + =image_tag "/payre-jardinerie.png" + + =render :partial => "public/shared/particulars" + + .clear \ No newline at end of file diff --git a/app/views/public/shared/_particulars.html.haml b/app/views/public/shared/_particulars.html.haml new file mode 100644 index 0000000..84b30d9 --- /dev/null +++ b/app/views/public/shared/_particulars.html.haml @@ -0,0 +1,19 @@ +#place + %p + ETS CHAIX + %br + 11 rue Valserres + %br + 05000 GAP + +#contacts + %p + =ic :phone + 04 92 51 35 05 + %br + =ic :fax + 04 92 53 42 89 + %br + =link_to "mailto:contact@etschaix.fr" do + =ic :"envelope-o" + contact@etschaix.fr \ No newline at end of file diff --git a/public/chaix.png b/public/chaix.png new file mode 100644 index 0000000..46e3e12 Binary files /dev/null and b/public/chaix.png differ