X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsearch%2Fadv.form.tpl;h=ee046843b7084390f548c03532dc0d9fe61f073b;hb=6b6e4ff22259786d71d3c43736ccbd50e9d59d9b;hp=ecc0301d591a20d2d7bff0b5f0210b459255d447;hpb=46ca73eadbd598ee219bdc48724e14c8c08b40ef;p=platal.git diff --git a/templates/search/adv.form.tpl b/templates/search/adv.form.tpl index ecc0301..ee04684 100644 --- a/templates/search/adv.form.tpl +++ b/templates/search/adv.form.tpl @@ -113,6 +113,15 @@ }); } + // when checking/unchecking "only_referent", disable/enable some fields + function changeOnlyReferent() { + if ($("#only_referent").is(':checked')) { + $("input[name='entreprise']").attr('disabled', true); + } else { + $("input[name='entreprise']").removeAttr('disabled'); + } + } + // when choosing a job term in tree, hide tree and set job term field function searchForJobTerm(treeid, jtid, full_name) { $(".term_tree").remove(); @@ -224,6 +233,10 @@ // to ensure that, we unset it $(this).parent().find('.autocompleteTarget').val(''); }); + + $("#only_referent").change(function() { changeOnlyReferent(); }); + changeOnlyReferent(); + }); /** Regexps to wipe out from search queries */ var default_form_values = [ /&woman=0(&|$)/, /&subscriber=0(&|$)/, /&alive=0(&|$)/, /&egal[12]=[^&]*&promo[12]=(&|$)/g, /&networking_type=0(&|$)/, /&[^&=]+=(&|$)/g ]; @@ -332,6 +345,27 @@ function cleanForm(f) { + A une redirection active + + + + + + + +
+ + + + + +
+ + + En vie @@ -400,7 +434,7 @@ function cleanForm(f) { - + @@ -482,6 +516,36 @@ function cleanForm(f) { + + + + + + + + + + + +
Description
Mots-clefs
Corps d'origine + +
Corps actuel + +
Grade + +
Commentaire contient