mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
Merge branch 'hrapp' of https://github.com/R4stl1n/allianceauth into hrapp
Conflicts: stock/templates/registered/hrapplicationview.html
This commit is contained in:
commit
0f66707631
@ -153,7 +153,10 @@ def hr_application_view(request, app_id):
|
|||||||
|
|
||||||
context = {
|
context = {
|
||||||
'application': application,
|
'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',
|
return render_to_response('registered/hrapplicationview.html',
|
||||||
context, context_instance=RequestContext(request))
|
context, context_instance=RequestContext(request))
|
||||||
|
@ -146,8 +146,8 @@
|
|||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
{% if perms.hrapplications.view_apis %}
|
{% if perms.hrapplications.view_apis %}
|
||||||
{% for api in apis %}
|
{% for api in apis %}
|
||||||
<a href="{{ JACK_KNIFE_URL }}?usid={{ api._api_id }}&apik={{ api.api__key }}"
|
<a href="{{ JACK_KNIFE_URL }}?usid={{ api.api_id }}&apik={{ api.api_key }}"
|
||||||
target="_blank">
|
target="_blank">
|
||||||
<button type="button" class="btn btn-lg btn-primary">API {{ api.api_id }}</button>
|
<button type="button" class="btn btn-lg btn-primary">API {{ api.api_id }}</button>
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user