add icon unicode hex for eventlocations in bootstrap script
This commit is contained in:
parent
2a78b70171
commit
9632cc3ec7
|
@ -39,7 +39,7 @@
|
|||
<select id="location" name="location" class="fa-select form-control filter-control">
|
||||
<option value="">All Locations</option>
|
||||
{% for loc in camp.event_locations %}
|
||||
<option value="{{ loc.slug }}" {% if location and location == loc %}selected{% endif %}>{{ loc.icon }} {{ loc.name }}</option>
|
||||
<option value="{{ loc.slug }}" {% if location and location == loc %}selected{% endif %}>&#x{{ loc.icon }}; {{ loc.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
||||
|
|
|
@ -191,29 +191,27 @@ class Command(BaseCommand):
|
|||
speakers_tent = EventLocation.objects.create(
|
||||
name='Speakers Tent',
|
||||
slug='speakers-tent',
|
||||
icon='speakertent.png',
|
||||
icon='f075',
|
||||
camp=camp
|
||||
)
|
||||
workshop_room = EventLocation.objects.create(
|
||||
name='Workshop rooms',
|
||||
slug='workshop-rooms',
|
||||
icon='workshop.png',
|
||||
icon='f0b1',
|
||||
camp=camp
|
||||
)
|
||||
bar_area = EventLocation.objects.create(
|
||||
name='Bar Area',
|
||||
slug='bar-area',
|
||||
icon='bararea.png',
|
||||
icon='f000',
|
||||
camp=camp
|
||||
)
|
||||
food_area = EventLocation.objects.create(
|
||||
name='Food Area',
|
||||
slug='food-area',
|
||||
icon='foodarea.png',
|
||||
icon='f0f5',
|
||||
camp=camp
|
||||
)
|
||||
# local food event
|
||||
# taste each others food
|
||||
|
||||
self.output('Creating news for {}...'.format(year))
|
||||
NewsItem.objects.create(
|
||||
|
|
Loading…
Reference in a new issue