be consistent with how we list libraries

The library projects tend to have longer descriptions and no real
service type. This makes them look odd when listed in the admin guides
or configuration guides pages. On the openstack-projects.html page we
list libraries by their name (as a link) with a description below. Apply
that same style formatting to the admin and config guide lists for
consistency.

Change-Id: Idfb53469a9df5c8d05a3f85a92e9ad2dec3185a0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-07-14 13:17:56 -04:00
parent cfc838afbd
commit c112852991
2 changed files with 4 additions and 6 deletions

View File

@ -41,9 +41,8 @@
<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.service}} ({{project.name}})
</a><br />
<a href="/{{project.name}}/latest/admin/">{{project.name}}</a><br />
<p>{{project.service}}</p>
{% endif %}
{%- endfor %}
</div>

View File

@ -41,9 +41,8 @@
<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.service}} ({{project.name}})
</a><br />
<a href="/{{project.name}}/latest/configuration/">{{project.name}}</a><br />
<p>{{project.service}}</p>
{% endif %}
{% endfor %}
</div>