35# fixed wishlist button

This commit is contained in:
Eligiusz Kurzawa 2021-01-17 10:23:43 +01:00
parent f75b316e43
commit 7b461d92b5
2 changed files with 3 additions and 3 deletions

View File

@ -229,11 +229,11 @@
<a href="{% url 'jobs:single_job' job.slug job.pk %}" class="btn btn-primary py-2 mr-1">Apply Job</a> <a href="{% url 'jobs:single_job' job.slug job.pk %}" class="btn btn-primary py-2 mr-1">Apply Job</a>
{% if job.id in wish_list %} {% if job.id in wish_list %}
<a href="javascripts:void(0);" id="jobwl{{ job.id }}" title="Remove from my wish list" onclick="addorremove({{ job.id }})" class="btn btn-danger rounded-circle btn-favorite d-flex align-items-center"> <a href="javascripts:void(0);" id="jobwl{{ job.id }}" title="Remove from my wish list" data-wl="1" onclick="addorremove({{ job.id }})" class="btn btn-danger rounded-circle btn-favorite d-flex align-items-center">
<span class="icon-heart"></span> <span class="icon-heart"></span>
</a> </a>
{% else %} {% else %}
<a href="javascripts:void(0);" id="jobwl{{ job.id }}" title="Add to my wish list" onclick="addorremove({{ job.id }})" class="btn btn-primary rounded-circle btn-favorite d-flex align-items-center"> <a href="javascripts:void(0);" id="jobwl{{ job.id }}" title="Add to my wish list" data-wl="0" onclick="addorremove({{ job.id }})" class="btn btn-primary rounded-circle btn-favorite d-flex align-items-center">
<span class="icon-heart"></span> <span class="icon-heart"></span>
</a> </a>
{% endif %} {% endif %}