def _popup_footer(view, details):
    """
    Generate a footer for the package popup that indicates how the package is
    installed.
    """
    return """
        {shipped} <span class="status">Ships with Sublime</span> &nbsp; &nbsp;
        {installed} <span class="status">In Installed Packages Folder</span> &nbsp; &nbsp;
        {unpacked} <span class="status">In Packages Folder</span>
        """.format(
            shipped="\u2611" if details["is_shipped"] else "\u2610",
            installed="\u2611" if details["is_installed"] else "\u2610",
            unpacked="\u2611" if details["is_unpacked"] else "\u2610")