Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't show a big main image in the exercise detail view

Roland Geider11995f2d3737
diff --git a/wger/exercises/templates/view.html b/wger/exercises/templates/view.html
index 555aaad8d..9be235737 100644
--- a/wger/exercises/templates/view.html
+++ b/wger/exercises/templates/view.html
@@ -146,6 +146,7 @@ included in the database.{% endblocktrans %}
<h3>{% trans "Images" %}</h3>
+<!--
{% with main_image=images|first %}
<div class="image-gallery" style="width:450px;margin-left:auto;margin-right:auto;">
<div class="image-box" style="width:400px;padding-bottom:340px;">
@@ -174,10 +175,11 @@ included in the database.{% endblocktrans %}
</div>
</div>
{% endwith %}
+-->
<div class="image-gallery">
- {% with other_images=images|slice:"1:" %}
+ {% with other_images=images %}
{% for image in other_images %}
<div class="image-box">
<div class="boxInner">