feat: add links for bottle feeding (#764)

Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
This commit is contained in:
Sebastien Stettler 2024-02-07 12:17:54 +08:00 committed by GitHub
parent f30479db42
commit 682090f594
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,10 @@
<i class="icon-feeding" aria-hidden="true"></i>
{% trans "Feeding" %}
</a>
<a class="dropdown-item p-2" href="{% url 'core:bottle-feeding-add' %}">
<i class="icon-feeding" aria-hidden="true"></i>
{% trans "Bottle Feeding" %}
</a>
{% endif %}
{% if perms.core.add_pumping %}
<a class="dropdown-item p-2" href="{% url 'core:pumping-add' %}">

View File

@ -13,6 +13,10 @@
<a href="{% url 'core:feeding-add' %}" class="btn btn-sm btn-success">
<i class="icon-feeding" aria-hidden="true"></i> {% trans "Add Feeding" %}
</a>
<a href="{% url 'core:bottle-feeding-add' %}"
class="btn btn-sm btn-success">
<i class="icon-feeding" aria-hidden="true"></i> {% trans "Add Bottle Feeding" %}
</a>
{% endif %}
</h1>
{% include 'babybuddy/filter.html' %}