annotate app/main/registration_admin/verification_cancelled.lua @ 1675:5039d071d361
Updated French translation
 | author | 
 bsw | 
 | date | 
 Tue Jun 01 14:24:03 2021 +0200 (2021-06-01) | 
 | parents | 
 7e328a78da93  | 
 | children | 
  | 
 
 | rev | 
   line source | 
| 
bsw/jbe@1309
 | 
     1 ui.title(function()
 | 
| 
bsw@1326
 | 
     2   ui.link { module = "registration_admin", view = "index", content = _"User management" }
 | 
| 
bsw/jbe@1309
 | 
     3   slot.put ( " ยป " )
 | 
| 
bsw/jbe@1309
 | 
     4   ui.tag { tag = "span", content = "Cancelled accounts"}
 | 
| 
bsw/jbe@1309
 | 
     5 end)
 | 
| 
bsw@1326
 | 
     6 app.html_title.title = _"User management"
 | 
| 
bsw/jbe@1309
 | 
     7 
 | 
| 
bsw/jbe@1309
 | 
     8 ui.container{ attr = { class = "mdl-grid" }, content = function()
 | 
| 
bsw/jbe@1309
 | 
     9   ui.container{ attr = { class = "mdl-cell mdl-cell--12-col" }, content = function()
 | 
| 
bsw/jbe@1309
 | 
    10 
 | 
| 
bsw/jbe@1309
 | 
    11     ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
 | 
| 
bsw/jbe@1309
 | 
    12       ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function()
 | 
| 
bsw/jbe@1309
 | 
    13         ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = function()
 | 
| 
bsw/jbe@1309
 | 
    14           ui.tag{ content = _"Cancelled accounts" }
 | 
| 
bsw/jbe@1309
 | 
    15         end }
 | 
| 
bsw/jbe@1309
 | 
    16       end }
 | 
| 
bsw/jbe@1309
 | 
    17 
 | 
| 
bsw/jbe@1309
 | 
    18       ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
 | 
| 
bsw/jbe@1309
 | 
    19 
 | 
| 
bsw/jbe@1309
 | 
    20         local verifications = Verification:new_selector()
 | 
| 
bsw/jbe@1309
 | 
    21           :join("member", nil, "member.id = verification.verified_member_id")
 | 
| 
bsw/jbe@1309
 | 
    22           :add_where("member.deleted NOTNULL")
 | 
| 
bsw/jbe@1309
 | 
    23           :add_order_by("requested DESC")
 | 
| 
bsw/jbe@1309
 | 
    24           :exec()
 | 
| 
bsw/jbe@1309
 | 
    25           
 | 
| 
bsw/jbe@1309
 | 
    26         if #verifications > 0 then
 | 
| 
bsw/jbe@1309
 | 
    27           execute.view{ module = "registration_admin", view = "_verification_list", params = { verifications = verifications } }
 | 
| 
bsw/jbe@1309
 | 
    28         end
 | 
| 
bsw/jbe@1309
 | 
    29       
 | 
| 
bsw/jbe@1309
 | 
    30       end }
 | 
| 
bsw/jbe@1309
 | 
    31     end }
 | 
| 
bsw/jbe@1309
 | 
    32 
 | 
| 
bsw/jbe@1309
 | 
    33   end }
 | 
| 
bsw/jbe@1309
 | 
    34 end }
 | 
| 
bsw/jbe@1309
 | 
    35 
 |