File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1277,7 +1277,7 @@ a.endBtn {
1277
1277
width : 99% ;
1278
1278
1279
1279
.tile_name {
1280
- font-size : 1.5 rem ;
1280
+ font-size : 1.25 rem ;
1281
1281
}
1282
1282
}
1283
1283
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ <h4>{{ sample.name }}</h4>
61
61
{# On Mobile #}
62
62
< div class ="tiles ">
63
63
{% for lvl in levels %}
64
- {% if lvl.order < 5 %}
64
+ {% if lvl.order < 5 and lvl.order is not 0 %}
65
65
< div class ="tiles_{{ lvl.slug }} ">
66
66
{% for sponsor in lvl.sponsor_set.all %}
67
67
{% if sponsor.logo_image and sponsor.paid_at is not None %}
Original file line number Diff line number Diff line change @@ -221,7 +221,10 @@ def get_context_data(self, **kwargs):
221
221
context ['booths' ] = Sponsor .objects \
222
222
.filter (level__order__lt = 5 , accepted = True , paid_at__isnull = False , logo_image__isnull = False )\
223
223
.exclude (level__order = 0 ).order_by ('level__order' , 'paid_at' )
224
- context ['sample' ] = Sponsor .objects .get (level__order = 0 )
224
+ try :
225
+ context ['sample' ] = Sponsor .objects .get (level__order = 0 )
226
+ except Sponsor .DoesNotExist :
227
+ pass
225
228
226
229
managers = []
227
230
for sponsor in Sponsor .objects .filter (accepted = True , paid_at__isnull = False ):
You canβt perform that action at this time.
0 commit comments