看板初始化提交
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<div class="page-header">
|
||||
<h2><?= $this->text->e($file['name']) ?></h2>
|
||||
</div>
|
||||
<div class="file-viewer">
|
||||
<?php if ($file['is_image']): ?>
|
||||
<img src="<?= $this->url->href('FileViewerController', 'image', $params) ?>" alt="<?= $this->text->e($file['name']) ?>">
|
||||
<?php elseif ($type === 'markdown'): ?>
|
||||
<article class="markdown">
|
||||
<?= $this->text->markdown($content) ?>
|
||||
</article>
|
||||
<?php elseif ($type === 'text'): ?>
|
||||
<pre><?= $this->text->e($content) ?></pre>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user