Only display zip in list of allowed extensions if zips are expected

This commit is contained in:
Gregor Kleen 2019-06-06 17:26:47 +02:00
parent 5173b6d653
commit 1cf20ac209

View File

@ -4,5 +4,5 @@ $maybe exts <- fmap toNullable permittedExtensions
<br>
_{MsgUploadModeExtensionRestriction}:
<ul .list--inline .list--comma-separated .list--iconless>
$forall ext <- zipExtensions <> exts
$forall ext <- bool id (mappend zipExtensions) doUnpack exts
<li style="font-family: monospace">#{ext}