From 04a5d15768f6477c117fe3b0ebff169eff731d68 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Fri, 22 Oct 2004 11:58:47 +0000 Subject: [PATCH] gray deads + not subscibed --- ChangeLog | 3 +++ htdocs/css/default.css | 11 ++++++++--- templates/search.form.tpl | 4 ++-- templates/search.tpl | 16 ++++++++-------- 4 files changed, 21 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4175de3..e5bc3ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,9 @@ Changes : - Brand New NewsLetter module. -MC - Convert old archive to new model. -Fco + * Search : + - dead members and non subsribed people are grayed. -MC + Fixes (from 0.9.0 branch) : * Lists : diff --git a/htdocs/css/default.css b/htdocs/css/default.css index 54916aa..137e2de 100644 --- a/htdocs/css/default.css +++ b/htdocs/css/default.css @@ -211,6 +211,11 @@ div.contact-list div.contact { color: inherit; } +div.grayed { + color: #444444; + font-style: italic; +} + div.contact div.nom { font-weight: bold; width: 35%; @@ -218,13 +223,13 @@ div.contact div.nom { } div.contact div.appli { - width: 49%; + width: 48%; float: left; } div.contact div.bits { text-align: right; - width: 16%; + width: 17%; float: left; } @@ -577,4 +582,4 @@ div.spacer { clear: both; } } /* vim: set et ts=4 sts=4 sw=4: */ -/* $Id: default.css,v 1.50 2004-10-16 14:36:09 x2000habouzit Exp $ */ +/* $Id: default.css,v 1.51 2004-10-22 11:58:47 x2000habouzit Exp $ */ diff --git a/templates/search.form.tpl b/templates/search.form.tpl index f424934..18f56db 100644 --- a/templates/search.form.tpl +++ b/templates/search.form.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: search.form.tpl,v 1.19 2004-10-22 11:18:04 x2000habouzit Exp $ + $Id: search.form.tpl,v 1.20 2004-10-22 11:58:47 x2000habouzit Exp $ ***************************************************************************}
@@ -243,7 +243,7 @@
{min_auth level='cookie'} - mettre les fiches modifiées récement en premier
+ mettre les fiches modifiées récemment en premier
{/min_auth}
diff --git a/templates/search.tpl b/templates/search.tpl index ab31e14..ac6aaa2 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: search.tpl,v 1.16 2004-10-14 11:58:26 x2000habouzit Exp $ + $Id: search.tpl,v 1.17 2004-10-22 11:58:47 x2000habouzit Exp $ ***************************************************************************} {dynamic} @@ -59,13 +59,13 @@ {section name=resultat loop=$resultats}
-
- {include file="search.result.public.tpl" result=$resultats[resultat]} - {min_auth level="cookie"} - {include file="search.result.private.tpl" result=$resultats[resultat]} - {/min_auth} -
-
+ {if !$resultats[resultat].inscrit || $resultats[resultat].decede}
{/if} + {include file="search.result.public.tpl" result=$resultats[resultat]} + {min_auth level="cookie"} + {include file="search.result.private.tpl" result=$resultats[resultat]} + {/min_auth} + {if !$resultats[resultat].inscrit || $resultats[resultat].decede}
{/if} +
{/section} -- 2.1.4