backports murph-skeleton
This commit is contained in:
parent
d743764f27
commit
6c205e7d67
|
@ -242,6 +242,10 @@ class Page implements EntityInterface
|
|||
|
||||
public function setOgImage($ogImage): self
|
||||
{
|
||||
if ($this->ogImage !== null && $ogImage === null) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
$this->ogImage = $ogImage;
|
||||
|
||||
return $this;
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
{% endif %}
|
||||
{% endset -%}
|
||||
|
||||
<tr data-dblclick="{{ dbClick }}">
|
||||
<tr data-dblclick="{{ dbClick }}" class="{{ loop.index is odd ? 'is-odd' : 'is-even' }}">
|
||||
{% for config in configuration.fields('index') %}
|
||||
{% set attr = config.options.attr is defined ? config.options.attr : [] %}
|
||||
{% set action = config.options.action is defined ? config.options.action : null %}
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
{% set edit = path('admin_site_node_edit', {entity: node.id}) %}
|
||||
{% set new = path('admin_site_node_new', {node: node.id}) %}
|
||||
|
||||
<div class="list-group-item">
|
||||
<div class="list-group-item" id="node-{{ node.id }}">
|
||||
<div class="row">
|
||||
<div class="col-6" style="padding-left: {{ (node.treeLevel - 1) * 30 }}px">
|
||||
{{ node.label }}
|
||||
|
|
Loading…
Reference in a new issue