liquid_feedback_frontend
view env/ui/delegation.lua @ 1075:a85f7ea61ef6
Fixed error until first run of lf_update
author | bsw |
---|---|
date | Tue Jul 22 22:23:01 2014 +0200 (2014-07-22) |
parents | 701a5cf6b067 |
children |
line source
1 function ui.delegation(to_member_id, to_member_name)
2 local text = _"delegates to"
3 ui.image{
4 attr = { class = "delegation_arrow", alt = text, title = text },
5 static = "delegation_arrow_24_horizontal.png"
6 }
8 if to_member_id and to_member_name then
9 execute.view{
10 module = "member_image", view = "_show", params = {
11 member_id = to_member_id,
12 class = "micro_avatar",
13 image_type = "avatar",
14 popup_text = to_member_name,
15 show_dummy = true
16 }
17 }
18 end
19 end