Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #36 from Financial-Times/add-premium-label
Browse files Browse the repository at this point in the history
Add premium labels to teaser headlines
  • Loading branch information
leafrogers authored Nov 23, 2016
2 parents a290db3 + d9bc923 commit 4c66edc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"tests"
],
"dependencies": {
"o-teaser": "#design-debt"
"o-teaser": "#design-debt",
"o-labels": "^2.0.2"
}
}
1 change: 1 addition & 0 deletions templates/partials/heading.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<h2 class="o-teaser__heading">
<a href="{{{url}}}{{{referrerTracking}}}" data-trackable="main-link">{{{title}}}</a>
{{#if isPremium}}<span class="o-labels o-labels--premium" aria-label="Premium content">Premium</span>{{/if}}
</h2>

0 comments on commit 4c66edc

Please sign in to comment.