summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/index.html.haml
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-11-04 16:27:11 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-01-09 16:00:48 -0600
commit71dc5af9ce5e25d8d3219b296e23c3ca6340451b (patch)
tree5d44da4bef44580c4170962b0a8b4f5f687b4dfc /app/views/projects/issues/index.html.haml
parent2f1701c56a7ce6ee2870bd6a280cf5bf788bd607 (diff)
downloadgitlab-ce-71dc5af9ce5e25d8d3219b296e23c3ca6340451b.tar.gz
Add basic search
Diffstat (limited to 'app/views/projects/issues/index.html.haml')
-rw-r--r--app/views/projects/issues/index.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/issues/index.html.haml b/app/views/projects/issues/index.html.haml
index 26f3f0ac292..18e8372ecab 100644
--- a/app/views/projects/issues/index.html.haml
+++ b/app/views/projects/issues/index.html.haml
@@ -6,6 +6,9 @@
= content_for :sub_nav do
= render "projects/issues/head"
+- content_for :page_specific_javascripts do
+ = page_specific_javascript_tag('filtered_search/filtered_search_bundle.js')
+
= content_for :meta_tags do
- if current_user
= auto_discovery_link_tag(:atom, url_for(params.merge(format: :atom, private_token: current_user.private_token)), title: "#{@project.name} issues")
@@ -20,7 +23,6 @@
= icon('rss')
%span.icon-label
Subscribe
- = render 'shared/issuable/search_form', path: namespace_project_issues_path(@project.namespace, @project)
- if can? current_user, :create_issue, @project
= link_to new_namespace_project_issue_path(@project.namespace,
@project,
@@ -30,7 +32,7 @@
title: "New Issue",
id: "new_issue_link" do
New Issue
- = render 'shared/issuable/filter', type: :issues
+ = render 'shared/issuable/search_bar', type: :issues
.issues-holder
= render 'issues'