From: Stéphane Jacob Date: Tue, 13 Jan 2009 13:55:51 +0000 (+0100) Subject: Adds possibility to hide advanced name edition. X-Git-Tag: xorg/1.0.0~332^2~344^2~37 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e1082e206561844a788977f3ea676f78e4112a68;p=platal.git Adds possibility to hide advanced name edition. --- diff --git a/htdocs/javascript/profile.js b/htdocs/javascript/profile.js index 8d1544a..b54277f 100644 --- a/htdocs/javascript/profile.js +++ b/htdocs/javascript/profile.js @@ -107,9 +107,9 @@ function prepareType(i) selectType(document.forms.prof_annu["edus[" + i + "][degreeid]"], document.forms.prof_annu["edu_" + i + "_tmp"].value); } -function displayNamesAdvanced() +function toggleNamesAdvanced() { - $('.names_advanced').show(); + $('.names_advanced').toggle(); } function addSearchName() diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 1d563f6..5d5ef55 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -32,7 +32,7 @@ {$public_name} - + {icon name="page_edit" title="Plus de détail"}