Skip to content

Commit c437864

Browse files
committed
Update Register event button UX
1 parent 6fb1a18 commit c437864

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: vzdv-site/templates/events/event.jinja

+5-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@
3333
<div class="d-flex justify-content-between">
3434
{% if user_info and user_info.is_some_staff or is_on_roster %}
3535
<button role="button" class="btn btn-primary" onclick="modalRegisterForm.showModal()">
36-
<i class="bi bi-plus-circle"></i>
37-
Register
36+
{% if self_register %}
37+
<i class="bi bi-pencil"></i> Update registration
38+
{% else %}
39+
<i class="bi bi-plus-circle"></i> Register
40+
{% endif %}
3841
</button>
3942
{% endif %}
4043
{% if is_event_staff %}

0 commit comments

Comments
 (0)