Commit 1bfd767d authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Improved invitations sent styles

- display YES/NO labels/styles in `consumed` column
parent e5726427
...@@ -748,3 +748,9 @@ div.form-stacked { ...@@ -748,3 +748,9 @@ div.form-stacked {
.service-desc { .service-desc {
margin-top: 4em; margin-top: 4em;
} }
table td.consumed {
color: #9d261d;
}
table tr.consumed td.consumed {
color: #46a546;
}
...@@ -332,3 +332,15 @@ div.form-stacked { ...@@ -332,3 +332,15 @@ div.form-stacked {
margin-top: 4em; margin-top: 4em;
} }
table {
td.consumed {
color: @red;
}
tr.consumed {
td.consumed {
color: @green;
}
}
}
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
</thead> </thead>
<tbody> <tbody>
{% for inv in sent %} {% for inv in sent %}
<tr> <tr class="{% if inv.is_consumed %}consumed{% endif %}">
<td>{{ inv.email }}</td> <td>{{ inv.email }}</td>
<td>{{ inv.realname }}</td> <td>{{ inv.realname }}</td>
<td>{{ inv.is_consumed }}</td> <td class="consumed">{% if inv.is_consumed %}Yes{% else %}No{% endif %}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment