From 124ca2be7dbb7c878f0a1dc9b800e19740ba2857 Mon Sep 17 00:00:00 2001 From: Sebastian Henschel Date: Thu, 30 Mar 2017 13:37:39 +0200 Subject: [PATCH] Added user email (with link to users detail) to consumers detail #19 --- .../consumers/templates/consumers/detail.html | 153 +++++++++++------- 1 file changed, 97 insertions(+), 56 deletions(-) diff --git a/apimanager/consumers/templates/consumers/detail.html b/apimanager/consumers/templates/consumers/detail.html index 8e530d1..7255514 100644 --- a/apimanager/consumers/templates/consumers/detail.html +++ b/apimanager/consumers/templates/consumers/detail.html @@ -7,63 +7,104 @@

Consumer {{ consumer.app_name }}

-
- ID
- {{ consumer.consumer_id }} -
- -
- App Name
- {{ consumer.app_name }} -
- -
- App Type
- {{ consumer.app_type }} -
- -
- Developer Email
- {{ consumer.developer_email }} -
- -
- Created
- {{ consumer.created|naturaltime }} -
- -
- Created By User ID
- {{ consumer.created_by_user_id }} -
- -
- Redirect URL
- {{ consumer.redirect_url }} -
- -
- Description
-
{{ consumer.description }}
-
- -
- {% if consumer.enabled %} - {% url 'consumers-disable' consumer.consumer_id as url_action %} - {% else %} - {% url 'consumers-enable' consumer.consumer_id as url_action %} - {% endif %} -
- {% csrf_token %} - -
- {% if consumer.enabled %} -
+ +
+
{% endblock %}