From 1993dba2e0dcdcb9225d6287061eec50f0a9f427 Mon Sep 17 00:00:00 2001 From: jym503558564 <503558564@qq.com> Date: Tue, 16 Jul 2019 15:40:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[Bugfix]=20=E4=BF=AE=E5=A4=8D=E8=B5=84?= =?UTF-8?q?=E4=BA=A7=E6=8E=88=E6=9D=83=E8=AF=A6=E6=83=85=E9=A1=B5=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=BC=B9=E5=87=BA=E6=A1=86=E7=9A=84=E6=9D=83?= =?UTF-8?q?=E9=99=90=E5=90=8D=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/perms/templates/perms/asset_permission_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/perms/templates/perms/asset_permission_detail.html b/apps/perms/templates/perms/asset_permission_detail.html index beaa5a362..9054d57fd 100644 --- a/apps/perms/templates/perms/asset_permission_detail.html +++ b/apps/perms/templates/perms/asset_permission_detail.html @@ -206,7 +206,7 @@ $(document).ready(function () { }) .on('click', '.btn-delete-perm', function () { var $this = $(this); - var name = "{{ asset_permission.name }}"; + var name = "{{ object.name }}"; var uid = "{{ object.id }}"; var the_url = '{% url "api-perms:asset-permission-detail" pk=DEFAULT_PK %}'.replace('{{ DEFAULT_PK }}', uid); var redirect_url = "{% url 'perms:asset-permission-list' %}"; From 2259bc5ea2c329a782d18666b5b53b7d10e54e3e Mon Sep 17 00:00:00 2001 From: BaiJiangJie Date: Tue, 16 Jul 2019 16:49:43 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[Update]=20=E4=BF=AE=E6=94=B9=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/jumpserver/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/jumpserver/const.py b/apps/jumpserver/const.py index c6b7e0e63..72350b1e4 100644 --- a/apps/jumpserver/const.py +++ b/apps/jumpserver/const.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- # -VERSION = '1.5.1' +VERSION = '1.5.2'