Browse Source

Ajouter une option pour une class arbitaireperso

svn/root/tags/v6.7.6
p@henix.be 5 years ago
parent
commit
d46142ab69
  1. 3
      lang/foundation_6_fr.php
  2. 2
      modeles/grille.html
  3. 6
      modeles/grille.yaml

3
lang/foundation_6_fr.php

@ -33,5 +33,6 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'grille_contenu' => "Contenu de l'élement",
'grille_large_up' => 'Grille large (desktop)',
'grille_medium_up' => 'Grille medium (Tablette)',
'grille_small_up' => 'Grille small (Smartphone)'
'grille_small_up' => 'Grille small (Smartphone)',
'modele_grille_class' => 'Class css'
);

2
modeles/grille.html

@ -1 +1 @@
<div class="#BLOCKGRID{#ARRAY{large-up, #ENV{large-up}, medium-up, #ENV{medium-up}, small-up, #ENV{small-up}}}">
<div class="[(#BLOCKGRID{#ARRAY{large-up, #ENV{large-up}, medium-up, #ENV{medium-up}, small-up, #ENV{small-up}}}) #ENV{class}]">

6
modeles/grille.yaml

@ -26,3 +26,9 @@ parametres:
nom: 'small-up'
label: '<:foundation_6:grille_small_up:>'
defaut: '2'
-
saisie: 'input'
options:
nom: 'class'
label: '<:foundation_6:modele_grille_class:>'
defaut: ''

Loading…
Cancel
Save