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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
203bc7bb
Commit
203bc7bb
authored
Sep 25, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide some filters if current_user is nil
parent
9d33c726
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
app/views/shared/_project_filter.html.haml
app/views/shared/_project_filter.html.haml
+11
-10
No files found.
app/views/shared/_project_filter.html.haml
View file @
203bc7bb
=
form_tag
project_entities_path
,
method:
'get'
do
=
form_tag
project_entities_path
,
method:
'get'
do
%fieldset
%fieldset
-
if
current_user
%ul
.nav.nav-pills.nav-stacked
%ul
.nav.nav-pills.nav-stacked
%li
{
class:
(
"active"
if
params
[
:scope
].
blank?
)}
%li
{
class:
(
"active"
if
params
[
:scope
].
blank?
)}
=
link_to
project_filter_path
(
scope:
nil
)
do
=
link_to
project_filter_path
(
scope:
nil
)
do
...
...
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