Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove template file, was apparently not used

Roland Geiderdac042593c32
diff --git a/wger/nutrition/templates/mobile/ingredient_overview.html b/wger/nutrition/templates/mobile/ingredient_overview.html
deleted file mode 100644
index fb9ed5684..000000000
--- a/wger/nutrition/templates/mobile/ingredient_overview.html
+++ /dev/null
@@ -1,46 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% load staticfiles %}
-{% load wger_extras %}
-
-
-{% block title %}{% trans "Ingredient overview" %}{% endblock %}
-
-
-{% block content %}
-{% if ingredients %}
-<ul data-role="listview">
- {% for ingredient in ingredients %}
- <li>
- <a href="{{ ingredient.get_absolute_url }}">{{ ingredient.name }}</a>
- </li>
- {% endfor %}
-</ul>
-{% else %}
- <div class="box warning">
- {% trans "No ingredients." %} {% trans "Use link to add one." %}
- </div>
-{% endif %}
-
-
-<div style="padding-top:3em;"></div>
-{% pagination ingredients page_range %}
-
-
-{% endblock %}
-
-{% block sidebar %}
-{% if perms.exercises %}
-<h4>{% trans "Options" %}</h4>
-<p>
- <a href="{% url 'nutrition:ingredient:add' %}">
- <img src="{% static 'images/icons/new.svg' %}"
- width="32"
- height="32"
- alt="{% trans 'Add ingredient' %}"
- title="{% trans 'Add ingredient' %}">
- {% trans "Add ingredient" %}
- </a>
-</p>
-{% endif %}
-{% endblock %}