diff options
author | 2017-10-13 19:55:52 +0200 | |
---|---|---|
committer | 2017-10-13 19:55:52 +0200 | |
commit | 81de4cc5ec48b7a4db83c094bd11c182b3142553 (patch) | |
tree | 5095e68af1ed0dbb698077d0244fc3752cee5220 /_layouts | |
parent | glep: Skip optional headers in table when not present (diff) | |
download | www-81de4cc5ec48b7a4db83c094bd11c182b3142553.tar.gz www-81de4cc5ec48b7a4db83c094bd11c182b3142553.tar.bz2 www-81de4cc5ec48b7a4db83c094bd11c182b3142553.zip |
glep: Link Requires/Replaces/Replaced-By
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/glep.html | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/_layouts/glep.html b/_layouts/glep.html index ffc1b06..f1c9451 100644 --- a/_layouts/glep.html +++ b/_layouts/glep.html @@ -36,19 +36,31 @@ nav2-display: true {% if page.Requires %} <tr> <th>Requires</th> - <td>{{ page.Requires | xml_escape }}</td> + <td> + {% for glep in page.Requires %} + <a href="{{ glep[1] | xml_escape }}">{{ glep[0] }}</a> + {% endfor %} + </td> </tr> {% endif %} {% if page.Replaces %} <tr> <th>Replaces</th> - <td>{{ page.Replaces | xml_escape }}</td> + <td> + {% for glep in page.Replaces %} + <a href="{{ glep[1] | xml_escape }}">{{ glep[0] }}</a> + {% endfor %} + </td> </tr> {% endif %} {% if page.Replaced-By %} <tr> <th>Replaced by</th> - <td>{{ page.Replaced-By | xml_escape }}</td> + <td> + {% for glep in page.Replaced-By %} + <a href="{{ glep[1] | xml_escape }}">{{ glep[0] }}</a> + {% endfor %} + </td> </tr> {% endif %} <tr> |