liquid_feedback_frontend

changeset 1140:b1b357fdb9df

Removed not used files
author bsw
date Sat Mar 21 14:24:42 2015 +0100 (2015-03-21)
parents f21f40dd9334
children 49a36575597e
files app/main/index/_menu.lua app/main/index/menu.lua
line diff
     1.1 --- a/app/main/index/_menu.lua	Sat Mar 21 14:21:34 2015 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,106 +0,0 @@
     1.4 -ui.tag{ tag = "ul", content = function()
     1.5 -
     1.6 -  if app.session.member_id and not app.session.needs_delegation_check then
     1.7 -    ui.tag{ tag = "li", content = function()
     1.8 -
     1.9 -      ui.link{
    1.10 -        text = _"Show profile",
    1.11 -        module = "member",
    1.12 -        view = "show",
    1.13 -        id = app.session.member_id
    1.14 -      }
    1.15 -      
    1.16 -    end }
    1.17 -    
    1.18 -    ui.tag{ tag = "li", content = function()
    1.19 -
    1.20 -      ui.link{
    1.21 -        content = function()
    1.22 -            slot.put(_"Edit profile")
    1.23 -        end,
    1.24 -        module = "member",
    1.25 -        view = "edit"
    1.26 -      }
    1.27 -
    1.28 -    end }
    1.29 -    
    1.30 -    ui.tag{ tag = "li", content = function()
    1.31 -
    1.32 -      ui.link{
    1.33 -        content = function()
    1.34 -            slot.put(_"Upload avatar/photo")
    1.35 -        end,
    1.36 -        module = "member",
    1.37 -        view = "edit_images"
    1.38 -      }
    1.39 -
    1.40 -    end }
    1.41 -      
    1.42 -    ui.tag{ tag = "li", content = function()
    1.43 -
    1.44 -      ui.link{
    1.45 -        content = _"Contacts",
    1.46 -        module = 'contact',
    1.47 -        view   = 'list'
    1.48 -      }
    1.49 -
    1.50 -    end }
    1.51 -    
    1.52 -    ui.tag{ tag = "li", content = function()
    1.53 -
    1.54 -      ui.link{
    1.55 -        text   = _"Settings",
    1.56 -        module = "member",
    1.57 -        view = "settings"
    1.58 -      }
    1.59 -
    1.60 -    end }
    1.61 -  end
    1.62 -  
    1.63 -  if app.session.member_id then
    1.64 -    ui.tag{ tag = "li", content = function()
    1.65 -
    1.66 -      ui.link{
    1.67 -        text   = _"Logout",
    1.68 -        module = 'index',
    1.69 -        action = 'logout',
    1.70 -        routing = {
    1.71 -          default = {
    1.72 -            mode = "redirect",
    1.73 -            module = "index",
    1.74 -            view = "index"
    1.75 -          }
    1.76 -        }
    1.77 -      }
    1.78 -    end }
    1.79 -  end
    1.80 -  
    1.81 -  for i, lang in ipairs(config.enabled_languages) do
    1.82 -    
    1.83 -    local langcode
    1.84 -    
    1.85 -    locale.do_with({ lang = lang }, function()
    1.86 -      langcode = _("[Name of Language]")
    1.87 -    end)
    1.88 -    
    1.89 -    ui.tag{ tag = "li", content = function()
    1.90 -      ui.link{
    1.91 -        content = _('Select language "#{langcode}"', { langcode = langcode }),
    1.92 -        module = "index",
    1.93 -        action = "set_lang",
    1.94 -        params = { lang = lang },
    1.95 -        routing = {
    1.96 -          default = {
    1.97 -            mode = "redirect",
    1.98 -            module = request.get_module(),
    1.99 -            view = request.get_view(),
   1.100 -            id = param.get_id_cgi(),
   1.101 -            params = param.get_all_cgi()
   1.102 -          }
   1.103 -        }
   1.104 -      }
   1.105 -    end }
   1.106 -  end
   1.107 -
   1.108 -end }
   1.109 -
     2.1 --- a/app/main/index/menu.lua	Sat Mar 21 14:21:34 2015 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,7 +0,0 @@
     2.4 -app.html_title.title = _("Member menu")
     2.5 -
     2.6 -execute.view{
     2.7 -  module = "index",
     2.8 -  view = "_menu"
     2.9 -}
    2.10 -

Impressum / About Us