liquid_feedback_frontend
diff app/main/contact/_list.lua @ 4:80c215dbf076
Version alpha5
Many optical changes and improved usability
Support for different wiki-formatting-engines
Help system
Many optical changes and improved usability
Support for different wiki-formatting-engines
Help system
| author | bsw/jbe |
|---|---|
| date | Thu Dec 10 12:00:00 2009 +0100 (2009-12-10) |
| parents | 3bfb2fcf7ab9 |
| children |
line diff
1.1 --- a/app/main/contact/_list.lua Mon Nov 30 12:00:00 2009 +0100 1.2 +++ b/app/main/contact/_list.lua Thu Dec 10 12:00:00 2009 +0100 1.3 @@ -2,7 +2,7 @@ 1.4 local contacts_selector = Contact:new_selector() 1.5 :add_where{ "member_id = ?", app.session.member.id } 1.6 :join("member", nil, "member.id = contact.other_member_id") 1.7 - :add_order_by("member.login") 1.8 + :add_order_by("member.name") 1.9 1.10 ui.paginate{ 1.11 selector = contacts_selector, 1.12 @@ -15,17 +15,6 @@ 1.13 records = contacts, 1.14 columns = { 1.15 { 1.16 - label = _"Login", 1.17 - content = function(record) 1.18 - ui.link{ 1.19 - text = record.other_member.login, 1.20 - module = "member", 1.21 - view = "show", 1.22 - id = record.other_member_id 1.23 - } 1.24 - end 1.25 - }, 1.26 - { 1.27 label = _"Name", 1.28 content = function(record) 1.29 ui.link{ 1.30 @@ -103,30 +92,8 @@ 1.31 } 1.32 end 1.33 }, 1.34 - { 1.35 - content = function(record) 1.36 - ui.link{ 1.37 - attr = { class = "action" }, 1.38 - text = _"Global delegation", 1.39 - module = "delegation", 1.40 - action = "update", 1.41 - params = { 1.42 - trustee_id = record.other_member_id, 1.43 - }, 1.44 - routing = { 1.45 - default = { 1.46 - mode = "redirect", 1.47 - module = request.get_module(), 1.48 - view = request.get_view(), 1.49 - id = param.get_id_cgi(), 1.50 - params = param.get_all_cgi() 1.51 - } 1.52 - } 1.53 - } 1.54 - end 1.55 - } 1.56 } 1.57 } 1.58 end 1.59 end 1.60 -} 1.61 \ No newline at end of file 1.62 +}