From: Emmanuel S. <se...@us...> - 2004-12-15 13:26:43
|
Update of /cvsroot/bugzilla-fr/Bugzilla-fr_2.18/fr/default/reports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23115/default/reports Modified Files: create-chart.html.tmpl series-common.html.tmpl series.html.tmpl Log Message: derniere partie des modifs 2.18rc2 -> 2.18rc3 Index: create-chart.html.tmpl =================================================================== RCS file: /cvsroot/bugzilla-fr/Bugzilla-fr_2.18/fr/default/reports/create-chart.html.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** create-chart.html.tmpl 20 Nov 2004 00:54:08 -0000 1.2 --- create-chart.html.tmpl 15 Dec 2004 13:26:32 -0000 1.3 *************** *** 61,73 **** <form method="get" action="chart.cgi" name="chartform"> ! <p> ! <span style="color: red"> ! Note: ce nouveau système de graphique est en beta. Ceci veut dire que la retenue ! de donnés ou de séries de donnés definies sera faite du mieux possible seulement, ! et ne peux être garantie. Rapportez tout [% terms.bugs %] que vous ! trouvez ou toute idée d'amélioration que vous vient à l'esprit. ! </span> ! </p> ! <table cellpadding="2" cellspacing="2" border="0"> [% IF NOT category OR category.size == 0 %] --- 61,65 ---- <form method="get" action="chart.cgi" name="chartform"> ! <table cellpadding="2" cellspacing="2" border="0"> [% IF NOT category OR category.size == 0 %] *************** *** 80,86 **** <tr> <th>Catégorie :</th> ! <noscript><th></th></noscript> <th>Sous-catégorie :</th> ! <noscript><th></th></noscript> <th>Nom :</th> <th><br> --- 72,78 ---- <tr> <th>Catégorie :</th> ! <th></th> <th>Sous-catégorie :</th> ! <th></th> <th>Nom :</th> <th><br> *************** *** 94,102 **** subcatSelected();" } %] ! <noscript> ! <td> <input type="submit" name="action-assemble" value="Mettre à jour -->"> ! </td> ! </noscript> [% PROCESS series_select sel = { name => 'subcategory', --- 86,94 ---- subcatSelected();" } %] ! <td> ! <noscript> <input type="submit" name="action-assemble" value="Mettre à jour -->"> ! </noscript> ! </td> [% PROCESS series_select sel = { name => 'subcategory', *************** *** 104,112 **** onchange = "subcatSelected()" } %] ! <noscript> ! <td> <input type="submit" name="action-assemble" value="Mettre à jour --%gt;"> ! </td> ! </noscript> <td align="left"> --- 96,104 ---- onchange = "subcatSelected()" } %] ! <td> ! <noscript> <input type="submit" name="action-assemble" value="Mettre à jour --%gt;"> ! </noscript> ! </td> <td align="left"> *************** *** 114,121 **** --- 106,117 ---- <select name="name" id="name" style="width: 15em" size="5" multiple="multiple" + [%+ "disabled=\"disabled\"" UNLESS name.keys.size %]> [% FOREACH x = name.keys.sort %] <option value="[% name.$x FILTER html %]"> [% x FILTER html %]</option> [% END %] + [% UNLESS name.keys.size %] + <option value="" disabled="disabled"></option> + [% END %] </select> </label> *************** *** 131,134 **** --- 127,132 ---- <script language="JavaScript" type="text/javascript"> document.chartform.category[0].selected = true; + document.chartform.subcategory.disabled = ''; + document.chartform.name.disabled = ''; catSelected(); subcatSelected(); *************** *** 145,149 **** <th>Série de Données</th> <th></th> - <th></th> </tr> --- 143,146 ---- *************** *** 191,206 **** <td align="center"> - [% IF NOT series.public %] - [% IF series.isSubscribed(user.id) %] - <input type="submit" value="Unsubscribe" style="width: 12ex;" - name="action-unsubscribe[% series.series_id %]"> - [% ELSE %] - <input type="submit" value="Subscribe" style="width: 12ex;" - name="action-subscribe[% series.series_id %]"> - [% END %] - [% END %] - </td> - - <td align="center"> [% IF user.id == series.creator OR UserInGroup("admin") %] <a href="chart.cgi?action=edit&series_id= --- 188,191 ---- *************** *** 234,238 **** </td> <td></td> - <td></td> </tr> [% END %] --- 219,222 ---- *************** *** 256,260 **** <td></td> ! <td valign="bottom" colspan="2"> <b>Date Range:</b> <input type="text" size="12" name="datefrom" --- 240,244 ---- <td></td> ! <td valign="bottom"> <b>Date Range:</b> <input type="text" size="12" name="datefrom" *************** *** 275,297 **** </form> - <h4>How Subscriptions Work</h4> - - <p> - Les administrateurs peuvent marquer des séries de données comme étant publiques, - qui apparaîtront ensuite dans les listes de tout le monde. Aucune autre n'est - publique et vous devrez vous y abonner explicetement pour qu'elles apparaissent - dans votre liste. - </p> - - <p> - Quand vous [% IF UserInGroup('editbugs') %] ! <a href="query.cgi?format=create-series">créez une nouvelle série de données</a>, ! [% ELSE %] ! créez une nouvelle série de données, ! [% END %] ! vous y êtes automatiquement abonné. Quand la dernière personne se desabonne d'une ! série de données, les données cessent d'être collectées. ! </p> [% PROCESS global/footer.html.tmpl %] --- 259,266 ---- </form> [% IF UserInGroup('editbugs') %] ! <h3><a href="query.cgi?format=create-series">Créer une Nouvelle Série de Données</a></h3> ! [% END %] [% PROCESS global/footer.html.tmpl %] + Index: series-common.html.tmpl =================================================================== RCS file: /cvsroot/bugzilla-fr/Bugzilla-fr_2.18/fr/default/reports/series-common.html.tmpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** series-common.html.tmpl 6 Sep 2004 20:41:14 -0000 1.1.1.1 --- series-common.html.tmpl 15 Dec 2004 13:26:33 -0000 1.2 *************** *** 31,35 **** [% name = subcategory.${default.subcategory} %] ! <script> [%# This structure holds details of the series the user can select from. %] var series = { --- 31,35 ---- [% name = subcategory.${default.subcategory} %] ! <script type="text/javascript"> [%# This structure holds details of the series the user can select from. %] var series = { *************** *** 103,111 **** <select name="[% sel.name %]" id="[% sel.name %]" size="[% sel.size %]" style="width: 15em" ! [%+ "onchange='$sel.onchange'" IF sel.onchange %]> [% FOREACH x = ${sel.name}.keys.sort %] <option value="[% x FILTER html %]" [% " selected" IF default.${sel.name} == x %]> [% x FILTER html %]</option> [% END %] [% IF newtext %] --- 103,115 ---- <select name="[% sel.name %]" id="[% sel.name %]" size="[% sel.size %]" style="width: 15em" ! [%+ "disabled=\"disabled\"" UNLESS ${sel.name}.keys.size || newtext %] ! [%+ "onchange=\"$sel.onchange\"" IF sel.onchange %]> ! [% FOREACH x = ${sel.name}.keys.sort %] <option value="[% x FILTER html %]" [% " selected" IF default.${sel.name} == x %]> [% x FILTER html %]</option> + [% ELSIF NOT ${sel.name}.keys.size %] + <option value="" disabled="disabled"></option> [% END %] [% IF newtext %] Index: series.html.tmpl =================================================================== RCS file: /cvsroot/bugzilla-fr/Bugzilla-fr_2.18/fr/default/reports/series.html.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** series.html.tmpl 20 Nov 2004 00:54:08 -0000 1.2 --- series.html.tmpl 15 Dec 2004 13:26:33 -0000 1.3 *************** *** 37,41 **** <tr> <th>Catégorie :</th> ! <noscript><th></th></noscript> <th>Sous-catégorie :</th> <th>Nom :</th> --- 37,41 ---- <tr> <th>Catégorie :</th> ! <th></th> <th>Sous-catégorie :</th> <th>Nom :</th> *************** *** 46,54 **** size => 5, onchange => "catSelected()" } %] ! <noscript> ! <td> <input type="submit" name="action-edit" value="Mise à jour -->"> ! </td> ! </noscript> [% PROCESS series_select sel = { name => 'subcategory', --- 46,54 ---- size => 5, onchange => "catSelected()" } %] ! <td> ! <noscript> <input type="submit" name="action-edit" value="Mise à jour -->"> ! </noscript> ! </td> [% PROCESS series_select sel = { name => 'subcategory', *************** *** 66,73 **** value="[% (default.frequency.0 OR 7) FILTER html %]"> <span style="font-weight: bold;"> jour(s)</span><br> [% IF UserInGroup('admin') %] <input type="checkbox" name="public" [% "checked='checked'" IF default.public.0 %]> ! <span style="font-weight: bold;">Visible pour tous</span> [% END %] </td> --- 66,76 ---- value="[% (default.frequency.0 OR 7) FILTER html %]"> <span style="font-weight: bold;"> jour(s)</span><br> + [%# Change 'admin' here and in Series.pm, or remove the check + completely, if you want to change who can make series public. %] [% IF UserInGroup('admin') %] <input type="checkbox" name="public" [% "checked='checked'" IF default.public.0 %]> ! <span style="font-weight: bold;">Visible pour tous<br> ! (compte tenu des restrictions de groupe)</span> [% END %] </td> *************** *** 79,83 **** maxlength="64" value="[% default.newcategory.0 FILTER html %]"> </td> ! <noscript><td></td></noscript> <td> <input type="text" style="width: 100%" name="newsubcategory" --- 82,86 ---- maxlength="64" value="[% default.newcategory.0 FILTER html %]"> </td> ! <td></td> <td> <input type="text" style="width: 100%" name="newsubcategory" |