{% extends "base.html" %} {% block content %}
$('#schedulesModal').on('show.bs.modal', function (event) { //$( ".modal-body" ).loading("show"); $(".modal-body").load("modal_availability_schedule.php?nonce={{ nonce }}", { orientation: window.innerHeight > window.innerWidth ? "portrait" : "landscape" }, function() { init_modal(); //$( ".modal-body" ).loading("hide"); return true; }); });

{{ 'Are you available in case of alert?'|t }}




VVF

{% if user.full_viewer %} {# TODO: fix "Other" page #} {% endif %}
{{ 'Name'|t }} {{ 'Available'|t }}{{ 'Driver'|t }} {{ 'Call'|t }} {{ 'Write'|t }} {{ 'Services'|t }} {{ 'Availability Minutes'|t }}{{ 'Other'|t }}
$("#activate-btn").on("click",function(){ allertaJS.main.activate('{{ user.id }}', ''); }); $("#deactivate-btn").on("click",function(){ allertaJS.main.deactivate('{{ user.id }}', ''); }); allertaJS.main.loadTable({tablePage: "list", useCustomTableEngine: "default", callback: allertaJS.main.loadListListCallback});
{% if hasRole("SUPER_ADMIN") %}

{{ 'Add user'|t }}

{% endif %}

{% endblock %}