[UPDT] HORILLA_THEME: Updated button color and margin in timesheet detail action

This commit is contained in:
Horilla
2025-10-20 11:32:34 +05:30
parent 0420df5b03
commit 83aad82ad1

View File

@@ -2,23 +2,22 @@
{% load basefilters %}
<div class="oh-btn-group w-100">
<a hx-get="{% url 'update-time-sheet' instance.id %}" hx-target="#genericModalBody" data-toggle="oh-modal-toggle"
data-target="#genericModal" class="oh-btn oh-btn--warning"
style="">
data-target="#genericModal" class="oh-btn oh-btn--info"
>
<ion-icon name="create-outline" role="img" class="md hydrated" aria-label="create outline"></ion-icon>
{% trans "Edit" %}
</a>
{% if perms.project.view_timesheet or request.user|is_reportingmanager %}
<a hx-get="{% url 'personal-time-sheet-view' instance.employee_id.id %}" class="oh-btn oh-btn--info me-1 ms-1"
<a hx-get="{% url 'personal-time-sheet-view' instance.employee_id.id %}?date={{instance.date}}" class="oh-btn oh-btn--warning"
hx-target="#objectDetailW75ModalTarget"
data-toggle="oh-modal-toggle"
data-target="#objectDetailW75Modal"
>
>
<ion-icon name="bar-chart" role="img" class="md hydrated" aria-label="create outline"></ion-icon>
{% trans "View Timesheet Chart" %}
</a>
{% endif %}
<a href="{% url 'delete-time-sheet' instance.id %}" class="oh-btn oh-btn--danger"
style=""
<a href="{% url 'delete-time-sheet' instance.id %}" class="oh-btn oh-btn--secondary"
onclick="event.preventDefault();event.stopPropagation(); confirm(`{% trans 'Do you want to delete this project?' %}`)">
<ion-icon name="trash-outline" role="img" class="md hydrated" aria-label="create outline"></ion-icon>
{% trans "Delete" %}