liquid_feedback_frontend
changeset 1319:00612e1ca36a
Allow external registration cancel target
author | bsw |
---|---|
date | Wed Aug 01 17:52:52 2018 +0200 (2018-08-01) |
parents | 39447c822336 |
children | cb5c83df949f |
files | app/main/registration/register.lua |
line diff
1.1 --- a/app/main/registration/register.lua Wed Aug 01 17:50:02 2018 +0200 1.2 +++ b/app/main/registration/register.lua Wed Aug 01 17:52:52 2018 +0200 1.3 @@ -81,6 +81,12 @@ 1.4 } 1.5 end 1.6 slot.put(" ") 1.7 + if config.self_registration.cancel_link then 1.8 + ui.link{ 1.9 + attr = { class = "mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--underlined" }, 1.10 + external = config.self_registration.cancel_link, text = _"Cancel" 1.11 + } 1.12 + 1.13 ui.link{ 1.14 attr = { class = "mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--underlined" }, 1.15 module = "index", view = "login", text = _"Cancel", params = {