Merge "be consistent with how we list libraries"

This commit is contained in:
Jenkins 2017-07-19 10:29:46 +00:00 committed by Gerrit Code Review
commit a885ce5c90
2 changed files with 4 additions and 6 deletions

View File

@ -38,9 +38,8 @@
<h3><i class="fa fa-book"></i> Administrator Guides for Common OpenStack Libraries</h3> <h3><i class="fa fa-book"></i> Administrator Guides for Common OpenStack Libraries</h3>
{% for project in projects|sort(attribute='name') -%} {% for project in projects|sort(attribute='name') -%}
{% if project.type == 'library' and project.has_admin_guide %} {% if project.type == 'library' and project.has_admin_guide %}
<a href="/{{project.name}}/latest/admin/"> <a href="/{{project.name}}/latest/admin/">{{project.name}}</a><br />
{{project.service}} ({{project.name}}) <p>{{project.service}}</p>
</a><br />
{% endif %} {% endif %}
{%- endfor %} {%- endfor %}
</div> </div>

View File

@ -41,9 +41,8 @@
<h3><i class="fa fa-pencil"></i> Common Configuration via Libraries</h3> <h3><i class="fa fa-pencil"></i> Common Configuration via Libraries</h3>
{% for project in projects|sort(attribute='name') %} {% for project in projects|sort(attribute='name') %}
{% if project.type == 'library' and project.has_config_ref %} {% if project.type == 'library' and project.has_config_ref %}
<a href="/{{project.name}}/latest/configuration/"> <a href="/{{project.name}}/latest/configuration/">{{project.name}}</a><br />
{{project.service}} ({{project.name}}) <p>{{project.service}}</p>
</a><br />
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>