Skip to content

Commit d3fdfbc

Browse files
Merge pull request #7797 from segmentio/partner-owned-duplication
fix: Duplicate partner owned notes
2 parents cb6b4c4 + f3b699e commit d3fdfbc

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed

src/_includes/content/cloud-app-note.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@
99
<ul class="qi">
1010
<li><p markdown=1>The {{ page.title }} is an **Event Cloud** source. This means that it sends data as events, which are behaviors or occurrences tied to a user and a point in time. Data from these sources can be loaded into your Segment warehouses, and **also** sent to Segment streaming destinations. [Learn more about cloud sources.](/docs/connections/sources/#cloud-apps)</p></li>
1111
{% if currentIntegration.status == "PUBLIC_BETA" %}<li>This source is in <span class="release-pill">Beta</span></li>{%endif%}
12-
</ul>
13-
{% if currentIntegration.partnerOwned %}
14-
<h6>Partner Owned</h6>
15-
<ul class="qi">
16-
<li>This integration is partner owned. Please reach out to the partner's support for any issues.</li>
17-
</ul>
18-
{% endif %}
12+
{% if currentIntegration.partnerOwned %}<li>This integration is partner owned. Please reach out to the partner's support for any issues.</li>{% endif %}
13+
</ul>
1914
</div>
2015
</div>
2116

@@ -26,10 +21,7 @@
2621
<ul class="qi">
2722
<li><p markdown=1>The {{ page.title }} is a Segment [Public API](/docs/api/public-api/){:target="_blank"} integration. It facilitates privacy requests using Segment’s API, including erasure and tracking opt-out for Segment users.</p></li>
2823
{% if currentIntegration.status == "PUBLIC_BETA" %}<li>This source is in <span class="release-pill">Beta</span></li>{% endif %}
29-
</ul>
30-
<h6>Partner Owned</h6>
31-
<ul class="qi">
32-
<li>This integration is partner owned. Please reach out to the partner's support for any issues.</li>
24+
{% if currentIntegration.partnerOwned %}<li>This integration is partner owned. Please reach out to the partner's support for any issues.</li>{% endif %}
3325
</ul>
3426
</div>
3527
</div>
@@ -41,13 +33,8 @@
4133
<ul class="qi">
4234
<li><p markdown=1>The {{ page.title }} is an **Object Cloud** source. This means that it sends information (traits) about a thing that exists and persists over time, such as a person or company, and which can be updated over time. Data from this source can only be exported directly to a warehouse, but it can then be used for further analysis. [Learn more about cloud sources.](/docs/connections/sources/#cloud-apps)</p></li>
4335
{% if currentIntegration.status == "PUBLIC_BETA" %}<li>This source is in <span class="release-pill">Beta</span></li>{%endif%}
36+
{% if currentIntegration.partnerOwned %}<li>This integration is partner owned. Please reach out to the partner's support for any issues.</li>{% endif %}
4437
</ul>
45-
{% if currentIntegration.partnerOwned %}
46-
<h6>Partner Owned</h6>
47-
<ul class="qi">
48-
<li>This integration is partner owned. Please reach out to the partner's support for any issues.</li>
49-
</ul>
50-
{% endif %}
5138
</div>
5239
</div>
5340
{% endif %}

src/_includes/content/destination-dossier.html

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ <h6>Destination Info</h6>
5959
<li>This destination is not compatible with <a href="/docs/connections/functions/insert-functions/">Destination Insert Functions.</a></li>
6060
{% endunless %}
6161
{% endif %}
62-
{% if destinationInfo.partnerOwned == true %}
62+
{% unless page.id == '66b1f528d26440823fb27af9' %}{% if destinationInfo.partnerOwned == true %}
6363
<li>This integration is <strong>partner owned</strong>. Please reach out to the partner's support for any issues.</li>
64-
{% endif %}
64+
{% endif %}{% endunless %}
6565
{% if thisDestination == '64c031541451bb784943f809' or thisDestination == '63e42d44b0a59908dc4cacc6' or thisDestination == '642440d46b66b3eeac42b581' %} <li>This destination is <b>not</b> supported in EU workspaces. For more information, see the <a href="/docs/guides/regional-segment/">Regional Segment</a> documentation.</li> {% endif %}
6666
{% if destinationInfo.status == "PUBLIC_BETA" %}<li>This destination is in <span class="release-pill">Beta</span></li>{% endif %}
6767
{% if page.engage == true %}<li>This destination is <b>only</b> compatible with <a href="/docs/engage">Twilio Engage</a>.</li>{% endif %}
@@ -108,17 +108,6 @@ <h6>Connection Modes <a href="/docs/connections/destinations/#connection-modes">
108108
</div>
109109
{% endunless %}
110110
{% endif %}
111-
112-
{% unless page.id == '66b1f528d26440823fb27af9' %}
113-
{% if destinationInfo.partnerOwned == true %}
114-
<div>
115-
<h6>Partner Owned</h6>
116-
<ul class="qi">
117-
<li>This integration is partner owned. Please reach out to the partner's support for any issues.</li>
118-
</ul>
119-
</div>
120-
{% endif %}
121-
{% endunless %}
122111
</div>
123112

124113
{% endif %}

0 commit comments

Comments
 (0)