]> git.parisson.com Git - mezzo.git/commitdiff
Fix price==0 but reserve, de-ignore var (!)
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 8 Dec 2016 17:11:21 +0000 (18:11 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 8 Dec 2016 17:11:38 +0000 (18:11 +0100)
.gitignore
app/templates/agenda/includes/event_metainfo.html
bin/pull.sh

index 127fa30736aebb26a8095238f0171e43b4d72bdf..45b65c2e2c166bdce9a997784a0be05e873ecb97 100644 (file)
@@ -12,7 +12,6 @@ sdist
 develop-eggs
 .installed.cfg
 *.directory
-var
 .thumbnails
 .tmp
 *.lock
index 4c6adc7db581153ec6c9bcdd675c71e522dc76a9..af37ea4ad860542c7fb599ba5fdd765cc3201f0c 100644 (file)
@@ -41,7 +41,7 @@
 {% endif %}
 
 {% if unit_booking %}
-    {% if event.prices.all.0|floatformat != '0' and event.prices.all|length > 0 %}
+    {% if event.prices.all|length > 0 %}
         {% for price in event.prices.all %}
             {% if forloop.first %}
                 <div class="page__meta-title page__meta-title--small">{% trans "Prices" %}</div>
index 8b6a0680cc8905469183624b648df3f4d98cc55a..a3d67ab70138812f8e1260e8ffa11eef2fc19c4d 100755 (executable)
@@ -3,6 +3,6 @@
 sudo chown -R $USER var/media
 sudo chown -R $USER var/backup
 git pull
-git submodule foreach git pull
+git submodule foreach git pull origin master
 docker-compose run db /srv/bin/db/restore.sh
 docker-compose run app bash -c "cd /srv && bower --allow-root install && gulp build"