[www] Fix release specific links
These linked to /latest instead of /queens/ or /pike/, fix all the references. Note that this is also correct for rocky, our tools use "latest" for the development version which is rocky. Doing this also for rocky will avoid copying these over and having wrong links. Change-Id: I901aaace173721d7351ef31f4f579ae24a679dd8
This commit is contained in:
parent
058ed5d5f3
commit
938e240239
@ -31,7 +31,7 @@
|
||||
<h3><i class="fa fa-cog"></i>OpenStack Services</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type in ['service', 'other'] %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -31,7 +31,7 @@
|
||||
<h3><i class="fa fa-cog"></i>OpenStack Services</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type in ['service', 'other'] %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -37,7 +37,7 @@
|
||||
<h3><i class="fa fa-book"></i>Administrator Guides for Common OpenStack Libraries</h3>
|
||||
{% for project in projects|sort(attribute='name') -%}
|
||||
{% if project.type == 'library' and project.has_admin_guide %}
|
||||
<a href="/{{project.name}}/latest/admin/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/admin/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
|
@ -40,7 +40,7 @@
|
||||
<h3><i class="fa fa-pencil"></i>Common Configuration via Libraries</h3>
|
||||
{% for project in projects|sort(attribute='name') %}
|
||||
{% if project.type == 'library' and project.has_config_ref %}
|
||||
<a href="/{{project.name}}/latest/configuration/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/configuration/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -31,7 +31,7 @@
|
||||
<h3><i class="fa fa-cog"></i>OpenStack Services</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type in ['service', 'other'] %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -41,7 +41,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Bare Metal Sub Projects</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type == 'baremetal' %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -51,7 +51,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Networking Sub Projects</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type == 'networking' %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -61,7 +61,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Deployment Projects</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type == 'deployment' %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}}</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -71,7 +71,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Contributor Tools</h3>
|
||||
{% for project in projects|sort(attribute='name') %}
|
||||
{% if project.type in ['tool'] %}
|
||||
<a href="/{{project.name}}/latest/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/">{{project.name}}</a><br />
|
||||
<p>{{project.service}} </p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -84,7 +84,7 @@
|
||||
<h3><i class="fa fa-pencil"></i>Using Libraries</h3>
|
||||
{% for project in projects|sort(attribute='name') %}
|
||||
{% if project.type == 'library' %}
|
||||
<a href="/{{project.name}}/latest/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -37,7 +37,7 @@
|
||||
<h3><i class="fa fa-book"></i>Administrator Guides for Common OpenStack Libraries</h3>
|
||||
{% for project in projects|sort(attribute='name') -%}
|
||||
{% if project.type == 'library' and project.has_admin_guide %}
|
||||
<a href="/{{project.name}}/latest/admin/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/admin/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
@ -48,7 +48,7 @@
|
||||
<h3><i class="fa fa-book"></i>Administrator Guides for OpenStack Deployment Tools</h3>
|
||||
{% for project in projects|sort(attribute='name') -%}
|
||||
{% if project.type == 'deployment' and project.has_admin_guide %}
|
||||
<a href="/{{project.name}}/latest/admin/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/admin/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
|
@ -40,7 +40,7 @@
|
||||
<h3><i class="fa fa-pencil"></i>Common Configuration via Libraries</h3>
|
||||
{% for project in projects|sort(attribute='name') %}
|
||||
{% if project.type == 'library' and project.has_config_ref %}
|
||||
<a href="/{{project.name}}/latest/configuration/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/configuration/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -31,7 +31,7 @@
|
||||
<h3><i class="fa fa-cog"></i>OpenStack Services</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type in ['service', 'other'] %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -41,7 +41,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Bare Metal Sub Projects</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type == 'baremetal' %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -51,7 +51,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Networking Sub Projects</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type == 'networking' %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -61,7 +61,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Deployment Projects</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type == 'deployment' %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}}</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -71,7 +71,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Contributor Tools</h3>
|
||||
{% for project in projects|sort(attribute='name') %}
|
||||
{% if project.type in ['tool'] %}
|
||||
<a href="/{{project.name}}/latest/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/">{{project.name}}</a><br />
|
||||
<p>{{project.service}} </p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -84,7 +84,7 @@
|
||||
<h3><i class="fa fa-pencil"></i>Using Libraries</h3>
|
||||
{% for project in projects|sort(attribute='name') %}
|
||||
{% if project.type == 'library' %}
|
||||
<a href="/{{project.name}}/latest/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -42,7 +42,7 @@
|
||||
<h3><i class="fa fa-cog"></i>User Guides for OpenStack Deployment Tools</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type in ['deployment'] and project.has_user_guide %}
|
||||
<a href="/{{project.name}}/latest/user/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/user/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -37,7 +37,7 @@
|
||||
<h3><i class="fa fa-book"></i>Administrator Guides for Common OpenStack Libraries</h3>
|
||||
{% for project in projects|sort(attribute='name') -%}
|
||||
{% if project.type == 'library' and project.has_admin_guide %}
|
||||
<a href="/{{project.name}}/latest/admin/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/admin/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
@ -48,7 +48,7 @@
|
||||
<h3><i class="fa fa-book"></i>Administrator Guides for OpenStack Deployment Tools</h3>
|
||||
{% for project in projects|sort(attribute='name') -%}
|
||||
{% if project.type == 'deployment' and project.has_admin_guide %}
|
||||
<a href="/{{project.name}}/latest/admin/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/admin/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
|
@ -40,7 +40,7 @@
|
||||
<h3><i class="fa fa-pencil"></i>Common Configuration via Libraries</h3>
|
||||
{% for project in projects|sort(attribute='name') %}
|
||||
{% if project.type == 'library' and project.has_config_ref %}
|
||||
<a href="/{{project.name}}/latest/configuration/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/configuration/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -31,7 +31,7 @@
|
||||
<h3><i class="fa fa-cog"></i>OpenStack Services</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type in ['service', 'other'] %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -41,7 +41,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Bare Metal Sub Projects</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type == 'baremetal' %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -51,7 +51,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Networking Sub Projects</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type == 'networking' %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -61,7 +61,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Deployment Projects</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type == 'deployment' %}
|
||||
<a href="/{{project.name}}/latest/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/">
|
||||
{{project.service}}</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -71,7 +71,7 @@
|
||||
<h3><i class="fa fa-cog"></i>Contributor Tools</h3>
|
||||
{% for project in projects|sort(attribute='name') %}
|
||||
{% if project.type in ['tool'] %}
|
||||
<a href="/{{project.name}}/latest/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/">{{project.name}}</a><br />
|
||||
<p>{{project.service}} </p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@ -84,7 +84,7 @@
|
||||
<h3><i class="fa fa-pencil"></i>Using Libraries</h3>
|
||||
{% for project in projects|sort(attribute='name') %}
|
||||
{% if project.type == 'library' %}
|
||||
<a href="/{{project.name}}/latest/">{{project.name}}</a><br />
|
||||
<a href="/{{project.name}}/{{SERIES}}/">{{project.name}}</a><br />
|
||||
<p>{{project.service}}</p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -42,7 +42,7 @@
|
||||
<h3><i class="fa fa-cog"></i>User Guides for OpenStack Deployment Tools</h3>
|
||||
{% for project in projects|sort(attribute='service') %}
|
||||
{% if project.type in ['deployment'] and project.has_user_guide %}
|
||||
<a href="/{{project.name}}/latest/user/">
|
||||
<a href="/{{project.name}}/{{SERIES}}/user/">
|
||||
{{project.service}} ({{project.name}})</a><br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user