aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-04-15 00:26:13 +0200
committerMichał Górny <mgorny@gentoo.org>2018-04-15 00:27:42 +0200
commit4a80c13a3972c10f08f97dd504d4999e12cfad78 (patch)
treecd4e8ef946bd482cac30b1c4c92a2c03e1df2148 /inside-gentoo
parentunavailable-developers: Use bg colors to indicate length of away (diff)
downloadwww-4a80c13a3972c10f08f97dd504d4999e12cfad78.tar.gz
www-4a80c13a3972c10f08f97dd504d4999e12cfad78.tar.bz2
www-4a80c13a3972c10f08f97dd504d4999e12cfad78.zip
developers: Mark developers that are away
Mark developers that are away on the main list, and include their away-reason as a tooltip. Suggested by Jonas Stein.
Diffstat (limited to 'inside-gentoo')
-rw-r--r--inside-gentoo/developers/index.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/inside-gentoo/developers/index.html b/inside-gentoo/developers/index.html
index b9699a0..b9b1ac1 100644
--- a/inside-gentoo/developers/index.html
+++ b/inside-gentoo/developers/index.html
@@ -27,10 +27,7 @@ layout: page-nav3
<p>
<span class="bg-success">[g]</span> indicates developers with commit access to <kbd>repo/gentoo.git</kbd> repository.
-</P>
-
-<p>
- Before contacting anyone, check that they are not <a href="unavailable-developers.html">away</a>!
+ <span class="bg-danger">[a]</span> indicates developers that are <a href="unavailable-developers.html">away</a>!
</p>
<table class="table table-striped">
@@ -41,6 +38,7 @@ layout: page-nav3
<th>Roles</th>
</tr>
{% for entry in site.data.userinfo.current %}
+ {% assign devname = entry[0] %}
<tr>
<td id="{{ entry[0] }}">
{% if entry[1].wiki %}
@@ -51,6 +49,9 @@ layout: page-nav3
{% if entry[1].commitaccess %}
<sup class="bg-success">[g]</sup>
{% endif %}
+ {% if site.data.devaway[devname] %}
+ <a href="unavailable-developers.html#{{ devname }}" title="{{ site.data.devaway[devname].reason }}"><sup class="bg-danger">[a]</sup></a>
+ {% endif %}
<br>
{{ entry[1].name | xml_escape }}
</td>