diff --git a/bda/templates/bda/revente/shotgun.html b/bda/templates/bda/revente/shotgun.html index fae36c04..a724032e 100644 --- a/bda/templates/bda/revente/shotgun.html +++ b/bda/templates/bda/revente/shotgun.html @@ -2,11 +2,26 @@ {% block realcontent %}
Titre | +Date | +Lieu | +Prix | ++ |
---|---|---|---|---|
Racheter + |
Pas de places disponibles immédiatement, désolé !
{% endif %} diff --git a/bda/views.py b/bda/views.py index 9d550eab..8d5b7ab0 100644 --- a/bda/views.py +++ b/bda/views.py @@ -660,7 +660,7 @@ def revente_shotgun(request, tirage_id): ) shotgun = [sp for sp in spectacles if len(sp.shotguns) > 0] - return render(request, "bda/revente/shotgun.html", {"shotgun": shotgun}) + return render(request, "bda/revente/shotgun.html", {"spectacles": shotgun}) @buro_required diff --git a/gestioncof/static/css/cof.css b/gestioncof/static/css/cof.css index 84c81d60..51a7ab65 100644 --- a/gestioncof/static/css/cof.css +++ b/gestioncof/static/css/cof.css @@ -187,6 +187,18 @@ form.petit-cours_form .remove-btn { margin-top : 10px; } +table#bda-shotgun td { + padding: 14px; +} + +table#bda-shotgun td.button { + padding: 8px; +} + +table#bda-shotgun a, table#bda-shotgun a:hover { + color: #FFF +} + tr.dynamic-form td { background: #F0F0F0; }