manager: change "add extra block" to a simple link (#10940)

This commit is contained in:
Frédéric Péters 2016-05-16 12:36:19 +02:00
parent a80bfe9d6c
commit 3912bcdaa9
2 changed files with 7 additions and 1 deletions

View File

@ -282,3 +282,9 @@ p.hint {
.manager-add-new-cell a + div {
display: inline-block;
}
#extra-placeholders ul {
list-style: circle;
margin-left: 0;
padding-left: 1.5em;
}

View File

@ -51,7 +51,7 @@
<h2>Extra blocks</h2>
<ul>
{% for placeholder in extra_placeholders %}
<li><button data-add-url="{% url 'combo-manager-page-add-cell' page_pk=object.id cell_type=unlock.cell_type_str variant=unlock.variant ph_key=placeholder.key %}">→ {{ placeholder.name }}</button></li>
<li><a href="{% url 'combo-manager-page-add-cell' page_pk=object.id cell_type=unlock.cell_type_str variant=unlock.variant ph_key=placeholder.key %}">{{ placeholder.name }}</a></li>
{% endfor %}
</ul>
</div>