accounts/templates/gooyal_oauth2/application_detail.html
2024-08-05 16:17:10 +03:30

33 lines
866 B
HTML

{% extends "base.html" %}
{% load static %}
{% load crispy_forms_tags %}
{% load jalali_tags %}
{% block title %}Application Detail: {{ object }}{% endblock %}
{% block page_title %}Application Detail: {{ object }}{% endblock %}
{% block page_action %}
<div class="me-2">
<a href="{% url 'gooyal_oauth2:application_update' object.pk %}">
<div class="btn btn-success">
<span class="bi bi-gear-fill"></span>
</div>
</a>
</div>
{% endblock %}
{% block content %}
<p>application: {{ object.name }}!</p>
<p>client id: {{ object.client_id }}!</p>
<p>allowed_scopes:</p>
{% for scope in object.allowed_scopes %}
<div>{{ scope }}</div>
{% endfor %}
<p>own_scopes:</p>
{% for scope in object.scopes.all %}
<div>{{ scope }}</div>
{% endfor %}
{% endblock %}