-
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.
Remove
cause_statement
fields from Homepage
model, page
from `F…
…ocusArea` model
- Loading branch information
Showing
5 changed files
with
22 additions
and
80 deletions.
There are no files selected for viewing
22 changes: 0 additions & 22 deletions
22
network-api/networkapi/wagtailpages/factory/homepage_cause_statement_link.py
This file was deleted.
Oops, something went wrong.
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
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
10 changes: 0 additions & 10 deletions
10
network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/cause_statement.html
This file was deleted.
Oops, something went wrong.
6 changes: 1 addition & 5 deletions
6
network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/focus_area.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,15 +1,11 @@ | ||
{% load wagtailimages_tags i18n %} | ||
{% load wagtailimages_tags %} | ||
|
||
<div class="tw-flex tw-flex-col tw-items-center medium:tw-flex-row tw-gap-16 medium:tw-mx-auto medium:tw-w-[28rem] large:tw-w-full"> | ||
{% image area.interest_icon width-100 class="tw-max-w-[4em] tw-max-h-[4em]" alt=area.interest_icon.title %} | ||
|
||
<div class="tw-text-center medium:tw-text-left"> | ||
<h2 class="tw-font-zilla tw-text-[40px]">{{ area.name }}</h2> | ||
<p>{{ area.description }}</p> | ||
|
||
{% if area.page %}<div class="mb-4 learn-more-link"> | ||
<a href="{{ area.page.localized.url }}" aria-label="{% blocktrans with name=area.name %}Learn more about: {{ name }}{% endblocktrans %}">{% trans "Learn more →" %}</a> | ||
</div>{% endif %} | ||
</div> | ||
</div> | ||
|