mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
models: add layer name to string representation of layer note
This includes the layer name in layer note additions/changes in the history page, among other places. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
ce1775db31
commit
b3a8b19eb4
|
@ -204,7 +204,7 @@ class LayerNote(models.Model):
|
||||||
text = models.TextField()
|
text = models.TextField()
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return self.text
|
return "%s: %s" % (self.layer.name, self.text)
|
||||||
|
|
||||||
|
|
||||||
class Recipe(models.Model):
|
class Recipe(models.Model):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user