Skip to content

Commit

Permalink
Explain plan locking to band admins
Browse files Browse the repository at this point in the history
  • Loading branch information
bklang committed Feb 22, 2025
1 parent 177c71e commit ea5214a
Show file tree
Hide file tree
Showing 7 changed files with 105 additions and 39 deletions.
22 changes: 16 additions & 6 deletions locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-22 19:19+0000\n"
"POT-Creation-Date: 2025-02-22 19:29+0000\n"
"PO-Revision-Date: 2014-02-01 18:13-0500\n"
"Last-Translator: Christian Neumayer <[email protected]>\n"
"Language-Team: en <[email protected]>\n"
Expand Down Expand Up @@ -748,7 +748,7 @@ msgstr ""
msgid "Band Navigator"
msgstr "Band Navigator"

#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:291
#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:297
#: templates/gig/gig_detail_archived.html:185
#: templates/gig/gig_print_planlist.html:50
msgid "No Section"
Expand Down Expand Up @@ -991,17 +991,27 @@ msgstr ""
msgid "Gig plans are locked"
msgstr ""

#: templates/gig/gig_detail.html:278
#: templates/gig/gig_detail.html:279
msgid ""
"\n"
" Band members are prevented from making "
"changes to their plans. As a band admin, you are still able to update plans "
"on their behalf. To allow members to update their own plans again, use the "
"\"Unlock Plans\" button above.\n"
" "
msgstr ""

#: templates/gig/gig_detail.html:283
#, python-format
msgid ""
"\n"
" Gig plans have been locked by the band "
" Gig plans have been locked by the band "
"organizers to manage band attendance. If you need to make changes, contact "
"%(contact)s about your changing plan.\n"
" "
" "
msgstr ""

#: templates/gig/gig_detail.html:310 templates/gig/gig_detail_archived.html:204
#: templates/gig/gig_detail.html:316 templates/gig/gig_detail_archived.html:204
msgid "Comments"
msgstr "Kommentare"

Expand Down
22 changes: 16 additions & 6 deletions locale/en_GB/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-22 19:19+0000\n"
"POT-Creation-Date: 2025-02-22 19:29+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -689,7 +689,7 @@ msgstr ""
msgid "Band Navigator"
msgstr ""

#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:291
#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:297
#: templates/gig/gig_detail_archived.html:185
#: templates/gig/gig_print_planlist.html:50
msgid "No Section"
Expand Down Expand Up @@ -914,17 +914,27 @@ msgstr ""
msgid "Gig plans are locked"
msgstr ""

#: templates/gig/gig_detail.html:278
#: templates/gig/gig_detail.html:279
msgid ""
"\n"
" Band members are prevented from making "
"changes to their plans. As a band admin, you are still able to update plans "
"on their behalf. To allow members to update their own plans again, use the "
"\"Unlock Plans\" button above.\n"
" "
msgstr ""

#: templates/gig/gig_detail.html:283
#, python-format
msgid ""
"\n"
" Gig plans have been locked by the band "
" Gig plans have been locked by the band "
"organizers to manage band attendance. If you need to make changes, contact "
"%(contact)s about your changing plan.\n"
" "
" "
msgstr ""

#: templates/gig/gig_detail.html:310 templates/gig/gig_detail_archived.html:204
#: templates/gig/gig_detail.html:316 templates/gig/gig_detail_archived.html:204
msgid "Comments"
msgstr ""

Expand Down
22 changes: 16 additions & 6 deletions locale/en_US/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-22 19:19+0000\n"
"POT-Creation-Date: 2025-02-22 19:29+0000\n"
"PO-Revision-Date: 2014-02-01 18:13-0500\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <[email protected]>\n"
Expand Down Expand Up @@ -725,7 +725,7 @@ msgstr ""
msgid "Band Navigator"
msgstr ""

#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:291
#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:297
#: templates/gig/gig_detail_archived.html:185
#: templates/gig/gig_print_planlist.html:50
msgid "No Section"
Expand Down Expand Up @@ -958,17 +958,27 @@ msgstr ""
msgid "Gig plans are locked"
msgstr ""

#: templates/gig/gig_detail.html:278
#: templates/gig/gig_detail.html:279
msgid ""
"\n"
" Band members are prevented from making "
"changes to their plans. As a band admin, you are still able to update plans "
"on their behalf. To allow members to update their own plans again, use the "
"\"Unlock Plans\" button above.\n"
" "
msgstr ""

#: templates/gig/gig_detail.html:283
#, python-format
msgid ""
"\n"
" Gig plans have been locked by the band "
" Gig plans have been locked by the band "
"organizers to manage band attendance. If you need to make changes, contact "
"%(contact)s about your changing plan.\n"
" "
" "
msgstr ""

#: templates/gig/gig_detail.html:310 templates/gig/gig_detail_archived.html:204
#: templates/gig/gig_detail.html:316 templates/gig/gig_detail_archived.html:204
msgid "Comments"
msgstr ""

Expand Down
22 changes: 16 additions & 6 deletions locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-22 19:19+0000\n"
"POT-Creation-Date: 2025-02-22 19:29+0000\n"
"PO-Revision-Date: 2014-02-01 18:13-0500\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <[email protected]>\n"
Expand Down Expand Up @@ -741,7 +741,7 @@ msgstr "¡No hay eventos en la papelera!"
msgid "Band Navigator"
msgstr "Navegador de bandas"

