don't show the add link for today
This commit is contained in:
parent
1e7bd63910
commit
64037e5a7a
|
|
@ -23,9 +23,11 @@
|
|||
{% if accomplishments %}
|
||||
<div><a href="{{ url_for('main.edit_day', day=day.string) }}" class="link">edit</a></div>
|
||||
{% else %}
|
||||
{% if not day.is_today %}
|
||||
<div><a href="{{ url_for('main.add_day', day=day.string, from="top") }}" class="link">add</a></div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if edit %}
|
||||
<div class="my-1 ml-2 text-sm accomplishment">
|
||||
|
|
|
|||
Loading…
Reference in New Issue