diff --git a/colab/plugins/utils/models.py b/colab/plugins/utils/models.py index 9d61c9d..4e808d8 100644 --- a/colab/plugins/utils/models.py +++ b/colab/plugins/utils/models.py @@ -3,6 +3,10 @@ from django.conf import settings from colab.accounts.models import User +class Tag(models.Model): + name = models.CharField(max_length=255) + color = models.CharField(max_length=30) + class Collaboration(models.Model): ''' Class to define the fields of the collaboration block diff --git a/colab/super_archives/templates/message-preview.html b/colab/super_archives/templates/message-preview.html index feba65e..06ee063 100644 --- a/colab/super_archives/templates/message-preview.html +++ b/colab/super_archives/templates/message-preview.html @@ -3,9 +3,9 @@
  • -{% if result.tag %} +{% if result.tag_name %} - {{ result.tag }} + {{ result.tag_name}} {% endif %} -- libgit2 0.21.2