Example #1
0
 def formatted_outcome(self):
     if self.outcome:
         return value_for_display(self.outcome)
Example #2
0
def value_for_display(value):
    return util.value_for_display(value)
Example #3
0
 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"
Example #4
0
def comma_separate_value_for_display(value):
    return util.value_for_display(", ".join(value.split(" ")))