Adds explaination about job keywords in profile edition (Closes #1288).
authorStéphane Jacob <sj@m4x.org>
Fri, 7 Jan 2011 14:31:37 +0000 (15:31 +0100)
committerStéphane Jacob <sj@m4x.org>
Fri, 7 Jan 2011 14:31:37 +0000 (15:31 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
htdocs/javascript/profile.js
templates/profile/jobs.job.tpl

index b70fb06..ff6c312 100644 (file)
@@ -638,6 +638,8 @@ function selectJobTerm(li)
  */
 function toggleJobTermsTree(jobid, textfilter)
 {
+    $('#term_tree_comment').toggle();
+
     var treepath;
     if (jobid < 0) {
         treepath = '';
index f350a6a..a39bec9 100644 (file)
       <td colspan="2" class="term_tree">
       </td>
     </tr>
+    <tr class="pair" id="term_tree_comment" style="display: none">
+      <td colspan="2" class="center"><small>La catégorie « Emplois » donne une liste de métiers, « Secteurs d'activité » décrit des secteurs.</small></td>
+    </tr>
     <tr class="pair" {if $hiddenjob}style="display: none"{/if}>
       <td class="titre">Description</td>
       <td>