renommer le modèle : plus cohérent avec le nom du plugin, et laisser le nom du modèle organization disponible pour un hypothètique plugin microdata.

les .item__sub redeviennent des span (flux inline par défaut)
svn/root/tags/v1.4.2
placido@roxing.net 7 years ago
parent 6abf73b7a5
commit ebcb7bc653

2
.gitattributes vendored

@ -8,7 +8,7 @@ balise/identite_.php -text
lang/identite_extra_fr.php -text
lang/paquet-identite_extra_fr.php -text
lang/plugin-identite_extra_fr.php -text
modeles/organization.html -text
modeles/identite_extra.html -text
/paquet.xml -text
prive/formulaires/configurer_identite_extra.html -text
prive/themes/spip/images/identite_extra-16.png -text

@ -7,20 +7,20 @@
[<div itemprop="name" class="item organization__nom">
<a itemprop="url" href="#URL_SITE_SPIP"><strong>(#IDENTITE_NOM_ORGANISATION)</strong></a>
</div>]
<div class="organization__adresse item" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
[<div class="item__sub">
<i class="icon-location"></i>
[<div class="organization__adresse item" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<i class="icon-location"></i>
<span class="item__sub">
<span class="#EDIT{meta-identite_extra/adresse}" itemprop="streetAddress">(#IDENTITE_ADRESSE)</span><span class="sep">, </span>
</div>
<div class="item__sub">
</span>
<span class="item__sub">
[<span class="#EDIT{meta-identite_extra/code_postal} code-postal zip" itemprop="postalCode">(#IDENTITE_CODE_POSTAL)</span>][
<span class="#EDIT{meta-identite_extra/ville} ville" itemprop="addressLocality">(#IDENTITE_VILLE)</span>][<span class="sep">, </span>
<span class="#EDIT{meta-identite_extra/region} region" itemprop="addressRegion">(#IDENTITE_REGION)</span>][<span class="sep">, </span>
<span class="#EDIT{meta-identite_extra/pays} pays" itemprop="addressCountry">(#IDENTITE_PAYS)</span>]
</div>]
</div>
[<div class="item organization__telephone">
</span>
</div>]
[<div class="organization__telephone item">
<i class="icon-phone"></i>
<span class="#EDIT{meta-identite_extra/telephone} telephone" itemprop="telephone">(#IDENTITE_TELEPHONE)</span>
</div>]
</div><!-- .schema-organization -->
</div><!-- .schema.organization -->
Loading…
Cancel
Save