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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
b3b219da
Commit
b3b219da
authored
Mar 14, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display nav controls on mobile
parent
49534a65
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
3 deletions
+24
-3
app/assets/stylesheets/framework/nav.scss
app/assets/stylesheets/framework/nav.scss
+22
-3
app/views/projects/issues/index.html.haml
app/views/projects/issues/index.html.haml
+2
-0
No files found.
app/assets/stylesheets/framework/nav.scss
View file @
b3b219da
...
...
@@ -102,6 +102,10 @@
display
:
inline-block
;
}
.icon-label
{
display
:
none
;
}
input
{
height
:
34px
;
display
:
inline-block
;
...
...
@@ -124,9 +128,24 @@
}
}
/* Hide on extra small devices (phones) */
@media
(
max-width
:
$screen-xs-max
)
{
display
:
none
;
@media
(
max-width
:
600px
)
{
.btn
,
form
{
margin
:
0
0
10px
0
;
display
:
block
;
}
form
{
display
:
block
;
height
:
auto
;
}
input
.input-short
{
width
:
100%
;
}
.icon-label
{
display
:
inline-block
;
}
}
/* Small devices (tablets, 768px and lower) */
...
...
app/views/projects/issues/index.html.haml
View file @
b3b219da
...
...
@@ -11,6 +11,8 @@
-
if
current_user
=
link_to
namespace_project_issues_path
(
@project
.
namespace
,
@project
,
:atom
,
{
private_token:
current_user
.
private_token
}),
class:
'btn append-right-10'
do
=
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
,
issue:
{
assignee_id:
@issuable_finder
.
assignee
.
try
(
:id
),
milestone_id:
@issuable_finder
.
milestones
.
try
(
:first
).
try
(
:id
)
}),
class:
"btn btn-new"
,
title:
"New Issue"
,
id:
"new_issue_link"
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