diff options
author | Toon Claes <toon@gitlab.com> | 2017-03-23 09:43:34 +0100 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-03-23 22:21:00 +0100 |
commit | 0759db802f053e2757d52a284fd29098a9473df2 (patch) | |
tree | 7a86a3d8fd10d7fda7f7581a194133d57970358d /app/views/projects/pipelines/_info.html.haml | |
parent | a57890bcaa76d540aa675e0c89d50620c9d69018 (diff) | |
download | gitlab-ce-0759db802f053e2757d52a284fd29098a9473df2.tar.gz |
Move user_link to generic UsersHelper
Make the user_link helper more generic to be used for objects other
than pipelines.
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 a280f5a62ab..4be9a1371ec 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 - = pipeline_user_avatar(@pipeline) - = pipeline_user_link(@pipeline) + = user_avatar(user: @pipeline.user, size: 24) + = user_link(@pipeline.user) .header-action-buttons - if can?(current_user, :update_pipeline, @pipeline.project) - if @pipeline.retryable? |