mirror of https://github.com/snachodog/mybuddy.git
feat: add links for bottle feeding (#764)
Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
This commit is contained in:
parent
f30479db42
commit
682090f594
|
@ -49,6 +49,10 @@
|
||||||
<i class="icon-feeding" aria-hidden="true"></i>
|
<i class="icon-feeding" aria-hidden="true"></i>
|
||||||
{% trans "Feeding" %}
|
{% trans "Feeding" %}
|
||||||
</a>
|
</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 %}
|
{% endif %}
|
||||||
{% if perms.core.add_pumping %}
|
{% if perms.core.add_pumping %}
|
||||||
<a class="dropdown-item p-2" href="{% url 'core:pumping-add' %}">
|
<a class="dropdown-item p-2" href="{% url 'core:pumping-add' %}">
|
||||||
|
|
|
@ -13,6 +13,10 @@
|
||||||
<a href="{% url 'core:feeding-add' %}" class="btn btn-sm btn-success">
|
<a href="{% url 'core:feeding-add' %}" class="btn btn-sm btn-success">
|
||||||
<i class="icon-feeding" aria-hidden="true"></i> {% trans "Add Feeding" %}
|
<i class="icon-feeding" aria-hidden="true"></i> {% trans "Add Feeding" %}
|
||||||
</a>
|
</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 %}
|
{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
{% include 'babybuddy/filter.html' %}
|
{% include 'babybuddy/filter.html' %}
|
||||||
|
|
Loading…
Reference in New Issue