BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6f9f9961
Commit
6f9f9961
authored
Jan 25, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '27013-regression-in-commit-title-bar' into 'master'
Resolve "regression in commit title bar" Closes #27013 See merge request !8751
parents
bfa92ff2
0ded38cc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
tree.scss
app/assets/stylesheets/pages/tree.scss
+4
-0
_commit_box.html.haml
app/views/projects/commit/_commit_box.html.haml
+1
-2
_tree_content.html.haml
app/views/projects/tree/_tree_content.html.haml
+3
-1
27013-regression-in-commit-title-bar.yml
...elogs/unreleased/27013-regression-in-commit-title-bar.yml
+4
-0
No files found.
app/assets/stylesheets/pages/tree.scss
View file @
6f9f9961
...
...
@@ -32,6 +32,10 @@
.last-commit
{
@include
str-truncated
(
506px
);
.fa-angle-right
{
margin-left
:
5px
;
}
@media
(
min-width
:
$screen-md-min
)
and
(
max-width
:
$screen-md-max
)
{
@include
str-truncated
(
450px
);
}
...
...
app/views/projects/commit/_commit_box.html.haml
View file @
6f9f9961
.page-content-header
.header-main-content
%strong
%strong
Commit
#{
@commit
.
short_id
}
=
clipboard_button
(
clipboard_text:
@commit
.
id
,
title:
"Copy commit SHA to clipboard"
)
=
@commit
.
short_id
%span
.hidden-xs
authored
#{
time_ago_with_tooltip
(
@commit
.
authored_date
)
}
%span
by
...
...
app/views/projects/tree/_tree_content.html.haml
View file @
6f9f9961
...
...
@@ -7,10 +7,12 @@
%th
.hidden-xs
.pull-left
Last commit
.last-commit.hidden-sm.pull-left
%i
.fa.fa-angle-right
%small
.light
=
clipboard_button
(
clipboard_text:
@commit
.
id
,
title:
"Copy commit SHA to clipboard"
)
=
link_to
@commit
.
short_id
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
@commit
),
class:
"monospace"
=
clipboard_button
(
clipboard_text:
@commit
.
id
,
title:
"Copy commit SHA to clipboard"
)
=
time_ago_with_tooltip
(
@commit
.
committed_date
)
\-
=
@commit
.
full_title
%small
.commit-history-link-spacer
|
=
link_to
'History'
,
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@id
),
class:
'commit-history-link'
...
...
changelogs/unreleased/27013-regression-in-commit-title-bar.yml
0 → 100644
View file @
6f9f9961
---
title
:
Fix commit title bar and repository view copy clipboard button order on last commit in repository view
merge_request
:
author
:
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