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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8581e152
Commit
8581e152
authored
Jul 27, 2016
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add last commit time to repo view
parent
0693fee2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
+17
-5
CHANGELOG
CHANGELOG
+1
-0
app/assets/stylesheets/pages/tree.scss
app/assets/stylesheets/pages/tree.scss
+10
-0
app/views/projects/tree/_tree_content.html.haml
app/views/projects/tree/_tree_content.html.haml
+6
-5
No files found.
CHANGELOG
View file @
8581e152
...
...
@@ -17,6 +17,7 @@ v 8.12.0 (unreleased)
- Fix groups sort dropdown alignment (ClemMakesApps)
- Add horizontal scrolling to all sub-navs on mobile viewports (ClemMakesApps)
- Fix markdown help references (ClemMakesApps)
- Add last commit time to repo view (ClemMakesApps)
- Added tests for diff notes
- Add delimiter to project stars and forks count (ClemMakesApps)
- Fix badge count alignment (ClemMakesApps)
...
...
app/assets/stylesheets/pages/tree.scss
View file @
8581e152
...
...
@@ -11,6 +11,16 @@
}
}
.last-commit
{
max-width
:
506px
;
.last-commit-content
{
@include
str-truncated
;
width
:
calc
(
100%
-
140px
);
margin-left
:
3px
;
}
}
.tree-table
{
margin-bottom
:
0
;
...
...
app/views/projects/tree/_tree_content.html.haml
View file @
8581e152
...
...
@@ -5,16 +5,17 @@
%tr
%th
Name
%th
Last Update
%th
.hidden-xs
.pull-left
Last Commit
.last-commit.hidden-sm.pull-left
%th
.hidden-xs.last-commit
Last Commit
.last-commit-content.hidden-sm
%i
.fa.fa-angle-right
%small
.light
=
link_to
@commit
.
short_id
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
@commit
),
class:
"monospace"
–
=
truncate
(
@commit
.
title
,
length:
50
)
=
time_ago_with_tooltip
(
@commit
.
committed_date
)
–
=
@commit
.
full_title
=
link_to
'History'
,
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@id
),
class:
'pull-right'
-
if
@path
.
present?
...
...
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