def formatted_outcome(self): if self.outcome: return value_for_display(self.outcome)
def value_for_display(value): return util.value_for_display(value)
def status_display(self): if self.closed: return value_for_display(self.outcome) if self.outcome else "unknown outcome" else: return value_for_display(self.status) if self.status else "unknown status"
def comma_separate_value_for_display(value): return util.value_for_display(", ".join(value.split(" ")))