liquid_feedback_frontend
diff app/main/member/show.lua @ 525:63d6549cc00b
Delegation chain preview improved, better visualisation of current context, code cleanup
| author | bsw |
|---|---|
| date | Fri May 18 19:07:07 2012 +0200 (2012-05-18) |
| parents | 87dd4f128206 |
| children | 5ca9de94cb13 |
line diff
1.1 --- a/app/main/member/show.lua Tue Apr 17 00:07:04 2012 +0200 1.2 +++ b/app/main/member/show.lua Fri May 18 19:07:07 2012 +0200 1.3 @@ -23,7 +23,6 @@ 1.4 slot.select("actions", function() 1.5 ui.link{ 1.6 content = function() 1.7 - ui.image{ static = "icons/16/clock_edit.png" } 1.8 slot.put(encode.html(_"Show member history")) 1.9 end, 1.10 module = "member", 1.11 @@ -39,6 +38,7 @@ 1.12 slot.put(" ") 1.13 end 1.14 if not (member.id == app.session.member.id) then 1.15 + slot.put(" · ") 1.16 --TODO performance 1.17 local contact = Contact:by_pk(app.session.member.id, member.id) 1.18 if contact then 1.19 @@ -47,7 +47,6 @@ 1.20 content = _"You have saved this member as contact." 1.21 } 1.22 ui.link{ 1.23 - image = { static = "icons/16/book_delete.png" }, 1.24 text = _"Remove from contacts", 1.25 module = "contact", 1.26 action = "remove_member", 1.27 @@ -64,7 +63,6 @@ 1.28 } 1.29 elseif member.activated then 1.30 ui.link{ 1.31 - image = { static = "icons/16/book_add.png" }, 1.32 text = _"Add to my contacts", 1.33 module = "contact", 1.34 action = "add_member", 1.35 @@ -82,11 +80,13 @@ 1.36 end 1.37 end 1.38 local ignored_member = IgnoredMember:by_pk(app.session.member.id, member.id) 1.39 + slot.put(" · ") 1.40 if ignored_member then 1.41 ui.container{ 1.42 attr = { class = "interest" }, 1.43 content = _"You have ignored this member" 1.44 } 1.45 + slot.put(" · ") 1.46 ui.link{ 1.47 text = _"Stop ignoring member", 1.48 module = "member",