HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/buyercall/blueprints/issue/templates/issue/macros/issue.jinja2
{% macro status_icon_for(status) -%}
  {% if status == 'unread' %}
      <i class="fa fa-2x fa-fw fa-exclamation text-warning" title="Unread"></i>
  {% elif status == 'open' %}
      <i class="fa fa-2x fa-fw fa-ticket text-info" title="Open"></i>
  {% elif status == 'contacted' %}
      <i class="fa fa-2x fa-fw fa-mail-reply text-success"
         title="Contacted"></i>
  {% else %}
      <i class="fa fa-2x fa-fw fa-smile-o half-faded" title="Closed"></i>
  {% endif %}
{% endmacro %}


{% macro label_tag_for(label) -%}
  {% if label == 'login' %}
      <span class="label label-info"
            title="{{ LABEL[label] }}">Login</span>
  {% elif label == 'signup' %}
      <span class="label label-danger"
            title="{{ LABEL[label] }}">Sign up</span>
  {% elif label == 'billing' %}
      <span class="label label-success"
            title="{{ LABEL[label] }}">Billing</span>
  {% elif label == 'email' %}
      <span class="label label-warning"
            title="{{ LABEL[label] }}">E-mail</span>
  {% elif label == 'request' %}
      <span class="label label-primary"
            title="{{ LABEL[label] }}">Request</span>
  {% else %}
      <span class="label label-default" title="{{ LABEL[label] }}">Other</span>
  {% endif %}
{% endmacro %}