Skip to content

Commit

Permalink
standardize admin link
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoc committed Apr 12, 2023
1 parent 1aec3e9 commit f360585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/templates/accounts/edit_account.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{%- block meta_description %}Administration portal to edit a user account{%- endblock meta_description %}
{%- block meta_url %}{{ url_for('.edit', edit_account_id=edit_account.account_id, _external=True) }}{%- endblock meta_url %}
{%- block title %}Edit Account: {{ edit_account.display_name | safe }} / Administration Portal{%- endblock title %}
{%- 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 %}
{%- 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 %}
{%- macro render_field(field) %}
<tr>
<td class="admin-{{ field.name | safe }}">
Expand Down
2 changes: 1 addition & 1 deletion admin/templates/accounts/edit_player.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{%- block meta_description %}Administration portal to edit a player character{%- endblock meta_description %}
{%- block meta_url -%}{{ url_for('.edit', edit_player_id=edit_player.id, _external=True) -}}{%- endblock meta_url %}
{%- block title -%}Edit Player: {{ edit_player.name | title | safe }} / Administration Portal{%- endblock title -%}
{%- 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 -%}
{%- 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 -%}
{%- macro render_field(field) %}
<tr>
<td class="admin-{{ field.name | safe }}">
Expand Down

0 comments on commit f360585

Please sign in to comment.