[FIX] RECRUITMENT: Remove repeating template feature from the recruitment survey

This commit is contained in:
Horilla
2024-02-21 16:41:01 +05:30
parent 1bdf294564
commit 8573feabc8
2 changed files with 5 additions and 5 deletions

View File

@@ -9,9 +9,9 @@
<div class="oh-tabs__content oh-tabs__content--active" id="templateTab">
{% include "survey/template_accordion.html" %}
</div>
<div class="oh-tabs__content" id="template">
{% comment %} <div class="oh-tabs__content" id="template">
{% include "survey/templates.html" %}
</div>
</div> {% endcomment %}
<div class="oh-tabs__content" id="questionTab">
{% if questions %}
<div>

View File

@@ -152,7 +152,7 @@
<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" %}
{% trans "Templates" %}
{% if perms.recruitment.add_recruitmentsurvey %}
<button onclick="event.stopPropagation()" style="display: inline-block;padding: 0px;
border-radius: 6px;
@@ -196,7 +196,7 @@
</button>
{% endif %}
</li>
<li
{% comment %} <li
class="oh-tabs__tab"
data-target="#template"
>
@@ -219,7 +219,7 @@
<ion-icon name="add-outline" class="m-0 md hydrated" role="img" aria-label="add outline"></ion-icon>
</button>
{% endif %}
</li>
</li> {% endcomment %}
</ul>
<div class="oh-tabs__contents" id="view-container">
{% include "survey/survey_card.html" %}