membershipworks: Move refresh data button into a separate component file
This commit is contained in:
parent
7108f9418d
commit
1e09ebf24b
@ -0,0 +1,10 @@
|
|||||||
|
<a class="btn btn-sm btn-primary"
|
||||||
|
hx-boost="true"
|
||||||
|
hx-push-url="false"
|
||||||
|
hx-indicator=".htmx-indicator"
|
||||||
|
href="{% querystring refresh=1 %}">
|
||||||
|
<div class="spinner-border spinner-border-sm htmx-indicator" role="status">
|
||||||
|
<span class="visually-hidden">Loading...</span>
|
||||||
|
</div>
|
||||||
|
Refresh Data
|
||||||
|
</a>
|
@ -22,18 +22,7 @@
|
|||||||
{% bootstrap_button extra_classes="btn-sm" href=email_link target="_blank" content="Email all attendees" %}
|
{% bootstrap_button extra_classes="btn-sm" href=email_link target="_blank" content="Email all attendees" %}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">{% include "cmsmanage/components/download_table.dj.html" %}</div>
|
<div class="col-auto">{% include "cmsmanage/components/download_table.dj.html" %}</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">{% include "membershipworks/components/refresh_data_button.dj.html" %}</div>
|
||||||
<a class="btn btn-sm btn-primary"
|
|
||||||
hx-boost="true"
|
|
||||||
hx-push-url="false"
|
|
||||||
hx-indicator=".htmx-indicator"
|
|
||||||
href="{% querystring refresh=1 %}">
|
|
||||||
<div class="spinner-border spinner-border-sm htmx-indicator" role="status">
|
|
||||||
<span class="visually-hidden">Loading...</span>
|
|
||||||
</div>
|
|
||||||
Refresh Data
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<h2 class="d-none d-print-block">Registrations for {{ event.details.ttl|nh3 }}</h2>
|
<h2 class="d-none d-print-block">Registrations for {{ event.details.ttl|nh3 }}</h2>
|
||||||
{% render_table table %}
|
{% render_table table %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user