liquid_feedback_frontend

annotate app/main/area/_list_entry.lua @ 774:a3eb6ca34484

Completed membership/privilege tab in member page
author bsw
date Thu Jun 28 23:57:02 2012 +0200 (2012-06-28)
parents 27226084fcab
children 8d5b214889c3
rev   line source
bsw@598 1 local area = param.get("area", "table")
bsw@774 2 local member = param.get("member", "table")
bsw@598 3
bsw@598 4 ui.container{ attr = { class = "area" }, content = function()
bsw@598 5
bsw@774 6 execute.view{ module = "area", view = "_head", params = { area = area, hide_unit = true, show_content = true, member = member } }
bsw@598 7
bsw@598 8 ui.container{ attr = { class = "content" }, content = function()
bsw@619 9 ui.tag{ content = _"Issues:" }
bsw@619 10 slot.put(" ")
bsw@598 11 ui.link{
bsw@598 12 module = "area", view = "show", id = area.id, params = { tab = "open", filter = "new" },
bsw@598 13 text = _("#{count} new", { count = area.issues_new_count })
bsw@598 14 }
bsw@598 15 slot.put(" · ")
bsw@598 16 ui.link{
bsw@647 17 module = "area", view = "show", id = area.id, params = { tab = "open", filter = "accepted" },
bsw@598 18 text = _("#{count} in discussion", { count = area.issues_discussion_count })
bsw@598 19 }
bsw@598 20 slot.put(" · ")
bsw@598 21 ui.link{
bsw@647 22 module = "area", view = "show", id = area.id, params = { tab = "open", filter = "half_frozen" },
bsw@598 23 text = _("#{count} in verification", { count = area.issues_frozen_count })
bsw@598 24 }
bsw@598 25 slot.put(" · ")
bsw@598 26 ui.link{
bsw@647 27 module = "area", view = "show", id = area.id, params = { tab = "open", filter = "frozen" },
bsw@598 28 text = _("#{count} in voting", { count = area.issues_voting_count })
bsw@598 29 }
bsw@598 30 slot.put(" · ")
bsw@598 31 ui.link{
bsw@598 32 module = "area", view = "show", id = area.id, params = { tab = "closed", filter = "finished" },
bsw@598 33 text = _("#{count} finished", { count = area.issues_finished_count })
bsw@598 34 }
bsw@598 35 slot.put(" · ")
bsw@598 36 ui.link{
bsw@598 37 module = "area", view = "show", id = area.id, params = { tab = "closed", filter = "cancelled" },
bsw@598 38 text = _("#{count} cancelled", { count = area.issues_cancelled_count })
bsw@598 39 }
bsw@598 40 end }
bsw@598 41
bsw@598 42 end }

Impressum / About Us