| --- |
| layout: default |
| --- |
| {% assign all_releases = site.categories.release | sort: 'sortableversion' %} |
| {% for release in all_releases %} |
| {% if release.id == page.id %} |
| {% assign prevIndex = forloop.index0 | minus: 1 %}{% assign releasePrev = all_releases[prevIndex] %} |
| {% assign nextIndex = forloop.index0 | plus: 1 %}{% assign releaseNext = all_releases[nextIndex] %} |
| {% capture prevPage %} |
| {% if forloop.last or forloop.first != true %} |
| <li class="page-item"><a class="page-link" href="{{ site.baseurl }}{{ releasePrev.url }}">« {{ releasePrev.title }}</a></li> |
| {% endif %} |
| {% endcapture %} |
| {% capture nextPage %} |
| {% if forloop.first or forloop.last != true %} |
| <li class="page-item"><a class="page-link" href="{{ site.baseurl }}{{ releaseNext.url }}">{{ releaseNext.title }} »</a></li> |
| {% endif %} |
| {% endcapture %} |
| {% endif %} |
| {% endfor %} |
| <p>{{ page.date | date_to_string }}</p> |
| <nav aria-label="Navigate Release Notes"><ul class="pagination d-flex justify-content-between">{{ prevPage }}{{ nextPage }}</ul></nav> |
| |
| {% if page.draft %} |
| <div class="alert alert-danger" style="margin-bottom: 0px;" role="alert"> |
| These are <strong>draft</strong> release notes for a future release of Accumulo!<br> |
| Please view <a class="alert-link" href="{{ site.baseurl }}/release/accumulo-{{ site.latest_release }}/">the latest release notes</a>. |
| </div> |
| {% endif %} |
| |
| {% if page.archived_critical %} |
| <div class="alert alert-danger" role="alert"> |
| <strong>WARNING:</strong> This version of Accumulo has critical bugs fixed in newer versions.<br> |
| Please check <a class="alert-link" href="{{ site.baseurl }}/release/">our release archive</a> for a newer version. |
| </div> |
| {% elsif page.archived %} |
| <div class="alert alert-warning" role="alert"> |
| This version of Accumulo has been superceded by a newer version.<br> |
| Please check <a class="alert-link" href="{{ site.baseurl }}/release/">our release archive</a> for a newer version. |
| </div> |
| {% elsif page.LTM %} |
| <div class="alert alert-success" role="alert"> |
| This version is a current <strong><a class="alert-link" href="{{ site.baseurl }}/contributor/versioning#LTM">Long Term Maintenance (LTM)</a></strong> release. |
| </div> |
| {% else %} |
| <div class="alert alert-warning" role="alert"> |
| This version is not a <a class="alert-link" href="{{ site.baseurl }}/contributor/versioning#LTM">Long Term Maintenance (non-LTM)</a></strong> release. |
| </div> |
| {% endif %} |
| |
| {{ content }} |
| |
| <hr> |
| |
| <p><strong>View all releases in the <a href="{{ site.baseurl }}/release/">archive</a></strong></p> |
| <nav aria-label="Navigate Release Notes"><ul class="pagination d-flex justify-content-between">{{ prevPage }}{{ nextPage }}</ul></nav> |