Project

General

Profile

Développement #8907

inclure les mots-clés dans le rendu de la page

Added by Frédéric Péters over 9 years ago. Updated over 9 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
07 November 2015
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

Pour permettre via CSS de toucher un élément ou une catégorie contenant un mot clé.


Files

Associated revisions

Revision fa58317d (diff)
Added by Frédéric Péters over 9 years ago

misc: add data-keywords attributes on formdef and categories elements (#8907)

Revision 78e14232 (diff)
Added by Frédéric Péters over 9 years ago

misc: add data-keywords attributes on formdef and categories elements (#8907)

History

#1

Updated by Frédéric Péters over 9 years ago

Ça peut par exemple permettre de cacher les éléments qui n'ont pas le mot-clé "mobile" :

       #services > ul > li li:not([data-keywords~=mobile]) {
               display: none;
       }
#2

Updated by Thomas Noël over 9 years ago

Et pourquoi pas dans wcs ?

#3

Updated by Frédéric Péters over 9 years ago

Le code de rendu de la page d'accueil est tout différent dans wcs mais voici un patch pour y faire la même chose.

#4

Updated by Thomas Noël over 9 years ago

Ack (pour les deux)

#5

Updated by Frédéric Péters over 9 years ago

  • Status changed from En cours to Résolu (à déployer)
commit fa58317d731bd562d5b09f3d78dfa161050613a5
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sat Nov 7 16:47:15 2015 +0100

    misc: add data-keywords attributes on formdef and categories elements (#8907)

et

commit 78e14232c9a181286c661486800b97ea827aa0cb
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sat Nov 7 15:15:15 2015 +0100

    misc: add data-keywords attributes on formdef and categories elements (#8907)
#6

Updated by Frédéric Péters over 9 years ago

  • Status changed from Résolu (à déployer) to Fermé
  • Target version set to v1.22

Also available in: Atom PDF