mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
Add docs links to library list view (#1778)
This commit is contained in:
@@ -13,6 +13,11 @@ onclick="window.location='{% url 'library-detail' library_slug=library_version.l
|
||||
{% if library_version.cpp_standard_minimum and library_version.cpp_standard_minimum != 'None' %}{{ library_version.cpp_standard_minimum }}{% else %}03{% endif %}
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3 pr-2 align-top">
|
||||
<a class="text-sky-600 dark:text-sky-300 text-base" href="{{ library_version.documentation_url }}" title="Documentation">
|
||||
<i class="fa fa-book icon-link"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td class="hidden md:block py-2 pl-3 align-top">{{ library_version.description|default:"No description provide for this version." }}</td>
|
||||
</tr>
|
||||
<tr class="block md:hidden">
|
||||
|
||||
@@ -5,7 +5,12 @@
|
||||
onclick="window.location='{% url 'library-detail' library_slug=library_version.library.slug version_slug=version_str %}'">
|
||||
<div class="">
|
||||
<h3 class="pb-2 text-xl md:text-2xl capitalize border-b border-gray-700">
|
||||
<div class="flex justify-between">
|
||||
<a class="link-header" href="{% url 'library-detail' library_slug=library_version.library.slug version_slug=version_str %}">{{ library_version.library.name }}</a>
|
||||
<a class="text-sky-600 dark:text-sky-300 text-base" href="{{ library_version.documentation_url }}" title="Documentation">
|
||||
<i class="fa fa-book icon-link"></i>
|
||||
</a>
|
||||
</div>
|
||||
{% for author in library.authors.all %}
|
||||
{% if author.image %}
|
||||
<img src="{{ author.image.url }}" class="inline float-right rounded w-[30px] ml-1" alt="{{ author.display_name }}" />
|
||||
|
||||
@@ -12,6 +12,11 @@ onclick="window.location='{% url 'library-detail' library_slug=library_version.l
|
||||
{% if library_version.cpp_standard_minimum and library_version.cpp_standard_minimum != 'None' %}{{ library_version.cpp_standard_minimum }}{% else %}03{% endif %}
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3 pr-2 align-top">
|
||||
<a class="text-sky-600 dark:text-sky-300 text-base" href="{{ library_version.documentation_url }}" title="Documentation">
|
||||
<i class="fa fa-book icon-link"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td class="hidden md:block py-2 pl-3 align-top">{{ library_version.description|default:"No description provide for this version." }}</td>
|
||||
</tr>
|
||||
<tr class="block md:hidden pl-1">
|
||||
|
||||
Reference in New Issue
Block a user