diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-27 19:12:06 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-27 19:12:06 +0100 |
| commit | 71b4e94ff6b26a96908ab246966b525846459cc2 (patch) | |
| tree | 0d58b61afefd95b943e96123bb73dac8204cf942 | |
| parent | 160260db60f0e245bffe7e471d330ed923a7761b (diff) | |
| download | Chimère-71b4e94ff6b26a96908ab246966b525846459cc2.tar.bz2 Chimère-71b4e94ff6b26a96908ab246966b525846459cc2.zip | |
Template detail: more explicit auto-generated class name for properties
| -rw-r--r-- | chimere/templates/chimere/detail.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/templates/chimere/detail.html b/chimere/templates/chimere/detail.html index e3a2166..259df31 100644 --- a/chimere/templates/chimere/detail.html +++ b/chimere/templates/chimere/detail.html @@ -20,7 +20,7 @@ <p class='description'>{{ marker.description|sanitize:"p b i br hr strong em img:src:alt span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}</p> {% endif %} {% for property in marker.getProperties %} - <p class='{{property.propertymodel.getNamedId}}'>{{ property.label|sanitize:"p b i br hr strong em img:src:alt span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}</p> + <p class='property_{{property.propertymodel.slug}}'>{{ property.label|sanitize:"p b i br hr strong em img:src:alt span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}</p> {% endfor %} {% if marker.origin %}<p class='detail_source'><strong>{% trans "Source:" %}</strong> <span>{{marker.origin}}</span></p>{% endif %} {% if marker.license %}<p class='detail_license'><strong>{% trans "License:" %}</strong> <span>{{marker.license}}</span></p>{% endif %} |
