liquid_feedback_frontend

changeset 1069:e246d6123933

Removed filter not needed anymore
author bsw
date Thu Jul 17 23:38:10 2014 +0200 (2014-07-17)
parents 04809990c2e7
children effce9b361b2
files app/main/_filter_view/32_searchbox.lua app/main/_filter_view/33_help_hidden.lua
line diff
     1.1 --- a/app/main/_filter_view/32_searchbox.lua	Thu Jul 17 23:28:39 2014 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,34 +0,0 @@
     1.4 -if app.session.member == nil then
     1.5 -  execute.inner()
     1.6 -  return
     1.7 -end
     1.8 ---[[
     1.9 -slot.select('searchbox', function()
    1.10 -
    1.11 -  ui.form{
    1.12 -    module = "index",
    1.13 -    view   = "search",
    1.14 -    method = "get",
    1.15 -    content = function()
    1.16 -
    1.17 -      ui.field.select{
    1.18 -        name = "search_for",
    1.19 -        foreign_records = {
    1.20 -          { key = "global", name = _"Search" },
    1.21 -          { key = "member", name = _"Search members" },
    1.22 -          { key = "initiative", name = _"Search initiatives" },
    1.23 -          { key = "issue", name = _"Search issues" },
    1.24 -        },
    1.25 -        foreign_id = "key",
    1.26 -        foreign_name = "name"
    1.27 -      }
    1.28 -
    1.29 -      ui.field.text{ name = "search", value = "" }
    1.30 -      ui.submit{ text = _"OK" }
    1.31 -
    1.32 -    end
    1.33 -  }
    1.34 -
    1.35 -end)
    1.36 ---]]
    1.37 -execute.inner();
    1.38 \ No newline at end of file
     2.1 --- a/app/main/_filter_view/33_help_hidden.lua	Thu Jul 17 23:28:39 2014 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,36 +0,0 @@
     2.4 -execute.inner()
     2.5 -
     2.6 -if util._hidden_helps ~= nil then
     2.7 -  slot.select("help_hidden", function()
     2.8 -    for i, help in ipairs(util._hidden_helps) do 
     2.9 -      ui.link{
    2.10 -        attr = {
    2.11 -          class = "help_hidden",
    2.12 -          title = _("Help for: #{text}", { text = help.title })
    2.13 -        },
    2.14 -        module = "help",
    2.15 -        action = "update",
    2.16 -        params = {
    2.17 -          help_ident = help.id,
    2.18 -          hide = false
    2.19 -        },
    2.20 -        routing = {
    2.21 -          default = {
    2.22 -            mode = "redirect",
    2.23 -            module = request.get_module(),
    2.24 -            view = request.get_view(),
    2.25 -            id = param.get_id_cgi(),
    2.26 -            params = param.get_all_cgi()
    2.27 -          }
    2.28 -        },
    2.29 -        content = function()
    2.30 -          ui.image{
    2.31 -            attr = { class = "help_icon" },
    2.32 -            static = "icons/16/help.png"
    2.33 -          }
    2.34 -        end,
    2.35 -        text = _"Show help text"
    2.36 -      }
    2.37 -    end
    2.38 -  end)
    2.39 -end

Impressum / About Us