(case)
return escape(ret)
Given a case id, make a best effort at displaying it.
Given a case id, make a best effort at displaying it.
Given a case id make a best effort at displaying it .
def case_inline_display(case):
    """
    Given a case id, make a best effort at displaying it.
    """
    if case:
        if case.opened_on:
            ret = "%s (%s: %s)" % (case.name, _("Opened"), case.opened_on.date())
        else:
            ret = case.name
    else:
        ret = _("Empty Case")

    return escape(ret)
def case_inline_display ( case ) : if case : if case . opened_on : ret = "%s (%s: %s)" % ( case . name , _ ( "Opened" ) , case . opened_on . date ( ) ) else : ret = case . name else : ret = _ ( "Empty Case" ) return escape ( ret )