show last viewd recipes on search page

This commit is contained in:
vabene1111
2020-05-11 12:42:55 +02:00
parent 123dc1a74d
commit 4a68a99907
4 changed files with 52 additions and 1 deletions

View File

@@ -77,6 +77,13 @@
{% endif %}
<br/>
{% if last_viewed %}
<h4>{% trans 'Last viewed' %}</h4>
{% render_table last_viewed %}
<h4>{% trans 'Recips' %}</h4>
{% endif %}
{% if user.is_authenticated and recipes %}
{% render_table recipes %}
{% else %}