From afe975b8c3ebfb7efc13ee96c8f2edf2a1602dfb Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Sun, 7 Jun 2020 00:07:46 +0200 Subject: [PATCH] User can add PGP key to for a contact --- app/dashboard/__init__.py | 1 + .../templates/dashboard/contact_detail.html | 65 +++++++++++++++++++ app/dashboard/views/contact_detail.py | 55 ++++++++++++++++ 3 files changed, 121 insertions(+) create mode 100644 app/dashboard/templates/dashboard/contact_detail.html create mode 100644 app/dashboard/views/contact_detail.py diff --git a/app/dashboard/__init__.py b/app/dashboard/__init__.py index fc216406..41ff2bc0 100644 --- a/app/dashboard/__init__.py +++ b/app/dashboard/__init__.py @@ -22,4 +22,5 @@ from .views import ( refused_email, referral, recovery_code, + contact_detail, ) diff --git a/app/dashboard/templates/dashboard/contact_detail.html b/app/dashboard/templates/dashboard/contact_detail.html new file mode 100644 index 00000000..af0b1fd8 --- /dev/null +++ b/app/dashboard/templates/dashboard/contact_detail.html @@ -0,0 +1,65 @@ +{% extends 'default.html' %} + +{% set active_page = "dashboard" %} + +{% block title %} + Contact {{ contact.email }} - Alias {{ alias.email }} +{% endblock %} + +{% block default_content %} + +