aboutsummaryrefslogtreecommitdiff
path: root/client/html/pool_summary.tpl
diff options
context:
space:
mode:
authorRuin0x112020-05-03 19:53:28 -0700
committerRuin0x112020-05-03 19:53:28 -0700
commitd59ecb8e230a55e6875076824723580bd3f4419b (patch)
tree34121668a4abb61fdeff0639d0c9567d0c398692 /client/html/pool_summary.tpl
parent6a95a66f12a5407cfd8ffa7e373f756236bf0bce (diff)
Add pool CRUD operations/pages
Diffstat (limited to 'client/html/pool_summary.tpl')
-rw-r--r--client/html/pool_summary.tpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/client/html/pool_summary.tpl b/client/html/pool_summary.tpl
new file mode 100644
index 0000000..7b7c763
--- /dev/null
+++ b/client/html/pool_summary.tpl
@@ -0,0 +1,23 @@
+<div class='content-wrapper pool-summary'>
+ <section class='details'>
+ <section>
+ Category:
+ <span class='<%= ctx.makeCssName(ctx.pool.category, 'pool') %>'><%- ctx.pool.category %></span>
+ </section>
+
+ <section>
+ Aliases:<br/>
+ <ul><!--
+ --><% for (let name of ctx.pool.names.slice(1)) { %><!--
+ --><li><%= ctx.makePoolLink(ctx.pool, false, false, name) %></li><!--
+ --><% } %><!--
+ --></ul>
+ </section>
+ </section>
+
+ <section class='description'>
+ <hr/>
+ <%= ctx.makeMarkdown(ctx.pool.description || 'This pool has no description yet.') %>
+ <p>This pool has <a href='<%- ctx.formatClientLink('posts', {query: ctx.escapeColons(ctx.pool.names[0])}) %>'><%- ctx.pool.postCount %> post(s)</a>.</p>
+ </section>
+</div>

© 2015 - 2026 Jakob L. Kreuze