-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
6 changed files
with
8 additions
and
21 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/heading2_block.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 +1 @@ | ||
<h2 class="heading heading--two-b heading--light grid__heading">{{ value }}</h2> | ||
<h2 class="heading heading--two-b grid__heading">{{ value }}</h2> |
2 changes: 1 addition & 1 deletion
2
tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/heading3_block.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 +1 @@ | ||
<h3 class="heading heading--three heading--light grid__heading">{{ value }}</h3> | ||
<h3 class="heading heading--three grid__heading">{{ value }}</h3> |
16 changes: 3 additions & 13 deletions
16
tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/stats_numeric.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,19 +1,9 @@ | ||
|
||
<ul class="stats stats--numeric grid__stats"> | ||
{% for stat in value %} | ||
<li class="stats__stat"> | ||
<span class="stats__number"> | ||
{{ stat.headline_number }} | ||
</span> | ||
<span class="stats__description"> | ||
{{ stat.description }} | ||
</span> | ||
{% if stat.further_details %} | ||
<span class="stats__details"> | ||
{{ stat.further_details }} | ||
</span> | ||
{% endif %} | ||
<span class="stats__number heading heading--mega">{{ stat.headline_number }}</span> | ||
<span class="stats__description">{{ stat.description }}</span> | ||
{% if stat.further_details %}<span class="stats__details">{{ stat.further_details }}</span>{% endif %} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
|
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
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