Example #1
0
 def show(self):
     show_text = []
     show_text.append("Project %s: %s" % (self.id, self.name))
     if self.description:
         show_text.append(self.description)
     show_text.append("Elapsed days %s, Created at %s" % (self.elapsed_days(), self.created_at))
     notes = self.notes()
     if len(notes) > 0:
         show_text.append("Notes for project:")
     for note in notes:
         show_text.append(note.display_line())
     return "\n".join(show_text)