manager: change "add extra block" to a simple link (#10940)
This commit is contained in:
parent
a80bfe9d6c
commit
3912bcdaa9
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue