liquid_feedback_frontend
changeset 1664:fcf0bc8706f4
Format of initiative attachments
author | bsw |
---|---|
date | Mon Feb 15 14:37:18 2021 +0100 (2021-02-15) |
parents | 05d2f46c60c5 |
children | 97dfef4eb2d7 |
files | app/main/initiative/show.lua static/lf4.css |
line diff
1.1 --- a/app/main/initiative/show.lua Mon Feb 15 14:20:07 2021 +0100 1.2 +++ b/app/main/initiative/show.lua Mon Feb 15 14:37:18 2021 +0100 1.3 @@ -160,7 +160,7 @@ 1.4 1.5 if #files > 0 then 1.6 ui.container { 1.7 - attr = { class = "mdl-card__content mdl-card--border" }, 1.8 + attr = { class = "mdl-card__content mdl-card--border attachments" }, 1.9 content = function() 1.10 for i, file in ipairs(files) do 1.11 ui.link{ module = "file", view = "show.jpg", id = file.id, content = function() 1.12 @@ -170,7 +170,6 @@ 1.13 ui.tag{ tag = "strong", content = file.title or "" } 1.14 end } 1.15 ui.container{ content = file.description or "" } 1.16 - slot.put("<br /><br />") 1.17 end 1.18 end 1.19 }