Add last commit time to repo view
This commit is contained in:
parent
0693fee2b4
commit
8581e152ef
3 changed files with 17 additions and 5 deletions
|
@ -17,6 +17,7 @@ v 8.12.0 (unreleased)
|
||||||
- Fix groups sort dropdown alignment (ClemMakesApps)
|
- Fix groups sort dropdown alignment (ClemMakesApps)
|
||||||
- Add horizontal scrolling to all sub-navs on mobile viewports (ClemMakesApps)
|
- Add horizontal scrolling to all sub-navs on mobile viewports (ClemMakesApps)
|
||||||
- Fix markdown help references (ClemMakesApps)
|
- Fix markdown help references (ClemMakesApps)
|
||||||
|
- Add last commit time to repo view (ClemMakesApps)
|
||||||
- Added tests for diff notes
|
- Added tests for diff notes
|
||||||
- Add delimiter to project stars and forks count (ClemMakesApps)
|
- Add delimiter to project stars and forks count (ClemMakesApps)
|
||||||
- Fix badge count alignment (ClemMakesApps)
|
- Fix badge count alignment (ClemMakesApps)
|
||||||
|
|
|
@ -11,6 +11,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.last-commit {
|
||||||
|
max-width: 506px;
|
||||||
|
|
||||||
|
.last-commit-content {
|
||||||
|
@include str-truncated;
|
||||||
|
width: calc(100% - 140px);
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.tree-table {
|
.tree-table {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
|
|
@ -5,16 +5,17 @@
|
||||||
%tr
|
%tr
|
||||||
%th Name
|
%th Name
|
||||||
%th Last Update
|
%th Last Update
|
||||||
%th.hidden-xs
|
%th.hidden-xs.last-commit
|
||||||
.pull-left Last Commit
|
Last Commit
|
||||||
.last-commit.hidden-sm.pull-left
|
.last-commit-content.hidden-sm
|
||||||
|
|
||||||
%i.fa.fa-angle-right
|
%i.fa.fa-angle-right
|
||||||
|
|
||||||
%small.light
|
%small.light
|
||||||
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace"
|
= 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'
|
= link_to 'History', namespace_project_commits_path(@project.namespace, @project, @id), class: 'pull-right'
|
||||||
|
|
||||||
- if @path.present?
|
- if @path.present?
|
||||||
|
|
Loading…
Reference in a new issue