SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 0c722713 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Correct improper naming of personal page: account tab in views

parent 350c1686
No related branches found
No related tags found
No related merge requests found
......@@ -412,7 +412,7 @@ def delete_unavailable_period(request, period_id):
@login_required
@is_contributor_user()
def _personal_page_editorial_account(request):
def _personal_page_account(request):
""" Personal Page tab: Account. """
contributor = request.user.contributor
context = {
......@@ -613,7 +613,7 @@ def personal_page(request, tab='account'):
"""
if request.is_ajax():
if tab == 'account':
return _personal_page_editorial_account(request)
return _personal_page_account(request)
elif tab == 'admin_actions':
return _personal_page_admin_actions(request)
elif tab == 'editorial_actions':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment