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
70fe671c
Unverified
Commit
70fe671c
authored
Aug 25, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it more obvious when the user isn't currently viewing the latest mr version
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
d64c15c5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
_versions.html.haml
app/views/projects/merge_requests/show/_versions.html.haml
+4
-0
No files found.
app/views/projects/merge_requests/show/_versions.html.haml
View file @
70fe671c
...
...
@@ -22,6 +22,10 @@
#{
number_with_delimiter
(
merge_request_diff
.
commits
.
count
)
}
#{
'commit'
.
pluralize
(
merge_request_diff
.
commits
.
count
)
}
,
=
time_ago_with_tooltip
(
merge_request_diff
.
created_at
)
-
unless
@merge_request_diff
.
latest?
%span
.prepend-left-default
=
icon
(
'info-circle'
)
This
version
is
not
the
latest
one
.
Comments
are
disabled
.pull-right
%span
.monospace
#{
@merge_request_diff
.
base_commit
.
short_id
}
..
#{
@merge_request_diff
.
head_commit
.
short_id
}
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