{% extends "sentry/groups/details.html" %}

{% load i18n %}

{% block title %}{{ title }} | {{ block.super }}{% endblock %}

{% block main %}
    <div class="page-header">
        <h3>{{ title }}</h3>
    </div>
    <div class="alert alert-block">
        {% if not has_auth_configured %}
            <p>{% blocktrans with plugin.auth_provider as auth_provider %}Your server administrator will need to configure authentication with
            <strong>{{ auth_provider }}</strong> before you can use this plugin.{% endblocktrans %}</p>
            <p>The following settings must be configured:</p>
            <ul>
                {% for setting in required_auth_settings %}
                    <li><code>{{ setting }}</code></li>
                {% endfor %}
            </ul>
        {% else %}
            {% url 'sentry-configure-project-plugin' project_id=project.id slug=plugin.slug as link %}
            <p>{% blocktrans %}You still need to <a href="{{ link }}">configure this plugin</a> before you can use it.{% endblocktrans %}</p>
        {% endif %}
    </div>
{% endblock %}

{% extends "sentry/groups/details.html" %}

{% load i18n %}

{% block title %}{{ title }} | {{ block.super }}{% endblock %}

{% block main %}
    <div class="page-header">
        <h3>{{ title }}</h3>
    </div>
    <div class="alert alert-block">
        {% if not has_auth_configured %}
            <p>{% blocktrans with plugin.auth_provider as auth_provider %}Your server administrator will need to configure authentication with
            <strong>{{ auth_provider }}</strong> before you can use this plugin.{% endblocktrans %}</p>
            <p>The following settings must be configured:</p>
            <ul>
                {% for setting in required_auth_settings %}
                    <li><code>{{ setting }}</code></li>
                {% endfor %}
            </ul>
        {% else %}
            {% url 'sentry-configure-project-plugin' organization_slug=project.organization.slug project_slug=project.slug slug=plugin.slug as link %}
            <p>{% blocktrans %}You still need to <a href="{{ link }}">configure this plugin</a> before you can use it.{% endblocktrans %}</p>
        {% endif %}
    </div>
{% endblock %}

Fix broken plugin configure link
Fix broken plugin configure link

Fixes GH-2789
