# HG changeset patch # User bsw # Date 1405633090 -7200 # Node ID e246d6123933c650869cc6f23109cd8a9392ee5c # Parent 04809990c2e750186898da36e6bfde054d3e4d02 Removed filter not needed anymore diff -r 04809990c2e7 -r e246d6123933 app/main/_filter_view/32_searchbox.lua --- a/app/main/_filter_view/32_searchbox.lua Thu Jul 17 23:28:39 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ -if app.session.member == nil then - execute.inner() - return -end ---[[ -slot.select('searchbox', function() - - ui.form{ - module = "index", - view = "search", - method = "get", - content = function() - - ui.field.select{ - name = "search_for", - foreign_records = { - { key = "global", name = _"Search" }, - { key = "member", name = _"Search members" }, - { key = "initiative", name = _"Search initiatives" }, - { key = "issue", name = _"Search issues" }, - }, - foreign_id = "key", - foreign_name = "name" - } - - ui.field.text{ name = "search", value = "" } - ui.submit{ text = _"OK" } - - end - } - -end) ---]] -execute.inner(); \ No newline at end of file diff -r 04809990c2e7 -r e246d6123933 app/main/_filter_view/33_help_hidden.lua --- a/app/main/_filter_view/33_help_hidden.lua Thu Jul 17 23:28:39 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,36 +0,0 @@ -execute.inner() - -if util._hidden_helps ~= nil then - slot.select("help_hidden", function() - for i, help in ipairs(util._hidden_helps) do - ui.link{ - attr = { - class = "help_hidden", - title = _("Help for: #{text}", { text = help.title }) - }, - module = "help", - action = "update", - params = { - help_ident = help.id, - hide = false - }, - routing = { - default = { - mode = "redirect", - module = request.get_module(), - view = request.get_view(), - id = param.get_id_cgi(), - params = param.get_all_cgi() - } - }, - content = function() - ui.image{ - attr = { class = "help_icon" }, - static = "icons/16/help.png" - } - end, - text = _"Show help text" - } - end - end) -end