suite
This commit is contained in:
parent
1ef4a5bade
commit
50a813bc31
@ -749,6 +749,48 @@ padding:5px 8px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.bottom_social{
|
||||||
|
margin:1em 0;
|
||||||
|
text-align:center;
|
||||||
|
margin-top:2em;
|
||||||
|
display:none;
|
||||||
|
|
||||||
|
a, .top_link{
|
||||||
|
display:inline-block;
|
||||||
|
padding:10px 0px;
|
||||||
|
width:43px;
|
||||||
|
margin:0 5px;
|
||||||
|
text-align:center;
|
||||||
|
cursor:pointer;
|
||||||
|
font-size:1.2em;
|
||||||
|
background:$blue;
|
||||||
|
color:white;
|
||||||
|
|
||||||
|
&:hover{
|
||||||
|
background:darken($blue, 10);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#nous-bloc{
|
||||||
|
.gallery_for_mobile{
|
||||||
|
display:none;
|
||||||
|
|
||||||
|
img{
|
||||||
|
margin-bottom:20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.rea-gal.gallery{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width:880px) {
|
@media screen and (max-width:880px) {
|
||||||
|
|
||||||
.socials_links, .contact_links{
|
.socials_links, .contact_links{
|
||||||
@ -881,6 +923,8 @@ padding:5px 8px;
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.columns{
|
.columns{
|
||||||
display:block !important;
|
display:block !important;
|
||||||
width:auto !important;
|
width:auto !important;
|
||||||
@ -930,9 +974,14 @@ padding:5px 8px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
.mobile-no-margin-top{
|
||||||
|
margin-top:0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -966,6 +1015,39 @@ padding:5px 8px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.center{
|
||||||
|
|
||||||
|
padding: 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width:600px) {
|
||||||
|
|
||||||
|
#nous-bloc{
|
||||||
|
.gallery_for_mobile{
|
||||||
|
display:block;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.rea-gal.gallery{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.bottom_social{
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.socials_links, .contact_links{
|
||||||
|
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
# -*- encoding : utf-8 -*-
|
|
||||||
class DonateTransactionsMails < ActionMailer::Base
|
|
||||||
layout 'mail'
|
|
||||||
|
|
||||||
default from: "One Voice <info@test.com>"
|
|
||||||
|
|
||||||
def confirmation_pa(donate_transaction, options = {})
|
|
||||||
@options = options
|
|
||||||
@donate_transaction = donate_transaction
|
|
||||||
@email = @donate_transaction.particular_bill.email
|
|
||||||
@title = "Merci pour votre promesse de don."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
def confirmation_cheque(donate_transaction, options = {})
|
|
||||||
@options = options
|
|
||||||
@donate_transaction = donate_transaction
|
|
||||||
@email = @donate_transaction.particular_bill.email
|
|
||||||
@title = "Merci pour votre promesse de don."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
def confirmation_cb(donate_transaction, options = {})
|
|
||||||
@options = options
|
|
||||||
@donate_transaction = donate_transaction
|
|
||||||
@email = @donate_transaction.particular_bill.email
|
|
||||||
@title = "Merci pour votre don."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
def confirmation_cb_rec(donate_transaction, options = {})
|
|
||||||
@options = options
|
|
||||||
@donate_transaction = donate_transaction
|
|
||||||
@email = @donate_transaction.particular_bill.email
|
|
||||||
@title = "Merci pour votre don mensuel."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
end
|
|
@ -1,5 +1,5 @@
|
|||||||
class General < ActionMailer::Base
|
class General < ActionMailer::Base
|
||||||
default :from => "One Voice <info@test.com>"
|
default :from => "contact@idncommunication.com"
|
||||||
self.default_url_options = {:host => HOSTNAME}
|
self.default_url_options = {:host => HOSTNAME}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
# -*- encoding : utf-8 -*-
|
|
||||||
class PetitionMails < ActionMailer::Base
|
|
||||||
layout 'mail'
|
|
||||||
|
|
||||||
default from: "One Voice <info@test.com>"
|
|
||||||
|
|
||||||
def confirmation(signator, options = {})
|
|
||||||
@options = options
|
|
||||||
@signator = signator
|
|
||||||
|
|
||||||
@petition = @signator.petition
|
|
||||||
@petition_lang = @petition.petition_langs.where(:lang_site_id => @signator.lang_site.id).first
|
|
||||||
|
|
||||||
|
|
||||||
@email = @signator.email
|
|
||||||
@title = "Important : pour valider votre signature."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
def thanks(signator, options = {})
|
|
||||||
@options = options
|
|
||||||
@signator = signator
|
|
||||||
|
|
||||||
@petition = @signator.petition
|
|
||||||
@petition_lang = @petition.petition_langs.where(:lang_site_id => @signator.lang_site.id).first
|
|
||||||
|
|
||||||
|
|
||||||
@email = @signator.email
|
|
||||||
@title = "Merci pour votre signature."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
end
|
|
@ -1,5 +1,5 @@
|
|||||||
class QuestionMailer < ActionMailer::Base
|
class QuestionMailer < ActionMailer::Base
|
||||||
default from: "info@nicolasbally.com"
|
default from: "contact@idncommunication.com"
|
||||||
|
|
||||||
# Subject can be set in your I18n file at config/locales/en.yml
|
# Subject can be set in your I18n file at config/locales/en.yml
|
||||||
# with the following lookup:
|
# with the following lookup:
|
||||||
@ -9,7 +9,7 @@ class QuestionMailer < ActionMailer::Base
|
|||||||
def send_contact(contact)
|
def send_contact(contact)
|
||||||
@contact = contact
|
@contact = contact
|
||||||
|
|
||||||
mail to: "test@nicolasbally.com", :bcc => "info@nicolasbally.com" ,:reply_to => @contact.email, :subject => "Nouveau mail par le site"
|
mail to: "contact@idncommunication.com", :bcc => "info@nicolasbally.com" ,:reply_to => @contact.email, :subject => "Nouveau mail par le site"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
# -*- encoding : utf-8 -*-
|
|
||||||
class SponsorshipAnimalMails < ActionMailer::Base
|
|
||||||
layout 'mail'
|
|
||||||
|
|
||||||
default from: "One Voice <info@test.com>"
|
|
||||||
|
|
||||||
def confirmation_pa(donate_transaction, options = {})
|
|
||||||
@options = options
|
|
||||||
@donate_transaction = donate_transaction
|
|
||||||
@email = @donate_transaction.particular_bill.email
|
|
||||||
@title = "Merci pour votre promesse de parrainage."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
def confirmation_cheque(donate_transaction, options = {})
|
|
||||||
@options = options
|
|
||||||
@donate_transaction = donate_transaction
|
|
||||||
@email = @donate_transaction.particular_bill.email
|
|
||||||
@title = "Merci pour votre promesse de parrainage."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
def confirmation_cb(donate_transaction, options = {})
|
|
||||||
@options = options
|
|
||||||
@donate_transaction = donate_transaction
|
|
||||||
@email = @donate_transaction.particular_bill.email
|
|
||||||
@title = "Merci pour votre parrainage."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
def confirmation_cb_rec(donate_transaction, options = {})
|
|
||||||
@options = options
|
|
||||||
@donate_transaction = donate_transaction
|
|
||||||
@email = @donate_transaction.particular_bill.email
|
|
||||||
@title = "Merci pour votre parrainage mensuel."
|
|
||||||
mail(:to => @email, :subject => @title)
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
end
|
|
@ -183,14 +183,7 @@
|
|||||||
.columns.span_6
|
.columns.span_6
|
||||||
.contact_form
|
.contact_form
|
||||||
#form=render :partial => "public/contacts/form"
|
#form=render :partial => "public/contacts/form"
|
||||||
|
.bottom_social
|
||||||
.bottom
|
|
||||||
© 2016 idN communication • Tous droits réservés •
|
|
||||||
=link_to "Mentions légales", "/fr/mentions-legales.html", :data => {:remote => true}
|
|
||||||
|
|
||||||
|
|
||||||
.socials_links
|
|
||||||
|
|
||||||
=link_to "https://www.facebook.com/idn.communication/", :target => "_blank", :class => "link facebook" do
|
=link_to "https://www.facebook.com/idn.communication/", :target => "_blank", :class => "link facebook" do
|
||||||
=i(:"facebook")
|
=i(:"facebook")
|
||||||
|
|
||||||
@ -200,6 +193,24 @@
|
|||||||
.top_link
|
.top_link
|
||||||
=i(:"arrow-up")
|
=i(:"arrow-up")
|
||||||
|
|
||||||
|
.bottom
|
||||||
|
© 2016 idN communication • Tous droits réservés •
|
||||||
|
=link_to "Mentions légales", "/fr/mentions-legales.html", :data => {:remote => true}
|
||||||
|
|
||||||
|
|
||||||
|
.socials_links
|
||||||
|
|
||||||
|
.top_link
|
||||||
|
=i(:"arrow-up")
|
||||||
|
|
||||||
|
=link_to "https://www.facebook.com/idn.communication/", :target => "_blank", :class => "link facebook" do
|
||||||
|
=i(:"facebook")
|
||||||
|
|
||||||
|
=link_to "https://twitter.com/idncontact", :target => "_blank", :class => "link twitter" do
|
||||||
|
=i(:"twitter")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.contact_links
|
.contact_links
|
||||||
|
|
||||||
=link_to "#", :target => "_blank",:onclick => "$('html,body').animate({scrollTop: ($('#contact-bloc').offset().top - 50)},'slow');return false;", :class => "link facebook" do
|
=link_to "#", :target => "_blank",:onclick => "$('html,body').animate({scrollTop: ($('#contact-bloc').offset().top - 50)},'slow');return false;", :class => "link facebook" do
|
||||||
|
@ -68,6 +68,12 @@
|
|||||||
-if input.style == 3
|
-if input.style == 3
|
||||||
.portlet.input
|
.portlet.input
|
||||||
|
|
||||||
|
.gallery_for_mobile
|
||||||
|
-input.gallery_images.each do |gallery_images|
|
||||||
|
-if gallery_images.image_file
|
||||||
|
-if !gallery_images.more
|
||||||
|
=image_tag(gallery_images.big_image_file ? gallery_images.big_image_file.file.large.medium.url : gallery_images.image_file.file.large.medium.url)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.rea-gal.gallery
|
.rea-gal.gallery
|
||||||
|
Loading…
x
Reference in New Issue
Block a user