#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:291
#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:297
#: templates/gig/gig_detail_archived.html:185
#: templates/gig/gig_print_planlist.html:50
msgid "No Section"
Expand Down Expand Up @@ -1000,17 +1000,27 @@ msgstr "No hay plan"
msgid "Gig plans are locked"
msgstr ""

#: templates/gig/gig_detail.html:278
#: templates/gig/gig_detail.html:279
msgid ""
"\n"
" Band members are prevented from making "
"changes to their plans. As a band admin, you are still able to update plans "
"on their behalf. To allow members to update their own plans again, use the "
"\"Unlock Plans\" button above.\n"
" "
msgstr ""

#: templates/gig/gig_detail.html:283
#, python-format
msgid ""
"\n"
" Gig plans have been locked by the band "
" Gig plans have been locked by the band "
"organizers to manage band attendance. If you need to make changes, contact "
"%(contact)s about your changing plan.\n"
" "
" "
msgstr ""

#: templates/gig/gig_detail.html:310 templates/gig/gig_detail_archived.html:204
#: templates/gig/gig_detail.html:316 templates/gig/gig_detail_archived.html:204
msgid "Comments"
msgstr "Comentarios"

Expand Down
22 changes: 16 additions & 6 deletions locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-22 19:19+0000\n"
"POT-Creation-Date: 2025-02-22 19:29+0000\n"
"PO-Revision-Date: 2014-02-01 18:13-0500\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <[email protected]>\n"
Expand Down Expand Up @@ -751,7 +751,7 @@ msgstr "Pas de concerts dans la poubelle !"
msgid "Band Navigator"
msgstr "Liste des groupes"

#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:291
#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:297
#: templates/gig/gig_detail_archived.html:185
#: templates/gig/gig_print_planlist.html:50
msgid "No Section"
Expand Down Expand Up @@ -995,17 +995,27 @@ msgstr ""
msgid "Gig plans are locked"
msgstr ""

#: templates/gig/gig_detail.html:278
#: templates/gig/gig_detail.html:279
msgid ""
"\n"
" Band members are prevented from making "
"changes to their plans. As a band admin, you are still able to update plans "
"on their behalf. To allow members to update their own plans again, use the "
"\"Unlock Plans\" button above.\n"
" "
msgstr ""

#: templates/gig/gig_detail.html:283
#, python-format
msgid ""
"\n"
" Gig plans have been locked by the band "
" Gig plans have been locked by the band "
"organizers to manage band attendance. If you need to make changes, contact "
"%(contact)s about your changing plan.\n"
" "
" "
msgstr ""

#: templates/gig/gig_detail.html:310 templates/gig/gig_detail_archived.html:204
#: templates/gig/gig_detail.html:316 templates/gig/gig_detail_archived.html:204
msgid "Comments"
msgstr "Commentaires"

Expand Down
22 changes: 16 additions & 6 deletions locale/it/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-22 19:19+0000\n"
"POT-Creation-Date: 2025-02-22 19:29+0000\n"
"PO-Revision-Date: 2014-02-01 18:13-0500\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: it <[email protected]>\n"
Expand Down Expand Up @@ -751,7 +751,7 @@ msgstr ""
msgid "Band Navigator"
msgstr "Navigabande"

#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:291
#: templates/band/band_section_members.html:7 templates/gig/gig_detail.html:297
#: templates/gig/gig_detail_archived.html:185
#: templates/gig/gig_print_planlist.html:50
#, fuzzy
Expand Down Expand Up @@ -998,17 +998,27 @@ msgstr ""
msgid "Gig plans are locked"
msgstr ""

#: templates/gig/gig_detail.html:278
#: templates/gig/gig_detail.html:279
msgid ""
"\n"
" Band members are prevented from making "
"changes to their plans. As a band admin, you are still able to update plans "
"on their behalf. To allow members to update their own plans again, use the "
"\"Unlock Plans\" button above.\n"
" "
msgstr ""

#: templates/gig/gig_detail.html:283
#, python-format
msgid ""
"\n"
" Gig plans have been locked by the band "
" Gig plans have been locked by the band "
"organizers to manage band attendance. If you need to make changes, contact "
"%(contact)s about your changing plan.\n"
" "
" "
msgstr ""

#: templates/gig/gig_detail.html:310 templates/gig/gig_detail_archived.html:204
#: templates/gig/gig_detail.html:316 templates/gig/gig_detail_archived.html:204
msgid "Comments"
msgstr "Commenti"

Expand Down
12 changes: 9 additions & 3 deletions templates/gig/gig_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,15 @@
<div class="col-12 alert alert-warning"">
<h3>{% trans "Gig plans are locked" %} <i class="fas fa-lock text-info"></i></h3>
<p>
{% blocktrans with contact=gig.contact.display_name %}
Gig plans have been locked by the band organizers to manage band attendance. If you need to make changes, contact {{ contact }} about your changing plan.
{% endblocktrans %}
{% if the_user_is_band_admin %}
{% blocktrans %}
Band members are prevented from making changes to their plans. As a band admin, you are still able to update plans on their behalf. To allow members to update their own plans again, use the "Unlock Plans" button above.
{% endblocktrans %}
{% else %}
{% blocktrans with contact=gig.contact.display_name %}
Gig plans have been locked by the band organizers to manage band attendance. If you need to make changes, contact {{ contact }} about your changing plan.
{% endblocktrans %}
{% endif %}
</p>
</div>
</div>
Expand Down

0 comments on commit ea5214a

Please sign in to comment.