From d45a7960b66bb590b6dd4ffd153f9e6eea350b98 Mon Sep 17 00:00:00 2001 From: Carsten Rose <carsten.rose@math.uzh.ch> Date: Tue, 1 May 2018 19:48:54 +0200 Subject: [PATCH] Manual.rst: update doc to downloadButton. --- extension/Documentation/Manual.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/extension/Documentation/Manual.rst b/extension/Documentation/Manual.rst index c4952415d..bb980e25c 100644 --- a/extension/Documentation/Manual.rst +++ b/extension/Documentation/Manual.rst @@ -3406,13 +3406,15 @@ See also `downloadButton`_ to offer a download of an uploaded file. .. _`downloadButton`: - * *downloadButton* = `<string>` - If given, shows a button to download the previous uploaded file - instead of the string given in - `fe.value`. It's important that `fe.value` points to a readable file on the server. + * *downloadButton* = `t:<string>` - If given, shows a button to download the previous uploaded file - instead of the string given in + `fe.value`. The button is only shown if `fe.value` points to a readable file on the server. - * If `downloadButton` ist empty, just shows the regular download glyph. + * If `downloadButton` is empty, just shows the regular download glyph. * To just show the filename: `downloadButton = t:{{filenameOnly:V}}` * Additional attributes might be given like `downloadButton = t:Download|o:check file`. Please check `download`_. + * The following attributes are hard coded (can't be changed): `s|M:file|d|F` + * fileSplit, fileDestinationSplit, tableNameSplit: see split-pdf-upload_ Immediately after the upload finished (before the user press save), the file will be checked on the server for it's -- GitLab