[UPDT] PMS: Edit link added in card view

This commit is contained in:
Horilla
2024-03-30 09:22:42 +05:30
parent 46a4093ba2
commit d5f0c651ce
2 changed files with 5 additions and 5 deletions

View File

@@ -15,8 +15,7 @@
<div class="oh-layout--grid-3">
{% for kr in krs %}
<div class="oh-kanban-card "
data-toggle="oh-modal-toggle" data-target = "#objectDetailsModal"
{% comment %} hx-get="{% url 'single-kr-view' kr.id %}?instances_ids={{kr_ids}}" hx-target = "#objectDetailsModalTarget" {% endcomment %}
>
<div class="oh-kanban-card__avatar">
<div class="oh-kanban-card__profile-container">
@@ -59,7 +58,10 @@
<ul class="oh-dropdown__items">
<li class="oh-dropdown__item">
<a onclick="event.stopPropagation();"
{% comment %} href="{% url 'update-allowance' allowance.id %}" {% endcomment %}
data-toggle="oh-modal-toggle"
data-target="#objectDetailsModal"
hx-get="{% url 'update-key-result' kr.id %}"
hx-target="#objectDetailsModalTarget"
>{% trans "Edit" %}</a>
</li>
<li class="oh-dropdown__item">

View File

@@ -70,8 +70,6 @@
</div>
{% for kr in krs %}
<div class="oh-sticky-table__tbody " draggable="true"
data-toggle="oh-modal-toggle" data-target = "#objectDetailsModal"
{% comment %} hx-get="{% url 'single-allowance-view' allowance.id %}?instances_ids={{allowance_ids}}" hx-target = "#objectDetailsModalTarget" {% endcomment %}
>
<div class="oh-sticky-table__tr ">
<div class="oh-sticky-table__sd" onclick="event.stopPropagation()">