[UPDT] RECRUITMENT: Stage icons

This commit is contained in:
Horilla
2024-02-22 11:11:46 +05:30
parent 90be48c186
commit 01d08d6854
2 changed files with 7 additions and 4 deletions

View File

@@ -178,7 +178,7 @@
<button class="oh-btn oh-btn--x-small oh-kanban__add-section" onclick="event.stopPropagation()" data-action="toggle"
data-target="#addStageModal" hx-get="{% url 'stage-creation' rec.id %}" hx-target="#stageForm" data-toggle="oh-modal-toggle" data-class="d-none">
<ion-icon class="me-1" name="add-outline"></ion-icon>
{% trans "Add Stage" %}
{% trans "Stage" %}
</button>
</div>
{% endif %}

View File

@@ -356,9 +356,12 @@
{% if perms.recruitment.add_stage or request.user|recruitment_manages:rec %}
<div>
{% include 'pipeline/form/stage_drop_down_form.html' %}
</div>
<div class="oh-kanban__add-container">
<button class="oh-btn oh-btn--x-small oh-kanban__add-section"data-target="#addStageModal" data-toggle="oh-modal-toggle" hx-get="{% url "rec-stage-create" %}?recruitment_id={{rec.id}}" hx-target="#addStageModalBody">
<ion-icon class="me-1 md hydrated" name="add-outline" role="img" aria-label="add outline"></ion-icon>
{% trans "Stage" %}
</button>
</div>
{% endif %}
</div>