Skip to content
Commit bfb2a914 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Honour "hide download" in the public share page



When the "hide download" property of a share is set the public share
page will not show the download button nor the menu with the download,
direct link and "Add to your Nextcloud" actions; the "downloadURL"
hidden field will not be included either in the generated HTML.

Despite that, note that the "downloadURL" parameter is still set and
passed to the template, as this could be needed anyway to generate
previews (for example, of audio files).

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent c237a3f0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment