{%extends "base/page.html"%}
{%block title%}Manual Archive{%endblock%}
{%block contents%}

<h1>Manual Archive</h1>

<p>Following are links to manuals (both online and printable versions) for PostgreSQL releases that are no longer supported.
If you are still using any of these releases, you are strongly advised to upgrade.</p>

<div class="tblBasic">
<table border="0" cellpadding="0" cellspacing="0" class="tblBasicGrey">
<tr>
	<th class="colFirst">Release</th>
	<th class="colMid">Online Version</th>
	<th class="colLast">PDF Version</th>
</tr>

{%for v in versions%}
<tr{%if forloop.last%} class="lastrow"{%endif%}>
    <td class="colFirst">{{v.tree}}</td>
    <td class="colMid">
          <ul>
              <li><a href="/docs/{{v.tree}}/static/{{v.indexname}}">Without user comments</a></li>
          </ul>
      </td>
      <td class="colLast">
	<ul>
	  {%if v.a4pdf%}<li>Comprehensive Manual: <a href="/files/documentation/pdf/{{v.tree}}/postgresql-{{v.tree}}-A4.pdf">A4 PDF</a> <span class="txtMediumGrey">({{v.a4pdf|filesizeformat}})</span></li>{%endif%}
	  {%if v.uspdf%}<li>Comprehensive Manual: <a href="/files/documentation/pdf/{{v.tree}}/postgresql-{{v.tree}}-US.pdf">US PDF</a> <span class="txtMediumGrey">({{v.uspdf|filesizeformat}})</span></li>{%endif%}
	  {%if not v.a4pdf and not v4.uspdf%}<li>PDF version not available</li>{%endif%}
	</ul>
      </td>
</tr>
{%endfor%}
</table>
</div>
{%endblock%}
