{% extends "socialaccount/partials/social_account_list.html" %} {% load is_access_revoked from readthedocs.socialaccounts %} {% comment %} This template is used by the GHA migration template to list _just_ GitHub OAuth accounts that need to be revoked. {% endcomment %} {% load trans blocktrans from i18n %} {% load provider_login_url from socialaccount %} {% block list_placeholder %} {% endblock list_placeholder %} {% block top_right_menu_items %} {% if not step_revoke_completed %}
{% blocktrans trimmed %} You may need to manually refresh after revoking access {% endblocktrans %}
{% endif %}
{% trans "Refresh" %}
{% endblock top_right_menu_items %} {% block list_item_meta_items %} {% endblock list_item_meta_items %} {% block list_item_right_menu %} {% if object|is_access_revoked %} {% trans "Revoked" %} {% else %} {% trans "Revoke" %} {% endif %} {% endblock list_item_right_menu %}