From 0d3eb604eeecfa86ea6bb494317c5d1289c58401 Mon Sep 17 00:00:00 2001 From: Horilla Date: Wed, 15 Oct 2025 11:21:40 +0530 Subject: [PATCH] [UPDT] ASSET: Updated asset batch detail view button for V2 --- .../cbv/asset_batch_no/detail_actions.html | 57 ++++++++++++------- 1 file changed, 36 insertions(+), 21 deletions(-) diff --git a/asset/templates/cbv/asset_batch_no/detail_actions.html b/asset/templates/cbv/asset_batch_no/detail_actions.html index e1a964cc1..cc36a05e3 100644 --- a/asset/templates/cbv/asset_batch_no/detail_actions.html +++ b/asset/templates/cbv/asset_batch_no/detail_actions.html @@ -1,27 +1,42 @@ {% load static i18n %} -{% if perms.asset.change_assetlot %} - - - -{% endif %} +
+ {% if perms.asset.change_assetlot %} + + + + {% endif %} -{% if perms.asset.delete_assetlot %} - -
- {% csrf_token %} - -
- -{% endif %} + + {% endif %} +