Skip to content

Commit

Permalink
Change templates to make clear that only managing is also possible
Browse files Browse the repository at this point in the history
  • Loading branch information
vincevd1 committed Nov 16, 2024
1 parent 4d72503 commit bd539c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions website/orders/templates/orders/join_shift.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<div class="container my-5">
<div class="row justify-content-center">
<form method="post" class="col-8 col-sm-offset-2">
<h1>Join {{ shift.venue.venue.name }} shift #{{ shift.pk }}</h1>
<h1>Join/Manage {{ shift.venue.venue.name }} shift #{{ shift.pk }}</h1>
{% bootstrap_messages %}
<p>Do you want to join this shift as a baker (add yourself to the baker list)?</p>
{% csrf_token %}
{% bootstrap_button button_type="submit" name="confirm" value="Yes" content="Yes" button_class="btn-success" extra_classes="mt-4 w-100" %}
{% bootstrap_button button_type="submit" name="confirm" value="No" content="No" button_class="btn-danger" extra_classes="mt-4 w-100" %}
{% bootstrap_button button_type="submit" name="confirm" value="Yes" content="Yes, add me to the baker list" button_class="btn-success" extra_classes="mt-4 w-100" %}
{% bootstrap_button button_type="submit" name="confirm" value="No" content="No, I only want to manage" button_class="btn-danger" extra_classes="mt-4 w-100" %}
</form>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion website/tosti/templates/tosti/venue_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h5>No music player</h5>
<a href="{% url 'orders:shift_join' shift=venue_shift %}">
<div class="btn-ml btn-on my-2">
<h4 class="my-0">
Join shift at {{ venue }}
Join/Manage shift at {{ venue }}
</h4>
</div>
</a>
Expand Down

0 comments on commit bd539c3

Please sign in to comment.