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