Merge pull request #3317 from overleaf/pr-prepare-log-hints-react

Prepare log hints for React

GitOrigin-RevId: 77435d26e9e5e74db8a76236cac64b67155adc59
This commit is contained in:
Alasdair Smith
2020-10-30 03:04:19 +00:00
committed by Copybot
parent 14f8a3ca72
commit 46be87f7c5
4 changed files with 360 additions and 165 deletions
@@ -196,9 +196,9 @@ div.full-size.pdf(ng-controller="PdfController")
i.fa.fa-lightbulb-o(aria-hidden="true")
p.card-hint-text(
ng-show="entry.humanReadableHint",
ng-bind-html="wikiEnabled ? entry.humanReadableHint : stripHTMLFromString(entry.humanReadableHint)")
ng-bind-html="entry.humanReadableHint")
.card-hint-footer.clearfix
.card-hint-ext-link(ng-if="wikiEnabled && entry.extraInfoURL")
.card-hint-ext-link(ng-if="entry.extraInfoURL")
a(
ng-href="{{ entry.extraInfoURL }}",
ng-click="trackLogHintsLearnMore()"