glyphicon for task status; requires bootstrap

def status_icon(self):
        'glyphicon for task status; requires bootstrap'
        icon = self.status_icon_map.get(self.status.lower(),
                                        self.unknown_icon)
        style = self.status_style.get(self.status.lower(), '')
        return mark_safe(
            '<span class="glyphicon %s %s" aria-hidden="true"></span>' %
            (icon, style))