aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-18 21:18:49 -0700
committerMario Vavti <mario@mariovavti.com>2017-06-10 00:00:31 +0200
commit3389df77cc01cb7527623efebc9a640ad1454eb3 (patch)
tree6e50176c8856bfc12da7515fa18273a631ce71b3 /view/tpl
parent97732f70063325ac875498a413e9ac1b6fca51f5 (diff)
downloadvolse-hubzilla-3389df77cc01cb7527623efebc9a640ad1454eb3.tar.gz
volse-hubzilla-3389df77cc01cb7527623efebc9a640ad1454eb3.tar.bz2
volse-hubzilla-3389df77cc01cb7527623efebc9a640ad1454eb3.zip
give the item_obscured flag a new lease on life by using it to designate third party client-side e2ee or binary content which can only be downloaded and not viewed directly on the web (as a side effect this also allows binary files to be submitted as activities/content). The content display is suppressed and replaced with a download button. This is unfinished but harmless to backport while work is in progress unless told otherwise. Future development will take care of the remaining loose ends.
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/item_binary.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/item_binary.tpl b/view/tpl/item_binary.tpl
new file mode 100644
index 000000000..b19f7e7dd
--- /dev/null
+++ b/view/tpl/item_binary.tpl
@@ -0,0 +1,3 @@
+<p>
+<center><a class="zrl" href="{{$url}}"><button class="btn btn-warning fakelink">{{$download}}</button></a></center>
+</p>