From 294cd6b7810fbbeb6966ac4ff0e61a4038742b49 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Fri, 20 Jan 2017 10:00:24 -0500 Subject: [PATCH] Remove references to legacy jacknife setting --- corputils/templates/corputils/search.html | 3 ++- docs/installation/services/jacknife.md | 2 +- services/context_processors.py | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/corputils/templates/corputils/search.html b/corputils/templates/corputils/search.html index 1687a39b..9345b9eb 100644 --- a/corputils/templates/corputils/search.html +++ b/corputils/templates/corputils/search.html @@ -1,6 +1,7 @@ {% extends "corputils/base.html" %} {% load i18n %} {% load bootstrap_pagination %} +{% load eveonline_extras %} {% block member_data %}
@@ -27,7 +28,7 @@ {{ result.1.character_name }} {{ result.0.corp.corporation_name }} {% if result.1.api %} - {{ result.1.api.api_id }} + {{ result.1.api|api_link:"label label-primary" }} {% else %} {% endif %} diff --git a/docs/installation/services/jacknife.md b/docs/installation/services/jacknife.md index b3eb4925..20c1c764 100644 --- a/docs/installation/services/jacknife.md +++ b/docs/installation/services/jacknife.md @@ -68,4 +68,4 @@ Enter your database password and press Check. If all the boxes come back green p ## Update Auth Settings -Edit your aut settings file (`nano ~/allianceauth/alliance_auth/settings.py`) and replace `JACK_KNIFE_URL` with either `jacknife.example.com/` or `example.com/jacknife/` depending on your apache choice. \ No newline at end of file +Edit your aut settings file (`nano ~/allianceauth/alliance_auth/settings.py`) and replace `API_KEY_AUDIT_URL` with either `jacknife.example.com/?usid={api_id}&apik={vcode}` or `example.com/jacknife/?usid={api_id}&apik={vcode}` depending on your apache choice. diff --git a/services/context_processors.py b/services/context_processors.py index d90c67a9..e8ddd680 100644 --- a/services/context_processors.py +++ b/services/context_processors.py @@ -9,7 +9,6 @@ def auth_settings(request): 'MUMBLE_URL': settings.MUMBLE_URL, 'FORUM_URL': settings.FORUM_URL, 'TEAMSPEAK3_PUBLIC_URL': settings.TEAMSPEAK3_PUBLIC_URL, - 'JACK_KNIFE_URL': settings.JACK_KNIFE_URL, 'DISCORD_SERVER_ID': settings.DISCORD_GUILD_ID, 'KILLBOARD_URL': settings.KILLBOARD_URL, 'DISCOURSE_URL': settings.DISCOURSE_URL,