mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
portico: Add /api links to /integrations.
This PR creates a custom section on the /integrations page and adds links to /api for common requests. Fixes #11803.
This commit is contained in:
parent
ab15cd13a6
commit
2efe1963a5
@ -2653,6 +2653,9 @@ nav ul li.active::after {
|
||||
.portico-landing.integrations .integration-categories-dropdown {
|
||||
margin: 30px auto;
|
||||
display: none;
|
||||
.heading {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.portico-landing.integrations .integration-lozenges {
|
||||
|
||||
@ -59,6 +59,16 @@
|
||||
</h4>
|
||||
</a>
|
||||
{% endfor %}
|
||||
<h4 class="heading">{% trans %}Custom integrations{% endtrans %}</h4>
|
||||
<a href="/api/incoming-webhooks-overview">
|
||||
<h4>{% trans %}Incoming webhooks{% endtrans %}</h4>
|
||||
</a>
|
||||
<a href="/api/writing-bots">
|
||||
<h4>{% trans %}Interactive bots{% endtrans %}</h4>
|
||||
</a>
|
||||
<a href="/api/rest">
|
||||
<h4>{% trans %}REST API{% endtrans %}</h4>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -75,8 +85,20 @@
|
||||
</h4>
|
||||
</a>
|
||||
{% endfor %}
|
||||
<hr/>
|
||||
<h3>{% trans %}Custom integrations{% endtrans %}</h3>
|
||||
<a href="/api/incoming-webhooks-overview">
|
||||
<h4>{% trans %}Incoming webhooks{% endtrans %}</h4>
|
||||
</a>
|
||||
<a href="/api/writing-bots">
|
||||
<h4>{% trans %}Interactive bots{% endtrans %}</h4>
|
||||
</a>
|
||||
<a href="/api/rest">
|
||||
<h4>{% trans %}REST API{% endtrans %}</h4>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="integration-lozenges">
|
||||
{% for integration in integrations_dict.values() %}
|
||||
{% if integration.is_enabled() %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user