aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/views/partial/message.html4
-rw-r--r--src/main/resources/templates/views/thread.html4
2 files changed, 4 insertions, 4 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>
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 %}&nbsp;{{ msg.recommendations.size() }}
@@ -185,4 +185,4 @@
{% endblock %}
{% block "column" %}
{% include "views/partial/usercolumn" %}
-{% endblock %} \ No newline at end of file
+{% endblock %}