SkautDevs / kissj

Keep it Simple Stupid Jamboree registration system
https://kissj.net
GNU General Public License v3.0
9 stars 13 forks source link

vytvořit participant details podle emailu, možná podle přijmení nebo přezdívky #281

Closed tomtomklima closed 5 months ago

tomtomklima commented 6 months ago

okno do administrace, kde zadá admin mail (příjmení, přezdívku?) a vypadne z něj okno s participantem přesunout tam:

smazáno z paid admina pro deals:

{% if person.deals %}
    -
    {% for participantDeal in person.deals %}
        {{ participantDeal.slug }}{% if not participantDeal.isDone %} ❌{% else %} ✅{% endif %}{{ not loop.last ? ' | ' }}
    {% endfor %}
{% else %}
    {% for eventDeal in event.eventType.getEventDeals(person) %}
        {{ eventDeal.slug }} ❌{{ not loop.last ? ' | ' }}
    {% endfor %}
{% endif %}

smazáno z paid admina pro cancel participant:


{% if person is not PatrolParticipant %}
    <form
        method="POST"
        action="{{ url_for('admin-cancel-participant', {'eventSlug': event.slug, 'participantId': person.id}) }}"
        style="display: inline-block;"
    >
        <input type="submit" class="btn btn-mini" value="{% trans %}dashboard-admin.cancelParticipant{% endtrans %}">
    </form>
{% endif %}
{# TODO add placeholder for PL "not supported yet" #}
tomtomklima commented 5 months ago

done