Add a SIREN field to profile_jobs_enum.
[platal.git] / templates / admin / jobs.tpl
CommitLineData
4d336f59
SJ
1{**************************************************************************}
2{* *}
c441aabe 3{* Copyright (C) 2003-2014 Polytechnique.org *}
4d336f59
SJ
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
23<h1>Entreprises</h1>
24
25{if $jobs}
26<p>
27 Liste des entreprises correspondant à ta recherche&nbsp;:
28 <ul>
29 {foreach from=$jobs item=job}
30 <li>{$job.name}{if $job.acronym} ({$job.acronym}){/if}&nbsp;
31 <a href="admin/jobs/{$job.id}">{icon name="page_edit" title="Éditer"}</a></li>
32 {/foreach}
33 </ul>
34{/if}
35
36{if $selectedJob}
37<form action="admin/jobs/{$selectedJob.id}" method="post">
38{xsrf_token_field}
39 <table class="bicol">
40 <tr>
41 <th colspan="2">Entreprise n° {$selectedJob.id}</th>
42 </tr>
43 <tr>
44 <td>Nom</td>
45 <td><input type="text" name="name" value="{$selectedJob.name}" /></td>
46 </tr>
e4fb72eb 47 <tr>
4d336f59
SJ
48 <td>Acronyme</td>
49 <td><input type="text" name="acronym" value="{$selectedJob.acronym}" /></td>
50 </tr>
e4fb72eb 51 <tr>
4d336f59
SJ
52 <td>Page web</td>
53 <td><input type="text" name="url" value="{$selectedJob.url}" /></td>
54 </tr>
e4fb72eb 55 <tr>
4d336f59
SJ
56 <td>Adresse email</td>
57 <td><input type="text" name="email" value="{$selectedJob.email}" /></td>
58 </tr>
e4fb72eb 59 <tr>
a6dcf7ed
TM
60 <td>Code SIREN</td>
61 <td><input type="text" name="SIREN" value="{$selectedJob.SIREN}" /></td>
62 </tr>
63 <tr>
4d336f59
SJ
64 <td>Code NAF</td>
65 <td><input type="text" name="NAF_code" value="{$selectedJob.NAF_code}" /></td>
66 </tr>
e4fb72eb 67 <tr>
4d336f59
SJ
68 <td>Code AX</td>
69 <td><input type="text" name="AX_code" value="{$selectedJob.AX_code}" /></td>
70 </tr>
e4fb72eb 71 <tr>
4d336f59
SJ
72 <td>Identifiant de la holding</td>
73 <td><input type="text" name="holdingId" value="{$selectedJob.holdingId}" /></td>
74 </tr>
e4fb72eb 75 <tr>
4d336f59
SJ
76 <td>Nom de la holding</td>
77 <td>{$selectedJob.holdingName}</td>
78 </tr>
e4fb72eb 79 <tr>
4d336f59
SJ
80 <td>Acronyme de la holding</td>
81 <td>{$selectedJob.holdingAcronym}</td>
82 </tr>
83 <tr>
63596a65 84 <td>Adresse</td>
e4fb72eb 85 <td><textarea cols="30" rows="4" name="address">{$selectedJob.address}</textarea></td>
63596a65
SJ
86 </tr>
87 <tr>
88 <td>Téléphone</td>
89 <td><input type="text" name="tel" value="{$selectedJob.tel}" /></td>
90 </tr>
91 <tr>
92 <td>Fax</td>
93 <td><input type="text" name="fax" value="{$selectedJob.fax}" /></td>
94 </tr>
95 <tr>
4d336f59
SJ
96 <td>Remplacer par l'entreprise n°</td>
97 <td><input type="text" name="newJobId" /></td>
98 </tr>
99 </table>
100 <p>
101 Confirmation du remplacement de cette entreprise&nbsp;:&nbsp;
102 <input type="checkbox" name="change" /><br />
103 <input type="submit" name="edit" value="Éditer" />
104 </p>
105</form>
106{/if}
107
108<form action="" method="get">
109 <p>
110 Nom ou acronyme de l'entreprise&nbsp;:
111 <input type="text" name="job" value="{$askedJob}" /><br />
112 <input type="submit" name="search" value="Rechercher" />
113 </p>
114</form>
115
448c8cdc 116{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}