fixing misplaced apostrophe
[koha_fer] / koha-tmpl / intranet-tmpl / prog / fr / modules / suggestion / acceptorreject.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo;  Gestion des suggestion</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/JavaScript">
5  // <![CDATA[
6     /**
7      *  check(form);
8      *  This function check the form before submit it.
9      */
10      /*
11      function check(form){
12         return true;
13      }
14      */
15         /**
16          *  displayOther.
17          *  This function display the select or an textaera to write a reason.
18          */
19         function displayOther(id) {
20                 var spanselect = document.getElementById("span-select-reason"+id);
21                 var spanother = document.getElementById("span-other-reason"+id);
22         var select = spanselect.firstChild.nextSibling; 
23         
24                 if(select.value != "other"){
25                         return;
26                 }
27                 if(spanother.getAttribute('class')=='content_visible'){
28                         spanother.removeAttribute('class');
29                         spanselect.removeAttribute('class');
30                         spanother.setAttribute('class','content_hidden');
31                         spanselect.setAttribute('class','content_visible');
32                 }
33                 else{
34                         spanother.removeAttribute('class');
35                         spanselect.removeAttribute('class');
36                         spanselect.setAttribute('class','content_hidden');
37                         spanother.setAttribute('class','content_visible');                      
38                 }
39         }
40 // ]]>
41 </script>
42 </head>
43 <body>
44 <!-- TMPL_INCLUDE NAME="header.inc" -->
45 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
46
47 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Accueil</a> &rsaquo; Gestion des suggestions</div>
48
49 <div id="doc3" class="yui-t2">
50    
51    <div id="bd">
52         <div id="yui-main">
53         <div class="yui-b">
54
55     <h1>Gestion suggestions</h1>
56     
57     <div id="action">
58         <a href="/cgi-bin/koha/suggestion/acceptorreject.pl?op=accepted">Accepté</a> <a href="/cgi-bin/koha/suggestion/acceptorreject.pl?op=aorr_confirm">En attente</a> <a href="/cgi-bin/koha/suggestion/acceptorreject.pl?op=rejected">Rejeté</a>
59     </div>
60
61 <!-- TMPL_IF name="op_else" -->
62     <!-- TMPL_IF NAME="suggestions_loop" -->
63     <b>Suggestions en attente,</b> accepter ou rejeter ces suggestions en le justifiant.
64     <form name="f" method="post" action="/cgi-bin/koha/suggestion/acceptorreject.pl">
65     <input type="hidden" name="op" value="aorr_confirm" />
66     <table>
67         <tr>
68             <th>Etat</th>
69             <th>Raison</th>
70             <th>Suggestion</th>
71             <th>Suggéré par</th>
72         </tr>
73         <!-- TMPL_LOOP NAME="suggestions_loop" -->
74             <tr<!-- TMPL_IF name="even" --> class="highlight"<!-- /TMPL_IF -->>
75                 <td>
76                     <select name="aorr">
77                         <option value=""> -- Choisir une action -- </option>
78                         <option value="R<!--TMPL_VAR name="suggestionid" -->">Rejeter</option>
79                         <option value="A<!--TMPL_VAR name="suggestionid" -->">Accepter</option>
80                     </select>
81                 </td>
82                 <td>
83
84                             <span id="span-select-reason<!-- TMPL_VAR NAME="suggestionid" -->" class="content_visible">
85                         <select name="reason<!-- TMPL_VAR name="suggestionid" -->" onchange="displayOther('<!-- TMPL_VAR NAME="suggestionid" -->');">
86                                         <option value=""> -- Choisir un motif -- </option>
87                             <!-- TMPL_LOOP NAME="reasonsloop" -->
88                                 <option value="<!-- TMPL_VAR NAME="lib" -->"><!-- TMPL_VAR NAME="lib" --></option>
89                             <!-- /TMPL_LOOP -->
90                                         <option value="other">Autres...</option>
91                         </select>
92                     <!-- TMPL_UNLESS NAME="reasonsloop"-->
93                         <span class="problem">Pas de raisons définies</span> <a href="/cgi-bin/koha/admin/authorised_values.pl">Valeur autorisée</a>
94                     <!-- /TMPL_UNLESS -->
95                     </span>
96                     <span id="span-other-reason<!-- TMPL_VAR NAME="suggestionid" -->" class="content_hidden">
97                         <input type="text" name="other-reason<!-- TMPL_VAR name="suggestionid" -->" value="write your reason here..." onclick="if(this.value === 'write your reason here...'){this.value=''}" />
98                         <small><a href="JavaScript:displayOther('<!-- TMPL_VAR NAME="suggestionid" -->');">retour à la liste</a></small>
99                     </span>
100                 </td>
101                 <td>
102                 <!-- TMPL_VAR NAME="title" --><!-- TMPL_IF NAME="author" -->, par <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --><br />
103                     <!-- TMPL_IF name="copyrightdate" -->&copy; <!-- TMPL_VAR name="copyrightdate" --> <!-- /TMPL_IF -->
104                         <!-- TMPL_IF name="volumedesc" -->; Volume : <i><!-- TMPL_VAR name="volumedesc" --></i> <!-- /TMPL_IF -->
105                         <!-- TMPL_IF name="isbn" -->; ISBN : <i><!-- TMPL_VAR name="isbn" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="publishercode" -->; Edité par <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --><!-- TMPL_IF name="publicationyear" --> en <i><!-- TMPL_VAR name="publicationyear" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="place" --> en <i><!-- TMPL_VAR name="place" --></i> <!-- /TMPL_IF --><br /><!-- TMPL_IF name="note" --><!-- TMPL VAR NAME="note" --><!-- /TMPL_IF -->
106                 </td>
107                 <td>
108                     <!-- TMPL_VAR name="surnamesuggestedby" -->
109                     <!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF -->
110                     <!-- TMPL_VAR name="firstnamesuggestedby" -->
111                 </td>
112             </tr>
113         <!-- /TMPL_LOOP -->
114         </table>
115         <input type="submit" value="Valider état">
116 </form>
117 <!-- TMPL_ELSE -->
118     <b>Pas de suggestion en attente de validation ou rejet</b>
119 <!-- /TMPL_IF -->
120 <!-- /TMPL_IF -->
121
122 <!-- TMPL_IF NAME="done" -->
123     <br />
124     <!-- TMPL_IF NAME="op_accepted"-->
125         <b>Suggestions acceptées</b>
126     <!-- /TMPL_IF -->
127     <!-- TMPL_IF NAME="op_rejected"-->
128         <b>Suggestions rejetées</b>
129     <!-- /TMPL_IF -->
130     
131     <!-- TMPL_IF NAME="suggestions_loop" -->
132         <table>
133         <tr>
134             <th>Raison</th>
135             <th>Suggestion</th>
136             <th>Suggéré par</th>
137             <th>Date</th>
138         </tr>
139         <!-- TMPL_LOOP NAME="suggestions_loop" -->
140             <td>
141                 <!-- TMPL_VAR NAME="reason" -->
142             </td>
143             <td>
144                 <!-- TMPL_VAR NAME="title" -->
145                     <!-- TMPL_IF NAME="author" -->
146                         , par <!-- TMPL_VAR NAME="author" -->
147                     <!-- /TMPL_IF -->
148                     <br />
149                     <!-- TMPL_IF name="copyrightdate" -->
150                         © <!-- TMPL_VAR name="copyrightdate" -->
151                     <!-- /TMPL_IF -->
152                     <!-- TMPL_IF name="volumedesc" -->
153                         ; Volume : <i><!-- TMPL_VAR name="volumedesc" --></i>
154                     <!-- /TMPL_IF -->
155                     <!-- TMPL_IF name="isbn" -->
156                         ; ISBN : <i><!-- TMPL_VAR name="isbn" --></i>
157                     <!-- /TMPL_IF -->
158                     <!-- TMPL_IF name="publishercode" -->
159                         ; Edité par <!-- TMPL_VAR name="publishercode" -->
160                     <!-- /TMPL_IF -->
161                     <!-- TMPL_IF name="publicationyear" -->
162                         en <i><!-- TMPL_VAR name="publicationyear" --></i>
163                     <!-- /TMPL_IF -->
164                     <!-- TMPL_IF name="place" -->
165                         en <i><!-- TMPL_VAR name="place" --></i>
166                     <!-- /TMPL_IF -->
167                     <br />
168                     <!-- TMPL_IF name="note" -->
169                         <!-- TMPL VAR NAME="note" -->
170                     <!-- /TMPL_IF -->
171             </td>
172             <td>
173                 <!-- TMPL_VAR name="surnamesuggestedby" -->
174                 <!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF -->
175                 <!-- TMPL_VAR name="firstnamesuggestedby" -->
176             </td>
177             <td>
178                 <!-- TMPL_VAR NAME="date" -->
179             </td>
180          </tr>
181         <!-- /TMPL_LOOP -->
182         </table>
183     <!-- TMPL_ELSE -->
184         <br /><br />
185         Aucune suggestion n'a déjà été 
186         <!-- TMPL_IF NAME="op_accepted"-->
187             accepté.
188         <!-- TMPL_ELSE -->
189             rejeté.
190         <!-- /TMPL_IF -->
191     <!-- /TMPL_IF -->
192 <!-- /TMPL_IF -->
193
194
195 </div>
196 </div>
197 </div>
198 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->