summaryrefslogtreecommitdiff
path: root/app/Template/project_overview/description.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-16 21:12:43 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-16 21:12:43 -0500
commit8936792f6f7a408dae7e0a6a41274202822acd9c (patch)
treea07a005ef7095472f7a64779df85825fe30a97b2 /app/Template/project_overview/description.php
parent5bbc903dcab12dcf53abc40bf67c2cd7898e0420 (diff)
Add file attachements to projects
Diffstat (limited to 'app/Template/project_overview/description.php')
-rw-r--r--app/Template/project_overview/description.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Template/project_overview/description.php b/app/Template/project_overview/description.php
new file mode 100644
index 00000000..4137bf9f
--- /dev/null
+++ b/app/Template/project_overview/description.php
@@ -0,0 +1,8 @@
+<?php if (! empty($project['description'])): ?>
+ <div class="page-header">
+ <h2><?= $this->e($project['name']) ?></h2>
+ </div>
+ <article class="markdown">
+ <?= $this->text->markdown($project['description']) ?>
+ </article>
+<?php endif ?>