Commit 64033583 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'show-pipeline-subscriptions-for-premium-only' into 'master'

Adding a check for pipeline subscription availability

See merge request gitlab-org/gitlab!46712
parents afb63798 fcf9f168
...@@ -305,7 +305,7 @@ Some features are not implemented yet. For example, support for environments. ...@@ -305,7 +305,7 @@ Some features are not implemented yet. For example, support for environments.
- `when` (only with `on_success`, `on_failure`, and `always` values) - `when` (only with `on_success`, `on_failure`, and `always` values)
- `extends` - `extends`
## Trigger a pipeline when an upstream project is rebuilt ## Trigger a pipeline when an upstream project is rebuilt **(PREMIUM)**
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/9045) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.8. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/9045) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.8.
......
- return unless @project.feature_available?(:ci_project_subscriptions)
- expanded = expanded_by_default? - expanded = expanded_by_default?
%section.settings.no-animate#pipeline-subscriptions{ class: ('expanded' if expanded) } %section.settings.no-animate#pipeline-subscriptions{ class: ('expanded' if expanded) }
......
---
title: Adding check for pipeline subscription feature availability
merge_request: 46712
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment