projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renames user_id to uid in requests related tables accordingly to our naming convention.
[platal.git]
/
templates
/
emails
/
alias.tpl
diff --git
a/templates/emails/alias.tpl
b/templates/emails/alias.tpl
index
f063252
..
a6253ee
100644
(file)
--- a/
templates/emails/alias.tpl
+++ b/
templates/emails/alias.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
08
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 *}
@@
-28,7
+28,7
@@
vérification, tu recevras un email te signalant l'ouverture de ces adresses.
</p>
<p>
vérification, tu recevras un email te signalant l'ouverture de ces adresses.
</p>
<p>
- Encore merci de nous faire confiance pour tes emails
!
+ Encore merci de nous faire confiance pour tes emails
!
</p>
{else}
<h1>
</p>
{else}
<h1>
@@
-37,6
+37,7
@@
{if $actuel}
{javascript name=ajax}
{if $actuel}
{javascript name=ajax}
+ {if $user->hasProfile()}
<table class="flags">
<tr>
<td class="orange">
<table class="flags">
<tr>
<td class="orange">
@@
-52,7
+53,7
@@
</td>
</tr>
</table>
</td>
</tr>
</table>
-
+ {/if}
{else}
<p>
Pour plus de <strong>convivialité</strong> dans l'utilisation de tes emails, tu peux choisir une adresse
{else}
<p>
Pour plus de <strong>convivialité</strong> dans l'utilisation de tes emails, tu peux choisir une adresse
@@
-93,20
+94,22
@@
<tr>
<td><input type="text" name="alias" value="{$r_alias}" />@{#globals.mail.alias_dom#} et @{#globals.mail.alias_dom2#}</td>
</tr>
<tr>
<td><input type="text" name="alias" value="{$r_alias}" />@{#globals.mail.alias_dom#} et @{#globals.mail.alias_dom2#}</td>
</tr>
+ {if $user->hasProfile()}
<tr>
<td>
<table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
<tr>
<td class="orange">
<tr>
<td>
<table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
<tr>
<td class="orange">
- <input type="checkbox" name="public" {if $mail_public}checked="checked"{/if}/>
+ <input type="checkbox" name="public" {if $mail_public}checked="checked"{/if}
id="pub_add"
/>
</td>
<td class="texte">
</td>
<td class="texte">
- adresse publique (apparaît sur ta fiche).
+
<label for="pub_add">
adresse publique (apparaît sur ta fiche).
</td>
</tr>
</table>
</td>
</tr>
</td>
</tr>
</table>
</td>
</tr>
+ {/if}
<tr>
<td>Brève explication :</td>
</tr>
<tr>
<td>Brève explication :</td>
</tr>
@@
-120,7
+123,7
@@
</form>
{if $actuel}
<form action="emails/alias/delete/{$actuel}" method="post"
</form>
{if $actuel}
<form action="emails/alias/delete/{$actuel}" method="post"
- onsubmit="return confirm('Es-tu sûr de vouloir supprimer {$actuel}
?')">
+ onsubmit="return confirm('Es-tu sûr de vouloir supprimer {$actuel}
?')">
{xsrf_token_field}
<table class="bicol" cellpadding="4" summary="Suppression d'alias">
<tr>
{xsrf_token_field}
<table class="bicol" cellpadding="4" summary="Suppression d'alias">
<tr>