-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7b7317
commit 1021994
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
network-api/networkapi/templates/fragments/buyersguide/product_update_card.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{% extends "./editorial_content_list_base_card.html" %} | ||
{% load i18n localization wagtailimages_tags static %} | ||
{% load i18n localization static %} | ||
|
||
|
||
{% block product_update_card_content %} | ||
<div> | ||
<a href="{{update.source}}" class="tw-group tw-block hover:tw-no-underline"> | ||
<p class="tw-h4-heading d-inline-block tw-mb-1 medium:tw-my-0 group-hover:tw-underline">{{ update.localized.title }}</p> | ||
<a href="{{update.source}}" class="tw-text-blue-40 tw-text-xs tw-font-bold tw-uppercase tw-pt-0 medium:tw-pt-2 tw-pb-2 medium:tw-pb-1 tw-leading-5 tw-flex tw-no-underline"> | ||
<a href="{{update.source}}" class="tw-text-blue-40 tw-text-xs tw-font-bold tw-uppercase tw-pt-0 medium:tw-pt-1 tw-pb-2 medium:tw-pb-1 tw-leading-5 tw-flex tw-no-underline"> | ||
{% blocktrans with press_name=update.author %} {{press_name}} {% endblocktrans %} | ||
<img src="{% static "_images/buyers-guide/external-link.svg" %}" class="tw-ml-2" /> | ||
<img src="{% static "_images/buyers-guide/product-update-card-external-link.svg" %}" class="tw-ml-2" /> | ||
</a> | ||
<p class="tw-text-xs medium:tw-text-lg tw-body tw-line-clamp-3 tw-leading-3 medium:tw-leading-6 medium:tw-mt-2">{{ update.snippet }}</p> | ||
<p class="tw-text-xs medium:tw-text-lg tw-body tw-line-clamp-3 tw-leading-3 medium:tw-leading-6">{{ update.snippet }}</p> | ||
</a> | ||
</div> | ||
{% endblock %} |
5 changes: 5 additions & 0 deletions
5
source/images/buyers-guide/product-update-card-external-link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.