momo: add heart icon (#10829)

This commit is contained in:
Frédéric Péters 2016-05-04 10:37:13 +02:00
parent ce2c831f50
commit 6398c60ac8
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('momo', '0008_momoiconcell_style'),
]
operations = [
migrations.AlterField(
model_name='momoiconcell',
name='icon',
field=models.CharField(default=b'', max_length=50, verbose_name='Icon', blank=True, choices=[(b'fa-home', 'Home'), (b'fa-globe', 'Globe'), (b'fa-mobile', 'Mobile'), (b'fa-comments', 'Comments'), (b'fa-map', 'Map'), (b'fa-users', 'Users'), (b'fa-institution', 'Institution'), (b'fa-bullhorn', 'Bull Horn'), (b'fa-calendar', 'Calendar'), (b'fa-map-marker', 'Map Marker'), (b'fa-book', 'Book'), (b'fa-envelope', 'Envelope'), (b'fa-car', 'Car'), (b'fa-road', 'Road'), (b'fa-heart', 'Heart')]),
),
]

View File

@ -67,6 +67,7 @@ class MomoIconCell(CellBase):
('fa-envelope', _('Envelope')),
('fa-car', _('Car')),
('fa-road', _('Road')),
('fa-heart', _('Heart')),
])
description = RichTextField(_('Description'), blank=True, null=True)
style = models.CharField(_('Style'), max_length=128, default='', blank=True)