gray deads + not subscibed
authorx2000habouzit <x2000habouzit>
Fri, 22 Oct 2004 11:58:47 +0000 (11:58 +0000)
committerx2000habouzit <x2000habouzit>
Fri, 22 Oct 2004 11:58:47 +0000 (11:58 +0000)
ChangeLog
htdocs/css/default.css
templates/search.form.tpl
templates/search.tpl

index 4175de3..e5bc3ae 100644 (file)
--- 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 :
index 54916aa..137e2de 100644 (file)
@@ -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 $ */
index f424934..18f56db 100644 (file)
@@ -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 $
  ***************************************************************************}
 
 <div class="rubrique">
     <br />
     {min_auth level='cookie'}
     <input type='checkbox' name='mod_date_sort' {if $smarty.request.mod_date_sort}checked='checked'{/if} />
-    mettre les fiches modifiées récement en premier <br />
+    mettre les fiches modifiées récemment en premier <br />
     {/min_auth}
     <input type="submit" name="rechercher" value="Chercher" />
     </div>
index ab31e14..ac6aaa2 100644 (file)
@@ -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}
     {section name=resultat loop=$resultats}
     <div class="contact"
       {min_auth level='cookie'}title="fiche mise à jour le {$resultats[resultat].date|date_format:"%d %b %Y"}"{/min_auth}>
-      <div class="{if $resultats[resultat].inscrit==1}pri3{else}pri1{/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}
-        <div class="long"></div>
-      </div>
+      {if !$resultats[resultat].inscrit || $resultats[resultat].decede}<div class='grayed'>{/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}</div>{/if}
+      <div class="long"></div>
     </div>
     {/section}
   </div>