Commit 624ba477c675dc5c27d21643bfd0605a9eb08374

Authored by Dmitriy Zaporozhets
1 parent 1af2aeff

Show last commit for tree

Showing 2 changed files with 12 additions and 3 deletions   Show diff stats
@@ -11,12 +11,13 @@ v 5.1.0 @@ -11,12 +11,13 @@ v 5.1.0
11 - Restyled Issues list. Show milestone version in issue row 11 - Restyled Issues list. Show milestone version in issue row
12 - Restyled Merge Request list 12 - Restyled Merge Request list
13 - Backup now dump/restore uploads 13 - Backup now dump/restore uploads
14 - - Improved perfomance of dashboard  
15 - - File history now tracks renames 14 + - Improved perfomance of dashboard (Andrew Kumanyaev)
  15 + - File history now tracks renames (Akzhan Abdulin)
16 - Drop wiki migration tools 16 - Drop wiki migration tools
17 - Drop sqlite migration tools 17 - Drop sqlite migration tools
18 - project tagging 18 - project tagging
19 - Paginate users in API 19 - Paginate users in API
  20 + - Restyled network graph (Hiroyuki Sato)
20 21
21 v 5.0.1 22 v 5.0.1
22 - Fixed issue with gitlab-grit being overrided by grit 23 - Fixed issue with gitlab-grit being overrided by grit
app/views/tree/_tree.html.haml
@@ -17,7 +17,15 @@ @@ -17,7 +17,15 @@
17 %tr 17 %tr
18 %th Name 18 %th Name
19 %th Last Update 19 %th Last Update
20 - %th Last Commit 20 + %th
  21 + Last Commit
  22 +  
  23 + %i.icon-angle-right
  24 +  
  25 + %small.light
  26 + = link_to @commit.short_id, project_commit_path(@project, @commit)
  27 + –
  28 + = truncate(@commit.title, length: 50)
21 %th= link_to "history", project_commits_path(@project, @id), class: "btn btn-tiny pull-right" 29 %th= link_to "history", project_commits_path(@project, @id), class: "btn btn-tiny pull-right"
22 30
23 - if tree.up_dir? 31 - if tree.up_dir?