Add link url to AboutItem

This commit is contained in:
pcoder 2017-10-20 08:50:30 +02:00
commit c4975f0f9b
3 changed files with 23 additions and 0 deletions

View file

@ -80,6 +80,7 @@ class About(Service):
class AboutItem(UngelichPicture):
inverted = models.BooleanField(default=False)
link_url = models.URLField(max_length=300, default="", blank=True)
def __str__(self):
alignment = "Right" if self.inverted else "Left"