liquid_feedback_frontend
view app/main/area/_head.lua @ 1225:ebb3c5fa158d
Removed exhaustive GROUP BY list in Issue:get_search_selector(...) due to PRIMARY KEY (PostgreSQL 9.1 feature)
| author | jbe | 
|---|---|
| date | Tue Dec 01 16:43:54 2015 +0100 (2015-12-01) | 
| parents | 701a5cf6b067 | 
| children | 32cc544d5a5b | 
 line source
     1 local area = param.get("area", "table")
     2 local member = param.get("member", "table")
     4 ui.title ( function ()
     6   -- unit link
     7   ui.link {
     8     attr = { class = "unit" },
     9     content = function()
    10       ui.tag{ attr = { class = "name" }, content = area.unit.name }
    11     end,
    12     module = "unit", view = "show",
    13     id = area.unit.id
    14   }
    16   ui.tag { attr = { class = "spacer" }, content = function()
    17     slot.put ( " ยป " )
    18   end }
    20   ui.tag { attr = { class = "area" }, content = function()
    21     -- area link
    22     ui.link {
    23       content = function()
    24         ui.tag{ attr = { class = "name" }, content = area.name }
    25       end,
    26       module = "area", view = "show",
    27       id = area.id
    28     }
    30     slot.put ( " " )
    32     execute.view {
    33       module = "delegation", view = "_info", params = { 
    34         area = area, member = member, for_title = true
    35       }
    36     }
    37   end }
    39 end )
