OSDN Git Service

Added a quick search form in page header. Search functionality moved to a dedicated...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 30 Apr 2007 08:52:39 +0000 (08:52 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 30 Apr 2007 08:52:39 +0000 (08:52 +0000)
commitebe10fa6452de7ea6c5759bfd9c7b439091b54cd
tree30eb8f2f6fb758c41530597814c2e9d048fc75c8
parent833c5035a697858cfc390b08e5db204ba30831d9
Added a quick search form in page header. Search functionality moved to a dedicated controller.

When used:
* outside of a project: searches projects
* inside a project: searches issues, changesets, news, documents and wiki pages of the current project

If an issue number is given, user is redirected to the corresponding issue.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@489 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/projects_controller.rb
app/controllers/search_controller.rb [new file with mode: 0644]
app/helpers/projects_helper.rb
app/helpers/search_helper.rb [new file with mode: 0644]
app/views/layouts/base.rhtml
app/views/search/index.rhtml [moved from app/views/projects/search.rhtml with 64% similarity]
public/stylesheets/application.css
test/functional/projects_controller_test.rb
test/functional/search_controller_test.rb [new file with mode: 0644]