Skip to content

Commit

Permalink
Update map.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeehan committed Aug 21, 2014
1 parent b596baf commit 57e9980
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spontaneousurbanplants/templates/map/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@
<nav class="map-nav attributes">
<ul>
{% for attribute in attribute_list %}
{% if attribute.icon %}
<li style="background-image:url({{ attribute.icon.url }})"><a data-tag="{{ attribute.hashtag }}"
data-name="{{ attribute.name }}: "
data-description="{{ attribute.description }}"
title="{{ attribute.name }}"
class="layer-link tooltip" href="#">{{ attribute.name }}</a></li>
{% endif %}
{% endfor %}
</ul>
</nav>
Expand All @@ -59,22 +61,26 @@
</ul>
<ul>
{% for plant in plant_list|slice:":6" %}
{% if plant.icon %}
<li class="pre" style="background-image:url({{ plant.icon.url }})"><a data-tag="{{ plant.hashtag }}"
data-name="{{ plant.latin_name }} "
data-description="({{ plant.common_name }})"
title="{{ plant.latin_name }}"
class="layer-link tooltip"
href="#">{{ plant.common_name }}</a></li>
{% endif %}
{% endfor %}
</ul>
<ul>
{% for plant in plant_list|slice:"6:" %}
{% if plant.icon %}
<li class="post" style="background-image:url({{ plant.icon.url }})"><a data-tag="{{ plant.hashtag }}"
data-name="{{ plant.latin_name }} "
data-description="({{ plant.common_name }})"
title="{{ plant.latin_name }}"
class="layer-link tooltip"
href="#">{{ plant.common_name }}</a></li>
{% endif %}
{% endfor %}
</ul>

Expand Down

0 comments on commit 57e9980

Please sign in to comment.