Skip to content

Commit

Permalink
Fix error with extends in account templates #4526
Browse files Browse the repository at this point in the history
  • Loading branch information
joemull authored and StephDriver committed Dec 6, 2024
1 parent d2ec0ef commit 038db4d
Show file tree
Hide file tree
Showing 20 changed files with 17 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load foundation %}
{% load i18n %}

Expand Down
2 changes: 1 addition & 1 deletion src/themes/OLH/templates/core/accounts/edit_profile.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load i18n %}

{% block title %}{% trans "Edit Profile" %}{% endblock title %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load i18n foundation %}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load foundation %}
{% load i18n %}

Expand Down
4 changes: 0 additions & 4 deletions src/themes/OLH/templates/core/accounts/public_profile.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load static %}
{% load i18n %}
Expand Down
2 changes: 1 addition & 1 deletion src/themes/OLH/templates/core/accounts/register.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load foundation %}
{% load i18n %}

Expand Down
2 changes: 1 addition & 1 deletion src/themes/OLH/templates/core/accounts/reset_password.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load foundation %}
{% load i18n %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load foundation %}
{% load i18n %}

Expand Down
2 changes: 1 addition & 1 deletion src/themes/clean/templates/core/accounts/edit_profile.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load i18n %}
{% load static %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load i18n bootstrap4 %}

{% block title %}{% trans "Reset Password" %}{% endblock title %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load foundation %}

{% block title %}{% trans 'Unregistered ORCiD' %}{% endblock title %}
Expand Down
4 changes: 0 additions & 4 deletions src/themes/clean/templates/core/accounts/public_profile.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load static %}

Expand Down
2 changes: 1 addition & 1 deletion src/themes/clean/templates/core/accounts/register.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load bootstrap4 %}
{% load i18n %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load i18n %}
{% load bootstrap4 %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load foundation %}
{% load i18n %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load i18n %}

{% block title %}{% trans "Edit Profile" %}{% endblock title %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load i18n materializecss %}

{% block title %}{% trans "Reset Password" %}{% endblock title %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load static %}
{% load i18n %}
Expand Down
2 changes: 1 addition & 1 deletion src/themes/material/templates/core/accounts/register.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load materializecss %}
{% load i18n %}
{% load static %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "core/base.html" %}
{% comment %}
This template is deprecated. Account pages are now part of the back-office.
{% endcomment %}

{% extends "core/base.html" %}
{% load i18n %}
{% load materializecss %}

Expand Down

0 comments on commit 038db4d

Please sign in to comment.