Retarget auth scope

This commit is contained in:
2015-02-24 14:51:54 +01:00
parent 79304a519a
commit 703e62a815

View File

@@ -217,7 +217,7 @@
{% block footer_scripts %}
<script type="text/javascript">
$(document).ready(function() {
{% if current_user.has_role('network_admin') %}
{% if current_user.has_role('admin') %}
$( "#set_status" ).change(function() {
$.get( "{{config.SUBFOLDER}}" + "/applications/edit/" + {{application.id}} + "/status/" + $(this).val());
console.log($(this).val());