aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/show_thing.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-29 00:51:27 -0800
committerfriendica <info@friendica.com>2013-12-29 00:51:27 -0800
commitf36be066af66e4e21913de3e8b4da0c7a05349b1 (patch)
tree1e6d0019d9ad71eef18f7d9780f15627aa0ccb3a /view/tpl/show_thing.tpl
parent22f614feba8502a5fd040cc34dab2baa3087da3c (diff)
downloadvolse-hubzilla-f36be066af66e4e21913de3e8b4da0c7a05349b1.tar.gz
volse-hubzilla-f36be066af66e4e21913de3e8b4da0c7a05349b1.tar.bz2
volse-hubzilla-f36be066af66e4e21913de3e8b4da0c7a05349b1.zip
display_thing: it ain't much, but it's implemented.
Diffstat (limited to 'view/tpl/show_thing.tpl')
-rw-r--r--view/tpl/show_thing.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/tpl/show_thing.tpl b/view/tpl/show_thing.tpl
new file mode 100644
index 000000000..d37c9bb1a
--- /dev/null
+++ b/view/tpl/show_thing.tpl
@@ -0,0 +1,8 @@
+<h2>{{$header}}</h2>
+{{if $thing}}
+<div class="thing-show">
+{{if $thing.imgurl}}<img src="{{$thing.imgurl}}" width="175" height="175" alt="{{$thing.term}}" />{{/if}}
+<a href="{{$thing.url}}" >{{$thing.term}}</a>
+</div>
+{{/if}}
+