diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-18 21:18:49 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-04-18 21:18:49 -0700 |
commit | 397fef519c7929c70636c50015f7a0389062bab5 (patch) | |
tree | 367d423542595fb831f3e06318a1a628871bea4d /view/tpl | |
parent | 53bd0146bb9a924a103646db0b628ede28d294a1 (diff) | |
download | volse-hubzilla-397fef519c7929c70636c50015f7a0389062bab5.tar.gz volse-hubzilla-397fef519c7929c70636c50015f7a0389062bab5.tar.bz2 volse-hubzilla-397fef519c7929c70636c50015f7a0389062bab5.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.tpl | 3 |
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> |