From 4e386a2c221432ccba32810725fbfefb1d60ec5c Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Mon, 17 Oct 2016 09:17:12 -0500 Subject: Add API as trigger --- app/assets/stylesheets/pages/pipelines.scss | 4 ++++ app/views/projects/ci/pipelines/_pipeline.html.haml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss index 385ac07fdaf..6655cd43656 100644 --- a/app/assets/stylesheets/pages/pipelines.scss +++ b/app/assets/stylesheets/pages/pipelines.scss @@ -93,6 +93,10 @@ float: none; } + .api { + color: $code-color; + } + .branch-commit { .branch-name { diff --git a/app/views/projects/ci/pipelines/_pipeline.html.haml b/app/views/projects/ci/pipelines/_pipeline.html.haml index 263a3ff61f7..c6f359f5679 100644 --- a/app/views/projects/ci/pipelines/_pipeline.html.haml +++ b/app/views/projects/ci/pipelines/_pipeline.html.haml @@ -16,6 +16,8 @@ %span by - if pipeline.user = user_avatar(user: pipeline.user, size: 20) + - else + %span.api.monospace API - if pipeline.latest? %span.label.label-success.has-tooltip{ title: 'Latest build for this branch' } latest - if pipeline.triggered? -- cgit v1.2.1