Files
postgres-web/templates/docs/archive.html
Magnus Hagander 71cecf91d2 Fix link to old documentations
This was mistakenly broken in an earlier patch assuming old docs still
had index.html, which they don't.
2016-11-25 19:57:03 +01:00

36 lines
1.3 KiB
HTML

{%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="colMid">Online Version</th>
<th class="colLast">PDF Version</th>
</tr>
{%for v in versions%}
<tr{%if forloop.last%} class="lastrow"{%endif%}>
<td class="colMid">
<ul>
<li><a href="/docs/{{v.tree}}/static/{{v.indexname}}">{{v.treestring}}</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%}