From 59a26e48fdb9fa745615698e90cd01bafbe6fdea Mon Sep 17 00:00:00 2001 From: orbitroom Date: Sun, 6 Mar 2016 20:48:29 -0500 Subject: [PATCH] Corrected API display in application view --- hrapplications/views.py | 5 ++++- stock/templates/registered/hrapplicationview.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hrapplications/views.py b/hrapplications/views.py index 1318165d..671d0901 100755 --- a/hrapplications/views.py +++ b/hrapplications/views.py @@ -153,7 +153,10 @@ def hr_application_view(request, app_id): context = { 'application': application, - 'comments': comments, 'comment_form': form} + 'comments': comments, + 'comment_form': form, + 'apis': application.user.eveapikeypair_set.all(), + } return render_to_response('registered/hrapplicationview.html', context, context_instance=RequestContext(request)) diff --git a/stock/templates/registered/hrapplicationview.html b/stock/templates/registered/hrapplicationview.html index 3fff9a6a..40c29e90 100755 --- a/stock/templates/registered/hrapplicationview.html +++ b/stock/templates/registered/hrapplicationview.html @@ -143,7 +143,7 @@
{% for api in apis %} -