Skip to content

Commit

Permalink
Fix HTML bug. Commit ready for merge.
Browse files Browse the repository at this point in the history
 - Legacy-Id: 9966
  • Loading branch information
larseggert committed Aug 4, 2015
1 parent 78af342 commit 01ffcd4
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions ietf/templates/release/release.html
Expand Up @@ -4,6 +4,12 @@

{% block title %}Release information{% endblock %}

{% block morecss %}
.version { text-align: right; padding: 0.1em 0.5em; min-width: 4em; }
.date { text-align: right; padding: 0.1em 0.5em; min-width: 8em; }
.comment { text-align: left; padding: 0.1em 0.5em; }
{% endblock %}

{% block content %}
{% origin %}
<div class="col-sm-12">
Expand Down Expand Up @@ -44,15 +50,17 @@ <h2>{{ entry.version }} release notes</h2>
<h2>Release list:</h2>
<table style="margin-left: 3em">
{% for item in releases %}
{% ifchanged %}<tr><td><h3>{{ item.date|slice:"7:11" }}</h3></td><tr>{% endifchanged %}
{% ifchanged %}
<tr>
<td><h3>{{ item.date|slice:"7:11" }}</h3></td>
<td></td>
<td></td>
</tr>
{% endifchanged %}
<tr>
<td style="text-align: right; padding: 0.1em 0.5em; min-width: 4em;"><a href="/release/{{item.version}}/">{{ item.version }}</a></td>
<td style="text-align: right; padding: 0.1em 0.5em; min-width: 8em;">{{ item.date|slice:":11" }}</td>
<td style="text-align: left; padding: 0.1em 0.5em;">{{ item.title }}</td>
<!--
<td style="text-align: right; padding: 0.2em 0.5em;">{{ item.date|slice:"12:20" }}</td>
<td style="text-align: right; padding: 0.2em 0.5em;">{{ item.date|slice:"21:" }}</td>
-->
<td class="version"><a href="/release/{{item.version}}/">{{ item.version }}</a></td>
<td class="date">{{ item.date|slice:":11" }}</td>
<td class="comment">{{ item.title }}</td>
</tr>
{% endfor %}
</table>
Expand Down

0 comments on commit 01ffcd4

Please sign in to comment.