diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/index.html | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/security/index.html b/security/index.html index 79beefe..8c85029 100644 --- a/security/index.html +++ b/security/index.html @@ -41,22 +41,36 @@ categories: [ _nav ] {% endfor %} </td> <td rowspan="3">{{ bug.exploitable_by }}</td> - <td class="has-next-row" colspan="4">{% if bug.affected_note_top %}{{ bug.affected_note_top }}{% endif %}</td> + {% if bug.affected_note_top %}<td class="has-next-row" colspan="4">{{ bug.affected_note_top }}</td>{% else %} + <td class="has-next-row">{{ bug.affected_versions.from }}</td> + <td class="has-next-row">–</td> + <td class="has-next-row">{{ bug.affected_versions.to }}</td> + <td class="has-next-row"> + {% if bug.git_commit %}<a href="https://github.com/irssi/{% if bug.repo %}{{ bug.repo }}{% else %}irssi{% endif %}/commit/{{ bug.git_commit }}">{{ bug.fixed_version }}</a>{% else %}{{ bug.fixed_version }}{% endif %} + </td> + {% endif %} <td rowspan="3">{{ bug.credit }}</td> <td rowspan="3">{{ bug.description }}</td> <td rowspan="3"></td> </tr> <tr{% if bug.important %} class="warning"{% endif %}> + {% if bug.affected_note_top %} <td class="has-next-row has-previous-row">{{ bug.affected_versions.from }}</td> <td class="has-next-row has-previous-row">–</td> <td class="has-next-row has-previous-row">{{ bug.affected_versions.to }}</td> <td class="has-next-row has-previous-row"> - {{ bug.fixed_version }} + {% if bug.git_commit %}<a href="https://github.com/irssi/{% if bug.repo %}{{ bug.repo }}{% else %}irssi{% endif %}/commit/{{ bug.git_commit }}">{{ bug.fixed_version }}</a>{% else %}{{ bug.fixed_version }}{% endif %} </td> + {% else %} + <td class="has-previous-row" colspan="3" rowspan="2">{% if bug.affected_note_bottom %}{{ bug.affected_note_bottom }}{% endif %}</td> + <td class="has-previous-row" rowspan="2"></td> + {% endif %} </tr> <tr{% if bug.important %} class="warning"{% endif %}> + {% if bug.affected_note_top %} <td class="has-previous-row" colspan="3">{% if bug.affected_note_bottom %}{{ bug.affected_note_bottom }}{% endif %}</td> <td class="has-previous-row"></td> + {% endif %} </tr> {% endfor %} </tbody> |