Skip to content

Commit 30c2f40

Browse files
author
markzegarelli
committed
add maintenance mode banner
1 parent c9a8d7e commit 30c2f40

File tree

7 files changed

+22
-4
lines changed

7 files changed

+22
-4
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{% capture name %}{{page.title | replace: 'Destination', ''}}{% endcapture %}
2+
{% capture link %}/docs/connections/destinations/catalog/actions-{{name | slugify}}{% endcapture %}
3+
{% if page.maintenance-content %}
4+
{% capture blurb %}{{page.maintenance-content}} {% endcapture %}
5+
{% else %}
6+
{% capture blurb %}A new version of this destination is available. See [{{name}} (Actions)]({{link}}) {% endcapture %}
7+
{% endif %}
8+
9+
<div class="premonition warning"><div class="fa fa-check-square"></div><div class="content"><p class="header">{{page.title | replace: 'Destination', ''}} (Classic) is in Maintenance mode</p>
10+
<p markdown=1>The {{name}} (Classic) Destination has entered maintenance mode. Future updates are limited to security updates and bug fixes. {{blurb}}</p>
11+
</div></div>

src/_layouts/destination.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
{{ destination-dossier | markdownify }}
99
{% endunless %}
1010

11+
{% if page.maintenance == true %}
12+
{% capture maintenance-mode %}{% include content/destination-maintenance.md %}{% endcapture %}
13+
{{maintenance-mode | markdownify}}
14+
{% endif %}
15+
1116
{{ content }}
1217

1318
{% unless page.hide-boilerplate == true %}

src/connections/destinations/catalog/amplitude/index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Amplitude Destination
33
hide-cmodes: true
4+
maintenance: true
45
---
56

67
[Amplitude](https://amplitude.com/) is an event tracking and segmentation
@@ -13,10 +14,6 @@ Segment's Amplitude destination code is open source and available on GitHub. Fee
1314
- [iOS](https://github.com/segment-integrations/analytics-ios-integration-amplitude)
1415
- [Android](https://github.com/segment-integrations/analytics-android-integration-amplitude)
1516

16-
> success ""
17-
> **New Amplitude destination available**: Segment's [Destination Actions](/docs/connections/destinations/actions/) allow you to explicitly set up your Amplitude mapping, and configure which events the mappings apply to. See [Amplitude Actions destination](/docs/connections/destinations/catalog/actions-amplitude/) for more information.
18-
19-
2017

2118
In addition to the docs below, Amplitude created a [integration guide](https://developers.amplitude.com/docs/segment-amplitude-integration).
2219

src/connections/destinations/catalog/braze/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Braze Destination
33
hide-cmodes: true
44
hide-personas-partial: true
55
hide-integrations-object: true
6+
maintenance: true
7+
maintenance-content: "New versions of this destination is available. See [Braze Cloud Mode (Actions)](/docs/connections/catalog/actions-braze-cloud) and [Braze Web Mode (Actions)](/docs/connections/catalog/actions-braze-web)."
68
---
79

810
[Braze](https://www.braze.com/), formerly Appboy, is an engagement platform that empowers growth by helping marketing teams to build customer loyalty through mobile, omni-channel customer experiences.

src/connections/destinations/catalog/customer-io/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Customer.io Destination
33
rewrite: true
44
redirect_from: "/connections/destinations/catalog/customer.io/"
55
hide-personas-partial: true
6+
maintenance: true
67
---
78

89
[Customer.io](https://customer.io/) helps you send automated email, push, SMS, and webhooks based on your customers' activities in your app or product. It makes conversion tracking, optimization and re-marketing easier. The `analytics.js` Customer.io Destination is open-source. You can browse the code [on GitHub](https://github.com/segment-integrations/analytics.js-integration-customerio).

src/connections/destinations/catalog/fullstory/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: FullStory Destination
33
rewrite: true
4+
maintenance: true
45
---
56
[FullStory](https://help.fullstory.com/11269-Develop) lets product and support teams easily understand everything about the customer experience. The Segment integration for FullStory helps accurately identify your customers within the FullStory dashboard.
67

src/connections/destinations/catalog/slack/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
rewrite: true
33
title: Slack Destination
4+
maintenance: true
45
---
56

67
[Slack](https://slack.com/) is a team collaboration tool where work flows. It's where the people you need, the information you share, and the tools you use come together to get things done.

0 commit comments

Comments
 (0)