diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-29 13:07:12 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-04 16:34:53 +0100 |
commit | eac81b988e34744a56d3c85625a9b8121c659f38 (patch) | |
tree | 6ceb22868d6894dfe30abcc029527ef8a4a9466f /app/views/projects/_last_commit.html.haml | |
parent | f60b48bdcb4762451618fe03bca98581282a0904 (diff) | |
download | gitlab-ce-eac81b988e34744a56d3c85625a9b8121c659f38.tar.gz |
Updated project header
Closes #18544
Diffstat (limited to 'app/views/projects/_last_commit.html.haml')
-rw-r--r-- | app/views/projects/_last_commit.html.haml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/app/views/projects/_last_commit.html.haml b/app/views/projects/_last_commit.html.haml index 66c30283c7a..630ae7d6140 100644 --- a/app/views/projects/_last_commit.html.haml +++ b/app/views/projects/_last_commit.html.haml @@ -1,11 +1,10 @@ -.project-last-commit - - if commit.status - = link_to builds_namespace_project_commit_path(commit.project.namespace, commit.project, commit), class: "ci-status ci-#{commit.status}" do - = ci_icon_for_status(commit.status) - = ci_label_for_status(commit.status) +- if commit.status + = link_to builds_namespace_project_commit_path(commit.project.namespace, commit.project, commit), class: "ci-status ci-#{commit.status}" do + = ci_icon_for_status(commit.status) + = ci_label_for_status(commit.status) - = link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit_short_id" - = link_to_gfm commit.title, namespace_project_commit_path(project.namespace, project, commit), class: "commit-row-message" - · - #{time_ago_with_tooltip(commit.committed_date, skip_js: true)} by - = commit_author_link(commit, avatar: true, size: 24) += link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit_short_id" += link_to_gfm commit.title, namespace_project_commit_path(project.namespace, project, commit), class: "commit-row-message" +· +#{time_ago_with_tooltip(commit.committed_date, skip_js: true)} by += commit_author_link(commit, avatar: true, size: 24) |