        >
              </li>
              {% endif %}
              {% if not rec.closed %}
                {% if perms.recruitment.change_recruitment or request.user|recruitment_manages:rec %}
                  <li class="oh-dropdown__item">
                    <a href="{% url 'recruitment-close-pipeline' rec.id %}" class="oh-dropdown__link"
                    onclick="return confirm('{% trans "Are you sure you want to close this recruitment?" %}');"
                    >{% trans "Close" %}</a
         