summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-17 09:17:12 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-17 09:17:12 -0500
commit4e386a2c221432ccba32810725fbfefb1d60ec5c (patch)
tree2dfdb75d7ac38bc23abe7e9ac8e791341704b4fc
parent094828d01d2c146f2ba56af953333c2186ba9ba6 (diff)
downloadgitlab-ce-19991-triggered-pipeline.tar.gz
Add API as trigger19991-triggered-pipeline
-rw-r--r--app/assets/stylesheets/pages/pipelines.scss4
-rw-r--r--app/views/projects/ci/pipelines/_pipeline.html.haml2
2 files changed, 6 insertions, 0 deletions
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?