forked from laysense/laysite
Check upstream versions and label article-driven components
This commit is contained in:
@@ -11,7 +11,13 @@ $e = View::escape(...);
|
||||
<?php foreach ($page['sections'] as $index => $item): ?>
|
||||
<?php $fixedSlot = $item['style'] === 'hero-links'; ?>
|
||||
<li>
|
||||
<div><strong><?= $e($item['title']) ?></strong><small>#<?= $e($item['key']) ?></small></div>
|
||||
<div>
|
||||
<div class="studio-component-label">
|
||||
<strong><?= $e($item['title']) ?></strong>
|
||||
<?php if (isset($item['feed'])): ?><span class="studio-dynamic-badge">动态</span><?php endif ?>
|
||||
</div>
|
||||
<small>#<?= $e($item['key']) ?></small>
|
||||
</div>
|
||||
<div class="actions studio-block-actions">
|
||||
<a class="button button-outline" href="/admin/pages/<?= $e($slug) ?>/<?= $e($item['key']) ?>">区块设置</a>
|
||||
<form method="post" action="/admin/page-blocks/<?= $e($slug) ?>">
|
||||
|
||||
Reference in New Issue
Block a user