liquid_feedback_frontend
view app/main/registration_admin/verification_cancelled.lua @ 1797:cdb2e4e28d86
Removed string 'hint'
| author | bsw | 
|---|---|
| date | Thu Oct 21 14:49:53 2021 +0200 (2021-10-21) | 
| parents | 7e328a78da93 | 
| children | 
 line source
     1 ui.title(function()
     2   ui.link { module = "registration_admin", view = "index", content = _"User management" }
     3   slot.put ( " ยป " )
     4   ui.tag { tag = "span", content = "Cancelled accounts"}
     5 end)
     6 app.html_title.title = _"User management"
     8 ui.container{ attr = { class = "mdl-grid" }, content = function()
     9   ui.container{ attr = { class = "mdl-cell mdl-cell--12-col" }, content = function()
    11     ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
    12       ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function()
    13         ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = function()
    14           ui.tag{ content = _"Cancelled accounts" }
    15         end }
    16       end }
    18       ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
    20         local verifications = Verification:new_selector()
    21           :join("member", nil, "member.id = verification.verified_member_id")
    22           :add_where("member.deleted NOTNULL")
    23           :add_order_by("requested DESC")
    24           :exec()
    26         if #verifications > 0 then
    27           execute.view{ module = "registration_admin", view = "_verification_list", params = { verifications = verifications } }
    28         end
    30       end }
    31     end }
    33   end }
    34 end }
