Fix button bar on home
This commit is contained in:
parent
8dad057598
commit
f11fe36865
1 changed files with 3 additions and 1 deletions
|
@ -25,14 +25,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wrapper button-bar">
|
<div class="wrapper">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col half center mwide">
|
<div class="col half center mwide">
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
|
<div class="button-bar {% if demo_map %}half{% endif %}">
|
||||||
<a href="{% url 'map_new' %}" class="button half">{% trans "Create a map" %}</a>
|
<a href="{% url 'map_new' %}" class="button half">{% trans "Create a map" %}</a>
|
||||||
{% if demo_map %}
|
{% if demo_map %}
|
||||||
<a href="{{ demo_map.get_absolute_url }}" class="button half neutral">{% trans "Play with the demo" %}</a>
|
<a href="{{ demo_map.get_absolute_url }}" class="button half neutral">{% trans "Play with the demo" %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue