This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2019-03-13 15:49:30 +00:00
|
|
|
{% extends "user/base.html" %}
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block page %}
|
2020-02-21 17:00:09 +00:00
|
|
|
<div class="pf-c-card__header pf-c-title pf-m-md">
|
|
|
|
<h1>{{ source.name }}</h1>
|
|
|
|
</div>
|
|
|
|
<div class="pf-c-card__body">
|
|
|
|
{% if connections.exists %}
|
|
|
|
<p>{% trans 'Connected.' %}</p>
|
|
|
|
<a class="pf-c-button pf-m-danger" href="{% url 'passbook_sources_oauth:oauth-client-disconnect' source_slug=source.slug %}">
|
|
|
|
{% trans 'Disconnect' %}
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<p>Not connected.</p>
|
|
|
|
<a class="pf-c-button pf-m-primary" href="{% url 'passbook_sources_oauth:oauth-client-login' source_slug=source.slug %}">
|
|
|
|
{% trans 'Connect' %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2019-03-13 15:49:30 +00:00
|
|
|
{% endblock %}
|