fixed "add me" on meal view page

master
Marek Baczynski 6 years ago
parent 616840676f
commit 77ecebc9c7

@ -49,7 +49,7 @@
<span class="username">{{ eater }}</span> <span class="username">{{ eater }}</span>
</div> </div>
{% endfor %} {% endfor %}
{% if not current_user.name in eaters and current_user.name != meal.kuk %} {% if not current_user.name in meal.eaters and current_user.name != meal.kuk %}
<div class="flex-card" style="background: none; box-shadow: none"> <div class="flex-card" style="background: none; box-shadow: none">
<div class="round-button" onclick="location.href='/addme?meal={{meal.id}}';"><i class="fa fa-plus" aria-hidden="true"></i></div> <div class="round-button" onclick="location.href='/addme?meal={{meal.id}}';"><i class="fa fa-plus" aria-hidden="true"></i></div>
<span>Add me</span> <span>Add me</span>

Loading…
Cancel
Save