{% extends "base.html" %}
{% block content %}
<h1>Current PR</h1>

{% for project in project_list %}
<h2>{{project.name}}</h2>
<ul>
{% for pr in project.pr_list %}
    <li>
        {% if pr.milestone %}
            <span class="milestone">{{pr.milestone}}</span> |
        {% endif %}
        {% if pr.label %}
            <span style="color:#{{pr.label.color}}" class="label">{{pr.label.name}}</span> |
        {% endif %}
        <a href="{{pr.url}}">{{pr.title}}</a> <span class="user">{{pr.user}}</span> <span class="nbrev">number of review:</span> {{pr.nbreview}} <span class="lgtm">number of LGTM:</span> {{pr.lgtm}} <span class="plusone">number of plusone:</span> {{pr.plusone}}
    </li>
{% endfor %}
</ul>
{% endfor %}
{% endblock %}

{% extends "base.html" %}
{% block content %}
<h1>Current PR</h1>

{% for project in project_list %}
<h2>{{project.name}}</h2>
<ul>
{% for pr in project.pr_list %}
    <li>
        {% if pr.milestone %}
            <span class="milestone">{{pr.milestone}}</span> |
        {% endif %}
        {% if pr.label %}
            <span style="background-color:#{{pr.label.color}}" class="label">{{pr.label.name}}</span> |
        {% endif %}
        <a href="{{pr.url}}">{{pr.title}}</a> <span class="user">{{pr.user}}</span> <span class="nbrev">number of review:</span> {{pr.nbreview}} <span class="lgtm">number of LGTM:</span> {{pr.lgtm}} <span class="plusone">number of plusone:</span> {{pr.plusone}}
    </li>
{% endfor %}
</ul>
{% endfor %}
{% endblock %}

Set Label color in background instead of as text color, for web view
Set Label color in background instead of as text color, for web view
