mirror of https://github.com/zulip/zulip.git
templates: Update .md macros to use recommended_stream_name.
Previously, we used Integration.name as the recommended stream in our macros. Now, we have a dedicated attribute set in the Integration class (that WebhookIntegration and GithubIntegration inherit from) for the recommended stream name in cases where the stream name is different than the name of the integration itself.
This commit is contained in:
parent
db09913f38
commit
8efb3aeee7
|
@ -1,4 +1,4 @@
|
|||
First, create the stream you'd like to use for
|
||||
{{ integration_display_name }} notifications, and subscribe all
|
||||
interested parties to this stream. We recommend the
|
||||
name `{{ integration_name }}`.
|
||||
name `{{ recommended_stream_name }}`.
|
||||
|
|
|
@ -2,4 +2,4 @@ You can also limit the branches you receive notifications for by
|
|||
specifying them in a comma-separated list at the end of the URL,
|
||||
like so:
|
||||
|
||||
`{{ external_api_uri_subdomain }}{{ integration_url }}?api_key=abcdefgh&stream={{ integration_name }}&branches=master,development`
|
||||
`{{ external_api_uri_subdomain }}{{ integration_url }}?api_key=abcdefgh&stream={{ recommended_stream_name }}&branches=master,development`
|
||||
|
|
|
@ -1 +1 @@
|
|||
`{{ external_api_uri_subdomain }}{{ integration_url }}?api_key=abcdefgh&stream={{ integration_name }}`
|
||||
`{{ external_api_uri_subdomain }}{{ integration_url }}?api_key=abcdefgh&stream={{ recommended_stream_name }}`
|
||||
|
|
Loading…
Reference in New Issue