liquid_feedback_frontend
view app/main/member/settings.lua @ 172:165f4bd02cf3
don't show the first draft of a new initiative as a new draft event in the timeline
new draft should only show changes of drafts drafts of new initiatives as they are handled by the new initiative event
new draft should only show changes of drafts drafts of new initiatives as they are handled by the new initiative event
| author | Daniel Poelzleithner <poelzi@poelzi.org> | 
|---|---|
| date | Sun Oct 10 19:40:32 2010 +0200 (2010-10-10) | 
| parents | 733f65c0c0a0 | 
| children | 7196685f9dd7 | 
 line source
     1 slot.put_into("title", _"Settings")
     3 slot.select("actions", function()
     4   ui.link{
     5     content = function()
     6         ui.image{ static = "icons/16/cancel.png" }
     7         slot.put(_"Cancel")
     8     end,
     9     module = "index",
    10     view = "index"
    11   }
    12 end)
    14 ui.tag{
    15   tag = "div",
    16   content = _"You can change the following settings:"
    17 }
    19 local pages = {
    20   { view = "settings_display",   text = _"Display settings" },
    21   { view = "settings_email",     text = _"Change your notification email address" },
    22   { view = "settings_name",      text = _"Change your name" },
    23   { view = "settings_login",     text = _"Change your login" },
    24   { view = "settings_password",  text = _"Change your password" },
    25   { view = "developer_settings", text = _"Developer settings" },
    26 }
    28 ui.list{
    29   attr = { class = "menu_list" },
    30   style = "ulli",
    31   records = pages,
    32   columns = {
    33     {
    34       content = function(page)
    35         ui.link{
    36           module = "member",
    37           view = page.view,
    38           text = page.text
    39         }
    40       end
    41     }
    42   }
    43 }
