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 #217 from Financial-Times/o-labels-agonstic
Browse files Browse the repository at this point in the history
Render premium labels in an o-labels v4 compatible way
  • Loading branch information
benbarnett committed Jul 23, 2019
2 parents 5d09510 + f7dd78d commit df1ea04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
],
"dependencies": {
"n-ui-foundations": "^3.0.0",
"o-teaser": "^2.0.0",
"o-labels": "^3.0.0",
"o-teaser": "^3.0.0",
"o-labels": "^4.0.0",
"n-image": "^5.0.0"
}
}
2 changes: 1 addition & 1 deletion templates/partials/title.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
{{@nTeaserPresenter.displayTitle}}
</a>
{{#if isPremium}}
<span class="o-labels o-labels--premium" aria-label="Premium content">Premium</span>
<span class="o-labels o-labels--content-premium" aria-label="Premium content">Premium</span>
{{/if}}
</div>

0 comments on commit df1ea04

Please sign in to comment.