Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove cc_by_sa template tags

Roland Geiderae442791d96f
diff --git a/wger/manager/templates/tags/license-sidebar.html b/wger/manager/templates/tags/license-sidebar.html
index 57cf7b516..e6b7051df 100644
--- a/wger/manager/templates/tags/license-sidebar.html
+++ b/wger/manager/templates/tags/license-sidebar.html
@@ -2,7 +2,6 @@
{% load staticfiles %}
<h3>{% trans "Free license" %}</h3>
-
<p>
{% trans "This content is available under the following license:" %}
<strong>{{license}}</strong>
@@ -14,6 +13,4 @@
<br>
<a rel="license" href="{{license.url}}">{% trans "Click here for more information" %}</a>
{% endif %}
-
-
</p>
diff --git a/wger/nutrition/templates/mobile/ingredient/overview.html b/wger/nutrition/templates/mobile/ingredient/overview.html
index e204e8410..b21b1ad2d 100644
--- a/wger/nutrition/templates/mobile/ingredient/overview.html
+++ b/wger/nutrition/templates/mobile/ingredient/overview.html
@@ -82,6 +82,4 @@ $(document).ready(function() {
</a>
</p>
{% endif %}
-
-{% cc_by_sa_sidebar language %}
{% endblock %}
diff --git a/wger/nutrition/templates/mobile/ingredient/view.html b/wger/nutrition/templates/mobile/ingredient/view.html
index a76ae42e4..71fa719be 100644
--- a/wger/nutrition/templates/mobile/ingredient/view.html
+++ b/wger/nutrition/templates/mobile/ingredient/view.html
@@ -275,6 +275,6 @@ the search.{% endblocktrans %}
{% endif %}
{% endif %}
-{% cc_by_sa_sidebar language %}
+{% license_sidebar ingredient.license ingredient.license_author %}
{% endblock %}
diff --git a/wger/nutrition/templates/mobile/ingredient_overview.html b/wger/nutrition/templates/mobile/ingredient_overview.html
index 746b45149..18d1c905b 100644
--- a/wger/nutrition/templates/mobile/ingredient_overview.html
+++ b/wger/nutrition/templates/mobile/ingredient_overview.html
@@ -43,6 +43,4 @@
</a>
</p>
{% endif %}
-
-{% cc_by_sa_sidebar language %}
{% endblock %}