forked from GithubBackups/healthchecks
Self-host slack button graphics
This commit is contained in:
parent
66bc5cd7c2
commit
472c6424e9
BIN
static/img/integrations/add_to_slack.png
Normal file
BIN
static/img/integrations/add_to_slack.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
BIN
static/img/integrations/add_to_slack@2x.png
Normal file
BIN
static/img/integrations/add_to_slack@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.0 KiB |
@ -11,13 +11,18 @@
|
||||
{% if slack_client_id %}
|
||||
<div class="jumbotron">
|
||||
{% if request.user.is_authenticated %}
|
||||
<p>If your team uses <a href="http://slack.com/">Slack</a>, you can set
|
||||
<p>If your team uses <a href="https://slack.com/">Slack</a>, you can set
|
||||
up {% site_name %} to post status updates directly to an appropriate
|
||||
Slack channel.</p>
|
||||
|
||||
<div class="text-center">
|
||||
<a href="https://slack.com/oauth/authorize?scope=incoming-webhook&client_id={{ slack_client_id }}&state={{ state }}">
|
||||
<img alt="Add to Slack" height="40" width="139" src="https://platform.slack-edge.com/img/add_to_slack.png" srcset="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x" />
|
||||
<img
|
||||
alt="Add to Slack"
|
||||
height="40"
|
||||
width="139"
|
||||
src="{% static 'img/integrations/add_to_slack.png' %}"
|
||||
srcset="{% static 'img/integrations/add_to_slack.png' %} 1x, {% static 'img/integrations/add_to_slack@2x.png' %} 2x" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@ -111,7 +116,7 @@
|
||||
{% else %}
|
||||
<h1>Slack</h1>
|
||||
|
||||
<p>If your team uses <a href="http://slack.com/">Slack</a>, you can set
|
||||
<p>If your team uses <a href="https://slack.com/">Slack</a>, you can set
|
||||
up {% site_name %} to post status updates directly to an appropriate
|
||||
Slack channel.</p>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user