Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions my_compassion/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
"templates/pages/my2_gifts_thank_you.xml",
"templates/pages/my2_add_a_gift.xml",
"templates/http_error_custom.xml",
"templates/pages/my2_contact_us.xml",
"templates/pages/my2_contactus_thank_you.xml",
# My Compassion 2 components
"templates/components/my2_children_card.xml",
"templates/components/my2_letter_card.xml",
Expand Down
1 change: 1 addition & 0 deletions my_compassion/controllers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
my2_event_banner,
my2_home_redirect,
my2_portal,
my2_contact_us,
)
13 changes: 13 additions & 0 deletions my_compassion/controllers/my2_contact_us.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from odoo import http
from odoo.http import request


class ContactUsPageController(http.Controller):
@http.route("/contactus", type="http", auth="public", website=True, sitemap=True)
def contactus(self, **kwargs):
titles = (
request.env["res.partner.title"]
.sudo()
.search([("is_published", "=", True)], order="shortcut asc")
)
return request.render("website.contactus", {"titles": titles})
94 changes: 89 additions & 5 deletions my_compassion/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -1695,11 +1695,6 @@ msgstr ""
msgid "Download your tax receipt"
msgstr "Steuerbescheinigung herunterladen"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_new_sponsorship_wizard_user_details
msgid "E-mail"
msgstr "E-Mail"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_gift_package_content
msgid "Edit Details"
Expand Down Expand Up @@ -4591,6 +4586,95 @@ msgstr "Schwestern"
msgid "this link"
msgstr "dieser Link"


#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Get in touch"
msgstr "Kontaktiere uns"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid ""
"Have a question or want to learn more about our\n"
" work? Fill out the form below, and we'll get back to\n"
" you as soon as possible."
msgstr ""
"Haben Sie eine Frage oder möchten Sie mehr über\n"
" unsere Arbeit erfahren? Füllen Sie das\n"
" untenstehende Formular aus und wir melden uns\n"
" so schnell wie möglich bei Ihnen."


#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Mrs."
msgstr "Frau"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Mr."
msgstr "Herr"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "First Name"
msgstr "Vorname"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Last Name"
msgstr "Nachname"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_new_sponsorship_wizard_user_details
msgid "E-mail"
msgstr "E-Mail"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Subject"
msgstr "Betreff"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Request subject"
msgstr "Anfragebetreff"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Message"
msgstr "Nachricht"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Send the message"
msgstr "Nachricht senden"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "<span>Your message has been sent successfully</span>"
msgstr "<span>Deine Nachricht wurde erfolgreich gesendet</span>"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "Back to home"
msgstr "Zurück zur Startseite"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "Thank You!"
msgstr "Vielen Dank!"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "We will get back to you shortly."
msgstr "Wir werden uns in Kürze bei dir melden."

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_child_timeline_page
msgid "with"
Expand Down
90 changes: 86 additions & 4 deletions my_compassion/i18n/fr_CH.po
Original file line number Diff line number Diff line change
Expand Up @@ -1655,10 +1655,6 @@ msgstr ""
msgid "Download your tax receipt"
msgstr "Télécharger votre attestation fiscale"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_new_sponsorship_wizard_user_details
msgid "E-mail"
msgstr "E-mail"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_gift_package_content
Expand Down Expand Up @@ -4539,6 +4535,92 @@ msgstr "sœurs"
msgid "this link"
msgstr "ce lien"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Get in touch"
msgstr "Contactez-nous"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid ""
"Have a question or want to learn more about our\n"
" work? Fill out the form below, and we'll get back to\n"
" you as soon as possible."
msgstr ""
"Avez-vous une question ou souhaitez-vous en savoir plus sur notre\n"
" travail ? Remplissez le formulaire ci-dessous,\n"
" et nous vous répondrons dès que possible."

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Mrs."
msgstr "Madame"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Mr."
msgstr "Monsieur"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "First Name"
msgstr "Prénom"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Last Name"
msgstr "Nom"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_new_sponsorship_wizard_user_details
msgid "E-mail"
msgstr "E-mail"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Subject"
msgstr "Objet"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Request subject"
msgstr "Objet de la demande"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Message"
msgstr "Message"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Send the message"
msgstr "Envoyer le message"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "<span>Your message has been sent successfully</span>"
msgstr "<span>Votre message a été envoyé avec succès</span>"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "Back to home"
msgstr "Retour à l'accueil"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "Thank You!"
msgstr "Merci!"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "We will get back to you shortly."
msgstr "Nous vous répondrons dans les plus brefs délais."

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_child_timeline_page
msgid "with"
Expand Down
91 changes: 87 additions & 4 deletions my_compassion/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -1714,10 +1714,6 @@ msgstr ""
msgid "Download your tax receipt"
msgstr "Scarica la tua ricevuta fiscale"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_new_sponsorship_wizard_user_details
msgid "E-mail"
msgstr "E-mail"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_gift_package_content
Expand Down Expand Up @@ -4604,6 +4600,93 @@ msgstr "sorelle"
msgid "this link"
msgstr "questo link"


#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Get in touch"
msgstr "Contattaci"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid ""
"Have a question or want to learn more about our\n"
" work? Fill out the form below, and we'll get back to\n"
" you as soon as possible."
msgstr ""
"Hai una domanda o desideri saperne di più sul nostro lavoro?\n"
" Compila il modulo sottostante e ti risponderemo\n"
" il prima possibile."

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Mrs."
msgstr "Signora"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Mr."
msgstr "Signore"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "First Name"
msgstr "Nome"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Last Name"
msgstr "Cognome"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_new_sponsorship_wizard_user_details
msgid "E-mail"
msgstr "E-mail"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Subject"
msgstr "Oggetto"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Request subject"
msgstr "Oggetto della richiesta"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Message"
msgstr "Messaggio"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_page
msgid "Send the message"
msgstr "Invia il messaggio"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "<span>Your message has been sent successfully</span>"
msgstr "<span>Il tuo messaggio è stato inviato con successo</span>"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "Back to home"
msgstr "Pagina iniziale"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "Thank You!"
msgstr "Grazie!"

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_contactus_thanks
#: model_terms:website.page,arch_db:my_compassion.my_custom_thanks_page
msgid "We will get back to you shortly."
msgstr "Ti ricontatteremo al più presto."

#. module: my_compassion
#: model_terms:ir.ui.view,arch_db:my_compassion.my2_child_timeline_page
msgid "with"
Expand Down
Loading