diff --git a/app/templates/user/edit_note.html b/app/templates/user/edit_note.html index 5f003e0e..083f3bdc 100644 --- a/app/templates/user/edit_note.html +++ b/app/templates/user/edit_note.html @@ -42,6 +42,10 @@ {{ render_form(form) }} + {% if return_to -%} +

+ {{ _('Back') }} + {% endif -%}
{{ _('This note appears next to their username. It\'s meant just for you and not displayed to anyone else.') }}
diff --git a/app/templates/user/user_preview.html b/app/templates/user/user_preview.html index cba88076..dd0dae27 100644 --- a/app/templates/user/user_preview.html +++ b/app/templates/user/user_preview.html @@ -52,6 +52,11 @@
{{ _('View profile') }}
+ {% if current_user.is_authenticated -%} +
+ {{ _('Edit note') }} +
+ {% endif -%}