diff options
author | ConfuSomu | 2023-01-06 16:59:36 -0500 |
---|---|---|
committer | ConfuSomu | 2023-01-06 16:59:36 -0500 |
commit | 1beb256de0a6e0c92f2c23b29d0577f282ea165a (patch) | |
tree | 504d004d24ca1435a438db88fdbd7e5abda4c512 /src/templates/attachment.html | |
parent | 8c202e0719bb417f8e495cd4761799c6a694a26f (diff) | |
download | ActorViewer-1beb256de0a6e0c92f2c23b29d0577f282ea165a.tar ActorViewer-1beb256de0a6e0c92f2c23b29d0577f282ea165a.tar.gz ActorViewer-1beb256de0a6e0c92f2c23b29d0577f282ea165a.zip |
Show hyperlink with attachment filename
Only the hyperlink with filename is displayed for non-image attachment
file types.
Diffstat (limited to 'src/templates/attachment.html')
-rw-r--r-- | src/templates/attachment.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/templates/attachment.html b/src/templates/attachment.html index 4c7731c..33c452a 100644 --- a/src/templates/attachment.html +++ b/src/templates/attachment.html @@ -1,4 +1,5 @@ <h2>Attachment {{id}}</h2><br/> -<img src="{{path}}" style="display:span;float:none;" width="440"/> +<img src="{{path}}" style="float:none;" width="{{img-width}}"/> +<p><a href="{{path}}">{{filename}}</a></p> <p style="text-indent:5px;"><b>Alt:</b> {{alt-text}}</p> <hr width="80%" /> |