diff options
author | Bryce <bryce@gitlab.com> | 2016-08-31 18:14:09 +0200 |
---|---|---|
committer | Bryce <bryce@gitlab.com> | 2016-08-31 18:28:15 +0200 |
commit | db5244ab9054610ae13b44a0d508a339971bdcca (patch) | |
tree | 6996370db3cdfdb4cad826480b0387ed57cee6d1 /app/views/projects/tree/_tree_content.html.haml | |
parent | ddc5b9f7236f8932c32ec9ec1d91338aab22a9e0 (diff) | |
download | gitlab-ce-db5244ab9054610ae13b44a0d508a339971bdcca.tar.gz |
Fix repo page ui issues, show full last commit message in repo view.
Integrates changes from ClemMakesApps' commit:
8581e152, although it was reverted to avoid frustrating conflicts.
See MR: !5530 (diffs)
Diffstat (limited to 'app/views/projects/tree/_tree_content.html.haml')
-rw-r--r-- | app/views/projects/tree/_tree_content.html.haml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml index 558e6146ae9..0f7d629ab98 100644 --- a/app/views/projects/tree/_tree_content.html.haml +++ b/app/views/projects/tree/_tree_content.html.haml @@ -4,7 +4,6 @@ %thead %tr %th Name - %th Last Update %th.hidden-xs .pull-left Last Commit .last-commit.hidden-sm.pull-left @@ -14,9 +13,11 @@ %small.light = link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace" – - = truncate(@commit.title, length: 50) - = link_to 'History', namespace_project_commits_path(@project.namespace, @project, @id), class: 'pull-right' - + = 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' + %th.text-right Last Update - if @path.present? %tr.tree-item %td.tree-item-file-name |