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
c306c6da
Commit
c306c6da
authored
Jan 10, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust last push notification width
parent
13bf010f
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
31 additions
and
27 deletions
+31
-27
app/views/dashboard/activity.html.haml
app/views/dashboard/activity.html.haml
+1
-3
app/views/dashboard/projects/index.html.haml
app/views/dashboard/projects/index.html.haml
+1
-2
app/views/dashboard/projects/starred.html.haml
app/views/dashboard/projects/starred.html.haml
+1
-2
app/views/projects/_last_push.html.haml
app/views/projects/_last_push.html.haml
+13
-14
app/views/projects/activity.html.haml
app/views/projects/activity.html.haml
+2
-1
app/views/projects/blob/show.html.haml
app/views/projects/blob/show.html.haml
+2
-1
app/views/projects/merge_requests/index.html.haml
app/views/projects/merge_requests/index.html.haml
+2
-1
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+3
-1
app/views/projects/tree/show.html.haml
app/views/projects/tree/show.html.haml
+1
-2
changelogs/unreleased/fix-adjust-layout-width-for-fixed-layout.yml
...s/unreleased/fix-adjust-layout-width-for-fixed-layout.yml
+5
-0
No files found.
app/views/dashboard/activity.html.haml
View file @
c306c6da
...
...
@@ -7,10 +7,8 @@
-
page_title
"Activity"
-
header_title
"Activity"
,
activity_dashboard_path
.hidden-xs
=
render
"projects/last_push"
%div
{
class:
container_class
}
=
render
"projects/last_push"
=
render
'dashboard/activity_head'
%section
.activities
...
...
app/views/dashboard/projects/index.html.haml
View file @
c306c6da
...
...
@@ -7,9 +7,8 @@
-
page_title
"Projects"
-
header_title
"Projects"
,
dashboard_projects_path
=
render
"projects/last_push"
%div
{
class:
container_class
}
=
render
"projects/last_push"
-
if
show_projects?
(
@projects
,
params
)
=
render
'dashboard/projects_head'
=
render
'nav'
...
...
app/views/dashboard/projects/starred.html.haml
View file @
c306c6da
...
...
@@ -4,9 +4,8 @@
-
page_title
"Starred Projects"
-
header_title
"Projects"
,
dashboard_projects_path
=
render
"projects/last_push"
%div
{
class:
container_class
}
=
render
"projects/last_push"
=
render
'dashboard/projects_head'
-
if
params
[
:filter_projects
]
||
any_projects?
(
@projects
)
...
...
app/views/projects/_last_push.html.haml
View file @
c306c6da
-
event
=
last_push_event
-
if
event
&&
show_last_push_widget?
(
event
)
%div
{
class:
container_class
}
.row-content-block.top-block.hidden-xs.white
.event-last-push
.event-last-push-text
%span
=
s_
(
"LastPushEvent|You pushed to"
)
%strong
=
link_to
event
.
ref_name
,
project_commits_path
(
event
.
project
,
event
.
ref_name
),
class:
'ref-name'
.row-content-block.top-block.hidden-xs.white
.event-last-push
.event-last-push-text
%span
=
s_
(
"LastPushEvent|You pushed to"
)
%strong
=
link_to
event
.
ref_name
,
project_commits_path
(
event
.
project
,
event
.
ref_name
),
class:
'ref-name'
-
if
event
.
project
!=
@project
%span
=
s_
(
"LastPushEvent|at"
)
%strong
=
link_to_project
event
.
project
-
if
event
.
project
!=
@project
%span
=
s_
(
"LastPushEvent|at"
)
%strong
=
link_to_project
event
.
project
#{
time_ago_with_tooltip
(
event
.
created_at
)
}
#{
time_ago_with_tooltip
(
event
.
created_at
)
}
.pull-right
=
link_to
new_mr_path_from_push_event
(
event
),
title:
_
(
"New merge request"
),
class:
"btn btn-info btn-sm"
do
#{
_
(
'Create merge request'
)
}
.pull-right
=
link_to
new_mr_path_from_push_event
(
event
),
title:
_
(
"New merge request"
),
class:
"btn btn-info btn-sm"
do
#{
_
(
'Create merge request'
)
}
app/views/projects/activity.html.haml
View file @
c306c6da
...
...
@@ -2,6 +2,7 @@
-
page_title
_
(
"Activity"
)
=
render
'projects/last_push'
%div
{
class:
container_class
}
=
render
'projects/last_push'
=
render
'projects/activity'
app/views/projects/blob/show.html.haml
View file @
c306c6da
...
...
@@ -6,9 +6,10 @@
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'blob'
=
render
'projects/last_push'
%div
{
class:
container_class
}
=
render
'projects/last_push'
#tree-holder
.tree-holder
=
render
'blob'
,
blob:
@blob
...
...
app/views/projects/merge_requests/index.html.haml
View file @
c306c6da
...
...
@@ -10,7 +10,8 @@
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'filtered_search'
=
render
'projects/last_push'
%div
{
class:
container_class
}
=
render
'projects/last_push'
-
if
@project
.
merge_requests
.
exists?
%div
{
class:
container_class
}
...
...
app/views/projects/show.html.haml
View file @
c306c6da
...
...
@@ -7,7 +7,9 @@
=
render
partial:
'flash_messages'
,
locals:
{
project:
@project
}
=
render
"projects/last_push"
%div
{
class:
[
container_class
,
(
"limit-container-width"
unless
fluid_layout
)]
}
=
render
"projects/last_push"
=
render
"home_panel"
-
if
can?
(
current_user
,
:download_code
,
@project
)
...
...
app/views/projects/tree/show.html.haml
View file @
c306c6da
...
...
@@ -6,7 +6,6 @@
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
project_commits_url
(
@project
,
@ref
,
rss_url_options
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits"
)
=
render
'projects/last_push'
%div
{
class:
[(
container_class
),
(
"limit-container-width"
unless
fluid_layout
)]
}
=
render
'projects/last_push'
=
render
'projects/files'
,
commit:
@last_commit
,
project:
@project
,
ref:
@ref
,
content_url:
project_tree_path
(
@project
,
@id
)
changelogs/unreleased/fix-adjust-layout-width-for-fixed-layout.yml
0 → 100644
View file @
c306c6da
---
title
:
Adjust layout width for fixed layout
merge_request
:
16337
author
:
George Tsiolis
type
:
fixed
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