Skip to content

Commit

Permalink
Merge pull request #936 from BCStudentSoftwareDevTeam/fixedroute
Browse files Browse the repository at this point in the history
 fixed the route issue and the indentation
  • Loading branch information
BrianRamsay authored Jun 15, 2023
2 parents e206f23 + f411826 commit 3a212f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/events/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def email():
flash(message, status)
return redirect(url_for("main.events", selectedTerm = raw_form_data['selectedTerm']))

@events_bp.route('/eventsList/<eventid>/kiosk', methods=['GET'])
@events_bp.route('/event/<eventid>/kiosk', methods=['GET'])
def loadKiosk(eventid):
"""Renders kiosk for specified event."""
event = Event.get_by_id(eventid)
Expand Down
2 changes: 1 addition & 1 deletion app/templates/events/trackVolunteers.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h3>{{eventData["program"].programName}} Event</h3>
{% endif %}
<button type="button" class="btn btn-success" id="pastVolunteers" data-bs-toggle="modal" data-bs-target= "#addPastVolunteerModal" style="margin:5px;" {{disabled}}>Add Past Volunteers</button>
{%endif%}
<a class="btn btn-warning" role="button" href= "/eventsList/{{event.id}}/kiosk" style="margin:5px;">Kiosk Entry</a>
<a class="btn btn-warning" role="button" href= "/event/{{event.id}}/kiosk" style="margin:5px;">Kiosk Entry</a>
</div>
{% if (not event.isPast) and (event.isRsvpRequired) and (event.rsvpLimit is not none) and (currentRsvpAmount[event.id] >= event.rsvpLimit) %}
<div class="col-6 text-end">
Expand Down

0 comments on commit 3a212f7

Please sign in to comment.