Skip to content

Commit f360585

Browse files
committed
standardize admin link
1 parent 1aec3e9 commit f360585

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

admin/templates/accounts/edit_account.html.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{%- block meta_description %}Administration portal to edit a user account{%- endblock meta_description %}
55
{%- block meta_url %}{{ url_for('.edit', edit_account_id=edit_account.account_id, _external=True) }}{%- endblock meta_url %}
66
{%- block title %}Edit Account: {{ edit_account.display_name | safe }} / Administration Portal{%- endblock title %}
7-
{%- block header %}<a href="{{ url_for('.index') }}">Edit Account</a> / <a href="{{ url_for('.manage', manage_account_id=edit_account.account_id) }}">{{- edit_account.display_name | safe -}}</a>{%- endblock header %}
7+
{%- block header %}<a href="{{ url_for('.index') }}">Accounts</a> / <a href="{{ url_for('.manage', manage_account_id=edit_account.account_id) }}">{{- edit_account.display_name | safe -}}</a>{%- endblock header %}
88
{%- macro render_field(field) %}
99
<tr>
1010
<td class="admin-{{ field.name | safe }}">

admin/templates/accounts/edit_player.html.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{%- block meta_description %}Administration portal to edit a player character{%- endblock meta_description %}
55
{%- block meta_url -%}{{ url_for('.edit', edit_player_id=edit_player.id, _external=True) -}}{%- endblock meta_url %}
66
{%- block title -%}Edit Player: {{ edit_player.name | title | safe }} / Administration Portal{%- endblock title -%}
7-
{%- block header -%}<a href="{{ url_for('.edit', edit_player_id=edit_player.id) }}">Edit Player</a> / <span class="{{ edit_player.player_css }}">{{ edit_player.name }}</span>{%- endblock header -%}
7+
{%- block header -%}<a href="{{ url_for('.index') }}">Accounts</a> / <a href="{{ url_for('.edit', edit_player_id=edit_player.id) }}">Edit Player</a> / <span class="{{ edit_player.player_css }}">{{ edit_player.name }}</span>{%- endblock header -%}
88
{%- macro render_field(field) %}
99
<tr>
1010
<td class="admin-{{ field.name | safe }}">

0 commit comments

Comments
 (0)