diff options
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_card_featured.html')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_card_featured.html | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_card_featured.html b/pyblackbird_cc/templates/resources/resource_card_featured.html index 473c928..586a851 100644 --- a/pyblackbird_cc/templates/resources/resource_card_featured.html +++ b/pyblackbird_cc/templates/resources/resource_card_featured.html @@ -28,15 +28,20 @@ {% else %} <p class="card-text my-2">{{ resource.description | markdown | safe }}</p> {% endif %} + <div class="d-flex flex-row justify-content-between align-items-end mt-2"> + <p class="card-text m-1"><small class="text-muted">1 credit</small></p> + <button type="button" class="btn btn-success fs-6 px-2 py-0">Add to basket</button> + </div> </div> + {% if request.user.is_authenticated and request.user.is_staff %} - <div class="card-footer"> - <a href="{% url 'resources:resource_update_metadata' resource.id %}" - class="btn btn-outline-primary btn-sm">Edit</a> - <a href="{% url 'resources:resource_update_thumbnails' resource.id %}" + <div class="card-footer"> + <a href="{% url 'resources:resource_update_metadata' resource.id %}" + class="btn btn-outline-primary btn-sm">Edit</a> + <a href="{% url 'resources:resource_update_thumbnails' resource.id %}" class="btn btn-outline-primary btn-sm">Edit Feature Images</a> - <a href="{% url 'resources:resource_update_pdfs' resource.id %}" - class="btn btn-outline-primary btn-sm">Add PDFs</a> - </div> + <a href="{% url 'resources:resource_update_pdfs' resource.id %}" + class="btn btn-outline-primary btn-sm">Add PDFs</a> + </div> {% endif %} -</div>
\ No newline at end of file +</div> |