Skip to content

Commit

Permalink
[FIX] beesdoo_website_shift: remove [email protected] from templates
Browse files Browse the repository at this point in the history
  • Loading branch information
robinkeunen committed Aug 22, 2023
1 parent 01016f5 commit 4d67141
Show file tree
Hide file tree
Showing 5 changed files with 217 additions and 148 deletions.
18 changes: 0 additions & 18 deletions beesdoo_base/i18n/fr_BE.po
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,6 @@ msgstr "Eaters"
msgid "Email"
msgstr "Courriel"

#. module: beesdoo_base
#: model_terms:ir.ui.view,arch_db:beesdoo_base.beescard_template_cm
msgid "Embedded Image"
msgstr ""

#. module: beesdoo_base
#: model_terms:ir.ui.view,arch_db:beesdoo_base.beescard_template_cm
msgid ""
"En cas de perte,\n"
" prévenez-nous via\n"
" [email protected]"
msgstr ""

#. module: beesdoo_base
#: model:ir.model.fields,field_description:beesdoo_base.field_member_card__end_date
msgid "Expiration Date"
Expand Down Expand Up @@ -358,11 +345,6 @@ msgstr ""
msgid "eater.new.wizard"
msgstr "eater.new.wizard"

#. module: beesdoo_base
#: model_terms:ir.ui.view,arch_db:beesdoo_base.beescard_template_cm
msgid "www.bees-coop.be"
msgstr ""

#~ msgid "Member card ids"
#~ msgstr "Member card ids"

Expand Down
63 changes: 47 additions & 16 deletions beesdoo_website_shift/i18n/beesdoo_website_shift.pot
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ msgid "<span class=\"fa fa-user-plus\" aria-hidden=\"true\"/>\n"
" Subscribe"
msgstr ""

#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.res_config_settings_shift_view_form
msgid "<span class=\"o_form_label\">\n"
" Shift Manager Contact\n"
" </span>"
msgstr ""

#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.help_text_irregular_worker
msgid "<strong>Alert:</strong>\n"
Expand Down Expand Up @@ -105,9 +112,7 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.help_text_info
msgid "<strong>Info!</strong>\n"
" If you do not agree with your status, please contact the members\n"
" office by mail ([email protected]) or during the open hours of the\n"
" office (Monday 5PM to 7:30PM, Wednesday 5PM to 7:30 PM and Friday\n"
" 2:30PM to 5 PM)."
" office by mail"
msgstr ""

#. module: beesdoo_website_shift
Expand Down Expand Up @@ -150,8 +155,7 @@ msgstr ""
msgid "<strong>Unsubscribed:</strong>\n"
" You did not attend two consecutive shifts. You are now unsubscribed.\n"
" You cannot shop (nor can your eaters) nor come to work.\n"
" To subscribe again, please contact [email protected] or come to\n"
" the members office during the opening hours."
" To subscribe again, please contact"
msgstr ""

#. module: beesdoo_website_shift
Expand All @@ -160,9 +164,7 @@ msgid "<strong>Unsubscribed:</strong>\n"
" Your counter is negative and you haven't come to work for more than\n"
" 8 weeks.\n"
" You are unsubscribed. You cannot shop nor can your eaters.\n"
" To subscribe again of if it's a mistake, please contact\n"
" [email protected] or come to the members office during the opening\n"
" hours."
" To subscribe again of if it's a mistake, please contact"
msgstr ""

#. module: beesdoo_website_shift
Expand Down Expand Up @@ -299,6 +301,16 @@ msgstr ""
msgid "Enable shift sign up for irregular worker"
msgstr ""

#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.res_config_settings_shift_view_form
msgid "Email"
msgstr ""

#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.res_config_settings_shift_view_form
msgid "Email address displayed in mail templates and on the website"
msgstr ""

#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.my_shift_worker_status_common
msgid "End of Holiday:"
Expand All @@ -323,7 +335,7 @@ msgstr ""
#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.my_shift_irregular_worker
msgid "Future Date of\n"
" Alert:"
" Alert:"
msgstr ""

#. module: beesdoo_website_shift
Expand Down Expand Up @@ -442,7 +454,7 @@ msgstr ""
#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.my_shift_irregular_worker
msgid "Next Countdown\n"
" Date:"
" Date:"
msgstr ""

#. module: beesdoo_website_shift
Expand Down Expand Up @@ -487,12 +499,12 @@ msgstr ""
#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.my_shift_irregular_worker
msgid "Please, subscribe, in priority, to the\n"
" highlighted shifts. To sign up to a shift\n"
" click on the\n"
" subscribe button. Notice that you can not\n"
" unsubscribe online. To unsubscribe to a\n"
" shift, please,\n"
" contact us."
" highlighted shifts. To sign up to a shift\n"
" click on the\n"
" subscribe button. Notice that you can not\n"
" unsubscribe online. To unsubscribe to a\n"
" shift, please,\n"
" contact us."
msgstr ""

#. module: beesdoo_website_shift
Expand Down Expand Up @@ -716,6 +728,25 @@ msgstr ""
msgid "full"
msgstr ""

#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.help_text_regular_worker
msgid "or come to\n"
" the members office during the opening hours."
msgstr ""

#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.help_text_irregular_worker
msgid "or come to the members office during the opening\n"
" hours."
msgstr ""

#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.help_text_info
msgid "or during the open hours of the\n"
" office (Monday 5PM to 7:30PM, Wednesday 5PM to 7:30 PM and Friday\n"
" 2:30PM to 5 PM)."
msgstr ""

#. module: beesdoo_website_shift
#: model_terms:ir.ui.view,arch_db:beesdoo_website_shift.public_shift_template_regular_worker
msgid "space(s)"
Expand Down
5 changes: 5 additions & 0 deletions beesdoo_website_shift/models/res_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ class WebsiteShiftConfigSettings(models.TransientModel):
string="Number of next shifts displayed on page 'My Shifts' by default",
config_parameter="beesdoo_website_shift.next_shifts_display_number",
)
shift_manager_contact = fields.Char(
string="Shift Manager Email",
config_parameter="beesdoo_website_shift.shift_manager_contact",
default=lambda self: self.env.user.company_id.email,
)
Loading

0 comments on commit 4d67141

Please sign in to comment.