diff options
author | Vitaly Takmazov | 2022-12-08 07:27:35 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-12-08 07:27:35 +0300 |
commit | e3c4cd8414ee75f17305a29b4ec091aadcf1832e (patch) | |
tree | 063d72b0041388ee879541861927e340edba541d /src/main/resources/templates/views/thread.html | |
parent | 7b8a99a6074228a5680218690b7f1538ce7e8d1d (diff) |
Add return path parameter to other `/login` links
Diffstat (limited to 'src/main/resources/templates/views/thread.html')
-rw-r--r-- | src/main/resources/templates/views/thread.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html index 6215aa9a..7aecaea4 100644 --- a/src/main/resources/templates/views/thread.html +++ b/src/main/resources/templates/views/thread.html @@ -61,7 +61,7 @@ </span> </a> {% else %} - <a href="/login" class="a-login msg-button"> + <a href="/login?retpath={{ retpath | default('/') }}" class="a-login msg-button"> <span class="msg-button-icon"> <i data-icon="ei-heart" data-size="s"></i> {% if msg.recommendations.size() > 0 %} {{ msg.recommendations.size() }} @@ -185,4 +185,4 @@ {% endblock %} {% block "column" %} {% include "views/partial/usercolumn" %} -{% endblock %}
\ No newline at end of file +{% endblock %} |