Replace sectors by job terms in profile and search (job and mentoring).
[platal.git] / templates / profile / jobs.tpl
CommitLineData
3950bc21
FB
1{**************************************************************************}
2{* *}
9f5bd98e 3{* Copyright (C) 2003-2010 Polytechnique.org *}
3950bc21
FB
4{* http://opensource.polytechnique.org/ *}
5{* *}
6{* This program is free software; you can redistribute it and/or modify *}
7{* it under the terms of the GNU General Public License as published by *}
8{* the Free Software Foundation; either version 2 of the License, or *}
9{* (at your option) any later version. *}
10{* *}
11{* This program is distributed in the hope that it will be useful, *}
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14{* GNU General Public License for more details. *}
15{* *}
16{* You should have received a copy of the GNU General Public License *}
17{* along with this program; if not, write to the Free Software *}
18{* Foundation, Inc., *}
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
20{* *}
21{**************************************************************************}
22
3ac45f10 23{javascript name=jobtermstree}
37d44b3b 24{foreach from=$jobs item=job key=i}
2dcac0f5 25{include file="profile/jobs.job.tpl" i=$i job=$job new=false}
3950bc21
FB
26{/foreach}
27{if $jobs|@count eq 0}
2dcac0f5 28{include file="profile/jobs.job.tpl" i=0 job=0 new=true}
3950bc21
FB
29{/if}
30
31<div id="add_job" class="center">
32 <a href="javascript:addJob()">
33 {icon name=add title="Ajouter un emploi"} Ajouter un emploi
34 </a>
72e96bc0 35 <br/><br/>
3950bc21
FB
36</div>
37
72e96bc0
SJ
38<table class="bicol" style="margin-bottom: 1em" summary="Corps">
39 <tr>
40 <th colspan="2">
41 <div class="flags" style="float: left; text-align: left">
42 {include file="include/flags.radio.tpl" name="corps[pub]" val=$corps.pub}
43 </div>
44 Corps
45 </th>
46 </tr>
47 <tr>
48 <td class="titre">Corps d'origine</td>
49 <td>
50 <select name="corps[original]">
51 {foreach from=$original_corps item=o_corps}
52 <option value="{$o_corps.id}" {if $o_corps.id eq $corps.original}selected="selected"{/if}>{$o_corps.name}</option>
53 {/foreach}
54 </select>
55 </td>
56 </tr>
57 <tr>
58 <td class="titre">Corps actuel</td>
59 <td>
60 <select name="corps[current]">
61 {foreach from=$current_corps item=c_corps}
62 <option value="{$c_corps.id}" {if $c_corps.id eq $corps.current}selected="selected"{/if}>{$c_corps.name}</option>
63 {/foreach}
64 </select>
65 </td>
66 </tr>
67 <tr>
68 <td class="titre">Grade</td>
69 <td>
70 <select name="corps[rank]">
71 {foreach from=$corps_rank item=rank}
72 <option value="{$rank.id}" {if $rank.id eq $corps.rank}selected="selected"{/if}>{$rank.name}</option>
73 {/foreach}
74 </select>
75 </td>
76 </tr>
77</table>
78
2dcac0f5 79<table class="bicol" summary="CV" style="margin-top: 1.5em">
3950bc21
FB
80 <tr>
81 <th>
0c6cbd63 82 <div class="flags" style="float: left">
ee12da4e
FB
83 <input type="checkbox" name="accesCV" checked="checked" disabled="disabled" />
84 {icon name="flag_red" title="privé"}
0c6cbd63 85 </div>
2dcac0f5 86 Curriculum vitae
3950bc21
FB
87 </th>
88 </tr>
89 <tr>
90 <td>
91 <div style="float: left; width: 25%">
0c6cbd63 92 <div class="smaller" style="margin-top: 40px">
3950bc21
FB
93 <a href="Xorg/FAQ?display=light#cv" class="popup_800x480">
94 {icon name="lightbulb" title="Astuce"}Comment remplir mon CV&nbsp;?
95 </a><br />
96 <a href="wiki_help" class="popup3">
97 {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki
98 </a>
99 <div class="center">
100 <input type="submit" name="preview" value="Aperçu du CV"
101 onclick="previewWiki('cv', 'cv_preview', true, 'cv_preview'); return false;" />
102 </div>
103 </div>
104 </div>
105 <div style="float: right">
106 <div id="cv_preview" style="display: none"></div>
37d44b3b 107 <textarea name="cv" {if $errors.cv}class="error"{/if} id="cv" rows="15" cols="55">{$cv}</textarea>
3950bc21
FB
108 </div>
109 </td>
110 </tr>
111</table>
112
113{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}