Skip to content

Commit

Permalink
Move changes to top of release page. Fixes #1510.
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Aug 20, 2015
1 parent 37fb460 commit bf705cd
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions root/release.html
Expand Up @@ -18,7 +18,7 @@
<li>Help Wanted<ul>
<% FOREACH position IN release.metadata.x_help_wanted %>
<li><% position %></li>
<% END %>
<% END %>
</ul></li>
<% END %>
<%- INCLUDE inc/release-tools.html %>
Expand Down Expand Up @@ -66,6 +66,27 @@
documentation = documentation.merge(documentation_raw);
%>

<% MACRO change_group(group) BLOCK; %>
<ul>
<%- FOREACH entry IN group; %>
<li class="<% IF entry.entries.size %>group-header<% END %>"><span class="change-entry"><% entry.text | none %></span>
<% IF entry.entries.size;
change_group(entry.entries) | none;
END %>
</li>
<%- END %>
</ul>
<% END %>

<%- IF last_version_changes %>

<div class="last-changes">
<h2 id="whatsnew">Changes for version <% last_version_changes.version %></h2>
<% change_group(last_version_changes.entries) | none %>
</div>

<%- END %>

<%- IF documentation.size %>
<div class="file-group release-documentation">
<h2 id="docs">Documentation</h2>
Expand Down Expand Up @@ -138,25 +159,5 @@ <h2 id="other">Other files</h2>
</div>
<%- END %>

<% MACRO change_group(group) BLOCK; %>
<ul>
<%- FOREACH entry IN group; %>
<li class="<% IF entry.entries.size %>group-header<% END %>"><span class="change-entry"><% entry.text | none %></span>
<% IF entry.entries.size;
change_group(entry.entries) | none;
END %>
</li>
<%- END %>
</ul>
<% END %>

<%- IF last_version_changes %>

<div class="last-changes">
<h2 id="whatsnew">Changes for version <% last_version_changes.version %></h2>
<% change_group(last_version_changes.entries) | none %>
</div>

<%- END %>
<% INCLUDE inc/module-install.html %>
</div>

0 comments on commit bf705cd

Please sign in to comment.