Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2017-03-23 11:43:34 +0300
committerToon Claes <toon@gitlab.com>2017-03-24 00:21:00 +0300
commit0759db802f053e2757d52a284fd29098a9473df2 (patch)
tree7a86a3d8fd10d7fda7f7581a194133d57970358d /app/views/projects/pipelines/_info.html.haml
parenta57890bcaa76d540aa675e0c89d50620c9d69018 (diff)
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.haml4
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?