diff --git a/community/templates/_tags_filtering_form.html b/community/templates/_tags_filtering_form.html index 4a834f12..efdf71de 100644 --- a/community/templates/_tags_filtering_form.html +++ b/community/templates/_tags_filtering_form.html @@ -6,15 +6,17 @@
-
- - - {% trans 'Mostrar solo ofertas activas' %} +
diff --git a/joboffers/templates/joboffers/joboffer_list.html b/joboffers/templates/joboffers/joboffer_list.html index 6054ec36..4f348ad7 100644 --- a/joboffers/templates/joboffers/joboffer_list.html +++ b/joboffers/templates/joboffers/joboffer_list.html @@ -22,7 +22,7 @@

{{ object.short_description}}

- {% include "jobs/_jobs_tags.html" %} + {% include "joboffers/_tags.html" %}

{% trans 'Leer más...' %}

diff --git a/static/js/tag_filtering.js b/static/js/tag_filtering.js index 26cc0342..63b9ccfe 100644 --- a/static/js/tag_filtering.js +++ b/static/js/tag_filtering.js @@ -32,3 +32,9 @@ $("#tags-form").submit(function() { ).prop('disabled', true); return true; }); + + +$("#show-active").click(function() { + this.form.active.value=this.checked; + $("#buscar").click(); +});