projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/platal-1.0.0'
[platal.git]
/
templates
/
xnetgrp
/
announce-edit.tpl
diff --git
a/templates/xnetgrp/announce-edit.tpl
b/templates/xnetgrp/announce-edit.tpl
index
e1317f1
..
b387273
100644
(file)
--- a/
templates/xnetgrp/announce-edit.tpl
+++ b/
templates/xnetgrp/announce-edit.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-26,6
+26,7
@@
function visibilityChange(box)
{
var state = (box.checked ? 'none' : '');
document.getElementById('promo_titre').style.display = state;
{
var state = (box.checked ? 'none' : '');
document.getElementById('promo_titre').style.display = state;
+ document.getElementById('promo_explanation').style.display = state;
document.getElementById('promo_min_tr').style.display = state;
document.getElementById('promo_max_tr').style.display = state;
document.getElementById('promo_range_tr').style.display = state;
document.getElementById('promo_min_tr').style.display = state;
document.getElementById('promo_max_tr').style.display = state;
document.getElementById('promo_range_tr').style.display = state;
@@
-136,7
+137,7
@@
function visibilityChange(box)
<tr>
<td class="titre">Date de péremption :</td>
<td>
<tr>
<td class="titre">Date de péremption :</td>
<td>
- {valid_date name="
peremption" value=$art.peremp
tion}
+ {valid_date name="
expiration" value=$art.expira
tion}
</td>
</tr>
{if $events}
</td>
</tr>
{if $events}
@@
-163,7
+164,10
@@
function visibilityChange(box)
</td>
</tr>
<tr id="promo_titre" {if $art.public}style="display: none"{/if}>
</td>
</tr>
<tr id="promo_titre" {if $art.public}style="display: none"{/if}>
- <th colspan="2">Promotions cibles</th>
+ <th colspan="2">Promotions d'entrée cibles</th>
+ </tr>
+ <tr id="promo_explanation" {if $art.public}style="display: none"{/if}>
+ <td colspan="2"><span class="smaller">{icon name=information} par exemple 2004 pour les X2004</span></td>
</tr>
{include file="include/field.promo.tpl" promo_min=$art.promo_min promo_max=$art.promo_max}
{if $art.public}
</tr>
{include file="include/field.promo.tpl" promo_min=$art.promo_min promo_max=$art.promo_max}
{if $art.public}