diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-11-03 23:39:37 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-11-03 23:39:37 +0800 |
commit | 1ae557c106e94c20742d0788dc7eb604603faa08 (patch) | |
tree | 5a3fb7c52bf5d733fd3e69765098a040884a48cc /app/views/projects/commits/_commit.html.haml | |
parent | ee4c8b75de6b04a8c2ed755b1b409dab9f0536c5 (diff) | |
download | gitlab-ce-1ae557c106e94c20742d0788dc7eb604603faa08.tar.gz |
Merge status_for and status, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7034#note_17742297
Diffstat (limited to 'app/views/projects/commits/_commit.html.haml')
-rw-r--r-- | app/views/projects/commits/_commit.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/commits/_commit.html.haml b/app/views/projects/commits/_commit.html.haml index c5830b5b7f7..fd70de9c13d 100644 --- a/app/views/projects/commits/_commit.html.haml +++ b/app/views/projects/commits/_commit.html.haml @@ -18,14 +18,14 @@ %span.commit-row-message.visible-xs-inline · = commit.short_id - - if commit.status_for(ref) + - if commit.status(ref) .visible-xs-inline = render_commit_status(commit, ref: ref) - if commit.description? %a.text-expander.hidden-xs.js-toggle-button ... .commit-actions.hidden-xs - - if commit.status_for(ref) + - if commit.status(ref) = render_commit_status(commit, ref: ref) = clipboard_button(clipboard_text: commit.id) = link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit-short-id btn btn-transparent" |