[UPDT] RECRUITMENT: Recruitment survey template updation
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if perms.recruitment.add_recruitmentsurvey %}
|
||||
{% comment %} {% if perms.recruitment.add_recruitmentsurvey %}
|
||||
<button
|
||||
class="oh-btn oh-btn--secondary ml-2"
|
||||
data-toggle="oh-modal-toggle"
|
||||
@@ -146,13 +146,14 @@
|
||||
>
|
||||
<ion-icon name="add-sharp" class="mr-1"></ion-icon>{% trans "Create" %}
|
||||
</button>
|
||||
{% endif %}
|
||||
{% endif %} {% endcomment %}
|
||||
</div>
|
||||
</section>
|
||||
<div class="oh-tabs oh-wrapper">
|
||||
<ul class="oh-tabs__tablist">
|
||||
<li class="oh-tabs__tab oh-tabs__tab--active" data-target="#templateTab">
|
||||
{% trans "Template Groups" %}
|
||||
{% if perms.recruitment.add_recruitmentsurvey %}
|
||||
<button onclick="event.stopPropagation()" style="display: inline-block;padding: 0px;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
@@ -169,18 +170,55 @@
|
||||
>
|
||||
<ion-icon name="add-outline" class="m-0 md hydrated" role="img" aria-label="add outline"></ion-icon>
|
||||
</button>
|
||||
{% endif %}
|
||||
</li>
|
||||
<li
|
||||
class="oh-tabs__tab"
|
||||
data-target="#questionTab"
|
||||
>
|
||||
{% trans "Questions" %}
|
||||
{% if perms.recruitment.add_recruitmentsurvey %}
|
||||
<button onclick="event.stopPropagation()" style="display: inline-block;padding: 0px;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 50px;
|
||||
height: 28px;"
|
||||
class="oh-btn oh-btn--secondary-outline float-end ms-3"
|
||||
hx-get="{% url 'recruitment-survey-question-template-create' %}"
|
||||
hx-target="#templateModalBody"
|
||||
data-toggle="oh-modal-toggle"
|
||||
data-target="#templateModal"
|
||||
title="{% trans "Create survey questions" %}"
|
||||
>
|
||||
<ion-icon name="add-outline" class="m-0 md hydrated" role="img" aria-label="add outline"></ion-icon>
|
||||
</button>
|
||||
{% endif %}
|
||||
</li>
|
||||
<li
|
||||
class="oh-tabs__tab"
|
||||
data-target="#template"
|
||||
>
|
||||
{% trans "Templates" %}
|
||||
{% if perms.recruitment.add_recruitmentsurvey %}
|
||||
<button onclick="event.stopPropagation()" style="display: inline-block;padding: 0px;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 50px;
|
||||
height: 28px;"
|
||||
class="oh-btn oh-btn--secondary-outline float-end ms-3"
|
||||
hx-get="{% url 'survey-template-create' %}"
|
||||
hx-target="#templateModalBody"
|
||||
data-toggle="oh-modal-toggle"
|
||||
data-target="#templateModal"
|
||||
title="{% trans "Create template group" %}"
|
||||
>
|
||||
<ion-icon name="add-outline" class="m-0 md hydrated" role="img" aria-label="add outline"></ion-icon>
|
||||
</button>
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
<div class="oh-tabs__contents" id="view-container">
|
||||
|
||||
Reference in New Issue
Block a user