From: x2000coic Date: Mon, 6 Sep 2004 06:25:07 +0000 (+0000) Subject: bugfixes on fiche.tpl and css : X-Git-Tag: xorg/old~1566 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e048db772a62e8bb32224bc143f2b51f28635aaa;p=platal.git bugfixes on fiche.tpl and css : larger box for CV some bad alignements when only one address Don't show item title when item is null --- diff --git a/htdocs/css/default.css b/htdocs/css/default.css index 96adc3b..9a2d5a8 100644 --- a/htdocs/css/default.css +++ b/htdocs/css/default.css @@ -361,6 +361,7 @@ em.intitule { #fiche div.categorie{ float: left; + clear: left; color: purple; font-style: italic; font-size: medium; @@ -451,7 +452,7 @@ div.entreprise div.adr_pro{ #fiche_cv{ float: left; padding: 10px; - width: 25ex; + width: 500px; margin: 5px; } @@ -580,4 +581,4 @@ div.spacer { clear: both; } } /* vim: set et ts=4 sts=4 sw=4: */ -/* $Id: default.css,v 1.40 2004-09-05 21:19:01 x2000coic Exp $ */ +/* $Id: default.css,v 1.41 2004-09-06 06:25:07 x2000coic Exp $ */ diff --git a/templates/fiche.tpl b/templates/fiche.tpl index 9455013..406e7c6 100644 --- a/templates/fiche.tpl +++ b/templates/fiche.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: fiche.tpl,v 1.8 2004-09-05 20:15:09 x2000coic Exp $ + $Id: fiche.tpl,v 1.9 2004-09-06 06:25:10 x2000coic Exp $ ***************************************************************************} @@ -43,9 +43,9 @@
Photo de {$forlife}
- Section : {$section}
- Binet(s) : {$binets}
- Groupe(s) X : {$groupes}
+ {if $section}Section : {$section}
{/if} + {if $binets}Binet(s) : {$binets}
{/if} + {if $groupes}Groupe(s) X : {$groupes}
{/if} {if $mobile}Mobile : {$mobile}
{/if} {if $web}Site Web :
{$web}
{/if} {if $libre}
Commentaires :
{$libre|nl2br}{/if} @@ -57,8 +57,8 @@
{foreach from=$adr item="address" key="i"} -
-
{$address.title}
+
+
{$address.title}
{if $address.adr1 || $address.pays || $address.ville}
{if $address.adr1}{$address.adr1}
{/if}