liquid_feedback_frontend
view app/main/draft/_head.lua @ 1209:fede09736f2b
Added support for external references
| author | bsw | 
|---|---|
| date | Sat Jul 18 16:20:30 2015 +0200 (2015-07-18) | 
| parents | 161cebfc44d4 | 
| children | 
 line source
     1 local draft = param.get("draft", "table")
     2 local initiative = draft.initiative
     3 local issue = initiative.issue
     5 ui.title(function()
     6   ui.link{
     7     content = issue.area.name,
     8     module = "area",
     9     view = "show",
    10     id = issue.area.id
    11   }
    12   slot.put(" · ")
    13   ui.link{
    14     content = _("Issue ##{id}", { id = issue.id }),
    15     module = "issue",
    16     view = "show",
    17     id = issue.id
    18   }
    19   slot.put(" · ")
    20   ui.link{
    21     content = _("Initiative: ")..initiative.name,
    22     module = "initiative",
    23     view = "show",
    24     id = initiative.id
    25   }
    26 end)
