diff options
author | Toon Claes <toon@gitlab.com> | 2017-03-20 22:53:14 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-03-22 23:26:29 +0300 |
commit | a57890bcaa76d540aa675e0c89d50620c9d69018 (patch) | |
tree | 090ffa5c59e6db383b4dffbff10e426ccdee2567 /app/views/projects/pipelines/_info.html.haml | |
parent | e2d5818ee1baa154474124ccc15ad3a29635f1ea (diff) |
Add helpers for pipeline user link & user avatar
Diffstat (limited to 'app/views/projects/pipelines/_info.html.haml')
-rw-r--r-- | app/views/projects/pipelines/_info.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/pipelines/_info.html.haml b/app/views/projects/pipelines/_info.html.haml index 6d60f836866..a280f5a62ab 100644 --- a/app/views/projects/pipelines/_info.html.haml +++ b/app/views/projects/pipelines/_info.html.haml @@ -5,8 +5,8 @@ triggered #{time_ago_with_tooltip(@pipeline.created_at)} - if @pipeline.user by - = user_avatar(user: @pipeline.user, size: 24, css_class: 'hidden-xs') - = link_to(@pipeline.user.name, user_path(@pipeline.user.username), title: @pipeline.user.email, class: 'has-tooltip commit-committer-link') + = pipeline_user_avatar(@pipeline) + = pipeline_user_link(@pipeline) .header-action-buttons - if can?(current_user, :update_pipeline, @pipeline.project) - if @pipeline.retryable? |