liquid_feedback_frontend
diff model/member.lua @ 527:4cee33ad5e16
Completed support for config.public_access = "full"
author | bsw |
---|---|
date | Fri May 18 19:44:41 2012 +0200 (2012-05-18) |
parents | 63d6549cc00b |
children | 5ca9de94cb13 |
line diff
1.1 --- a/model/member.lua Fri May 18 19:21:45 2012 +0200 1.2 +++ b/model/member.lua Fri May 18 19:44:41 2012 +0200 1.3 @@ -467,7 +467,7 @@ 1.4 1.5 function Member.object:ui_field_text(args) 1.6 args = args or {} 1.7 - if app.session.member_id or config.public_access == "pseudonym" then 1.8 + if app.session.member_id or config.public_access == "pseudonym" or config.public_access == "full" then 1.9 -- ugly workaround for getting html into a replaced string and to the user 1.10 ui.container{label = args.label, label_attr={class="ui_field_label"}, content = function() 1.11 slot.put(string.format('<span><a href="%s">%s</a></span>',