From: Stéphane Jacob Date: Mon, 4 Aug 2008 20:01:00 +0000 (+0200) Subject: Adds the possibility to search on diplomas (closes #822), updates ChangeLog X-Git-Tag: xorg/0.10.0~146 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=90b6b8195365401519f8dacf41dc6bc7af2f22f0;hp=4654187fb35b854020d92abb17915856c35ef9d8;p=platal.git Adds the possibility to search on diplomas (closes #822), updates ChangeLog --- diff --git a/ChangeLog b/ChangeLog index 337309c..ae3c74f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ Bug/Wish: * Search: - #691: Adds search on postcode and thus on "arrondissements" -JAC - #791: Adds the possibility to do an exact search -JAC + - #822: Adds the possibility to search on diplomas -JAC ================================================================================ VERSION 0.9.17 19 07 2008 diff --git a/templates/search/adv.form.tpl b/templates/search/adv.form.tpl index 00dcde1..3aba3c2 100644 --- a/templates/search/adv.form.tpl +++ b/templates/search/adv.form.tpl @@ -79,20 +79,14 @@ $("[@name='diploma']").parent().load(baseurl + 'list/diploma/', { school:schoolId }, function() { if ($("select[@name='diploma']").children("option").size() > 1) { $("select[@name='diploma']").attr('value', '{/literal}{$smarty.request.diploma}{literal}'); - - $("tr#diploma_ln").show(); } else { $("select[@name='diploma']").attr('value', ''); - - $("tr#diploma_ln").hide(); } }); } else { $(".autocomplete[@name='schoolTxt']").removeClass('hidden_valid'); $("select[@name='diploma']").attr('value', ''); - - $("tr#diploma_ln").hide(); } } @@ -400,10 +394,10 @@ checked="checked"{/if}/>Chercher uniquement les adresses où les camarades sont {icon name="table" title="Toutes les formations"} - + Diplôme - +