From 1e523d762eb71f9cbed3e55a47c04b84d74584b5 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Thu, 29 Dec 2016 17:41:00 -0500 Subject: [PATCH] Remove references to legacy character management. Correct group name spacing. --- alliance_auth/urls.py | 2 -- eveonline/views.py | 7 ------- stock/templates/public/base.html | 6 ------ stock/templates/registered/dashboard.html | 4 +--- 4 files changed, 1 insertion(+), 18 deletions(-) diff --git a/alliance_auth/urls.py b/alliance_auth/urls.py index 35e27966..bbea8f80 100755 --- a/alliance_auth/urls.py +++ b/alliance_auth/urls.py @@ -182,8 +182,6 @@ urlpatterns += i18n_patterns( # Eveonline Urls url(_(r'^add_api_key/'), eveonline.views.add_api_key, name='auth_add_api_key'), - url(_(r'^api_key_management/'), eveonline.views.api_key_management_view, - name='auth_api_key_management'), url(_(r'^refresh_api_pair/([0-9]+)/$'), eveonline.views.user_refresh_api, name='auth_user_refresh_api'), url(_(r'^delete_api_pair/(\w+)/$'), eveonline.views.api_key_removal, name='auth_api_key_removal'), url(_(r'^characters/'), eveonline.views.characters_view, name='auth_characters'), diff --git a/eveonline/views.py b/eveonline/views.py index a71b43ec..7d995567 100755 --- a/eveonline/views.py +++ b/eveonline/views.py @@ -99,13 +99,6 @@ def api_sso_validate(request, tokens, api_id): return render(request, 'registered/apisso.html', context={'api':api}) -@login_required -def api_key_management_view(request): - logger.debug("DEPRECIATED api_key_management_view called by user %s" % request.user) - # Legacy redirect in case some links still ghost here - return redirect('auth_dashboard') - - @login_required def dashboard_view(request): logger.debug("dashboard_view called by user %s" % request.user) diff --git a/stock/templates/public/base.html b/stock/templates/public/base.html index cf856172..595dbfc5 100755 --- a/stock/templates/public/base.html +++ b/stock/templates/public/base.html @@ -110,12 +110,6 @@ -
  • - - {% trans " Characters" %} - -
  • - {% if STATE == MEMBER_STATE or user.is_superuser %}
  • diff --git a/stock/templates/registered/dashboard.html b/stock/templates/registered/dashboard.html index d405cc74..ecfb342f 100644 --- a/stock/templates/registered/dashboard.html +++ b/stock/templates/registered/dashboard.html @@ -55,9 +55,7 @@ {% for group in user.groups.all %} - + {% endfor %}
    -

    {{ group.name }}

    -
    {{ group.name }}