mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-27 21:16:45 +00:00
fix plugin card
This commit is contained in:
parent
45e0aaa7ad
commit
8c73cdcb72
@ -1,4 +1,5 @@
|
||||
<div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
|
||||
<a href="{{ plugin.url | relative_url }}" class="no-underline" aria-label="open plugin details">
|
||||
<div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
|
||||
<div class="col p-4 d-flex flex-column position-static">
|
||||
<div class="d-inline-block">
|
||||
{% for cat in plugin.categories %}
|
||||
@ -8,13 +9,12 @@
|
||||
<span class="badge bg-blue-400">{{ tag }}</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h3 class="mb-0">{{ plugin.name }}</h3>
|
||||
<h3 class="my-0">{{ plugin.name }}</h3>
|
||||
<div class="mb-1 text-muted">
|
||||
{% if plugin.published_on %}{{ plugin.published_on | date_to_string }} - {% endif %}
|
||||
{% include partial/publisher_ref.html pub=plugin.publisher %}
|
||||
{% include partial/publisher_ref.html pub=plugin.author %}
|
||||
</div>
|
||||
<p class="mb-auto">{{ plugin.excerpt | mardownify | remove: '<p>' | remove: '</p>' }}</p>
|
||||
<a href="{{ plugin.url | relative_url }}" class="stretched-link" aria-label="open plugin details"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</a>
|
Loading…
x
Reference in New Issue
Block a user