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.tpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/view/tpl/sources_list.tpl b/view/tpl/sources_list.tpl
new file mode 100644
index 000000000..5fe50ba98
--- /dev/null
+++ b/view/tpl/sources_list.tpl
@@ -0,0 +1,15 @@
+<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}} \ No newline at end of file