aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/sources_list.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/sources_list.tpl')
-rw-r--r--view/tpl/sources_list.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/view/tpl/sources_list.tpl b/view/tpl/sources_list.tpl
new file mode 100644
index 000000000..76be35b1a
--- /dev/null
+++ b/view/tpl/sources_list.tpl
@@ -0,0 +1,17 @@
+<div class="generic-content-wrapper-styled">
+<h1>{{$title}}</h1>
+
+<div class="descriptive-text">{{$desc}}</div>
+
+<div class="sources-links">
+<a href="sources/new">{{$new}}</a>
+</div>
+
+{{if $sources}}
+<ul class="sources-list">
+{{foreach $sources as $source}}
+<li><a href="sources/{{$source.src_id}}">{{$source.xchan_name}}</a></li>
+{{/foreach}}
+</ul>
+{{/if}}
+</div>