mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 13:19:16 -05:00
show last viewd recipes on search page
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user