aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/partial
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-08 07:27:35 +0300
committerGravatar Vitaly Takmazov2022-12-08 07:27:35 +0300
commite3c4cd8414ee75f17305a29b4ec091aadcf1832e (patch)
tree063d72b0041388ee879541861927e340edba541d /src/main/resources/templates/views/partial
parent7b8a99a6074228a5680218690b7f1538ce7e8d1d (diff)
Add return path parameter to other `/login` links
Diffstat (limited to 'src/main/resources/templates/views/partial')
-rw-r--r--src/main/resources/templates/views/partial/message.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/views/partial/message.html b/src/main/resources/templates/views/partial/message.html
index a41a3064..9a33c432 100644
--- a/src/main/resources/templates/views/partial/message.html
+++ b/src/main/resources/templates/views/partial/message.html
@@ -54,7 +54,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 %}
@@ -84,4 +84,4 @@
</a>
{% endif %}
</nav>
-</article> \ No newline at end of file
+</article>