Merge "remove redundant series variable from install guide list template"

This commit is contained in:
Jenkins 2017-07-03 16:39:44 +00:00 committed by Gerrit Code Review
commit b2907ad188

View File

@ -1,10 +1,9 @@
{% set series = 'latest' %}
{% set series = "latest" %}
{% set projects = PROJECT_DATA[series] %}
{% set scriptdir = '../../common/js/' %}
{% set cssdir = '../../common/css/' %}
{% set imagedir = '../../common/images/' %}
{% set SERIES = "latest" %}
{% extends "templates/base.tmpl" %}
{% block pagetitle %}Draft Installation Tutorials and Guides{% endblock %}
@ -53,7 +52,7 @@
{% for project in projects|sort(attribute='service') -%}
{% if project.has_install_guide %}
<li><a href="/{{project.name}}/{{SERIES}}/install/">{{project.service}} ({{project.name|title}})</a></li>
<li><a href="/{{project.name}}/{{series}}/install/">{{project.service}} ({{project.name|title}})</a></li>
{% endif %}
{%- endfor %}
</ul>