Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
00ac4b8e
Commit
00ac4b8e
authored
Jun 17, 2016
by
barthc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using request dot path instead
parent
4f891549
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/dashboard/_projects_head.html.haml
app/views/dashboard/_projects_head.html.haml
+1
-1
app/views/groups/show.html.haml
app/views/groups/show.html.haml
+1
-1
No files found.
app/views/dashboard/_projects_head.html.haml
View file @
00ac4b8e
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
Explore Projects
Explore Projects
.nav-controls
.nav-controls
=
form_tag
request
.
original_url
.
split
(
'?'
).
first
,
method: :get
,
class:
'project-filter-form'
,
id:
'project-filter-form'
do
|
f
|
=
form_tag
request
.
path
,
method: :get
,
class:
'project-filter-form'
,
id:
'project-filter-form'
do
|
f
|
=
search_field_tag
:filter_projects
,
params
[
:filter_projects
],
placeholder:
'Filter by name...'
,
class:
'project-filter-form-field form-control input-short projects-list-filter'
,
spellcheck:
false
,
id:
'project-filter-form-field'
,
tabindex:
"2"
=
search_field_tag
:filter_projects
,
params
[
:filter_projects
],
placeholder:
'Filter by name...'
,
class:
'project-filter-form-field form-control input-short projects-list-filter'
,
spellcheck:
false
,
id:
'project-filter-form-field'
,
tabindex:
"2"
=
render
'shared/projects/dropdown'
=
render
'shared/projects/dropdown'
-
if
current_user
.
can_create_project?
-
if
current_user
.
can_create_project?
...
...
app/views/groups/show.html.haml
View file @
00ac4b8e
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
=
link_to
"#shared"
,
'data-toggle'
=>
'tab'
do
=
link_to
"#shared"
,
'data-toggle'
=>
'tab'
do
Shared Projects
Shared Projects
.nav-controls
.nav-controls
=
form_tag
request
.
original_url
,
method: :get
,
class:
'project-filter-form'
,
id:
'project-filter-form'
do
|
f
|
=
form_tag
request
.
path
,
method: :get
,
class:
'project-filter-form'
,
id:
'project-filter-form'
do
|
f
|
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
,
spellcheck:
false
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
,
spellcheck:
false
=
render
'shared/projects/dropdown'
=
render
'shared/projects/dropdown'
-
if
can?
current_user
,
:create_projects
,
@group
-
if
can?
current_user
,
:create_projects
,
@group
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment