Better mark-up for analytics tracking.

This commit is contained in:
Paulo Reis 2016-06-20 14:59:30 +01:00
parent a8976fd4dc
commit baea017adb
2 changed files with 10 additions and 11 deletions

View file

@ -110,14 +110,14 @@ div.full-size.pdf(ng-controller="PdfController")
i.fa.fa-lightbulb-o(aria-hidden="true") i.fa.fa-lightbulb-o(aria-hidden="true")
p.card-hint-text(ng-show="entry.humanReadableHint", ng-bind-html="entry.humanReadableHint") p.card-hint-text(ng-show="entry.humanReadableHint", ng-bind-html="entry.humanReadableHint")
.card-hint-actions .card-hint-actions
.card-hint-action-ext-link .card-hint-ext-link
a(ng-href="{{ entry.extraInfoURL }}", target="_blank") a(ng-href="{{ entry.extraInfoURL }}", target="_blank")
i.fa.fa-external-link i.fa.fa-external-link
| #{translate("log_hint_extra_info")} | #{translate("log_hint_extra_info")}
.card-hint-action-feedback .card-hint-feedback
label.card-hint-enquiry-label #{translate("log_hint_enquiry_helpful")} label.card-hint-feedback-label #{translate("log_hint_enquiry_helpful")}
a #{translate("answer_yes")} a.card-hint-feedback-positive #{translate("answer_yes")}
a #{translate("answer_no")} a.card-hint-feedback-negative #{translate("answer_no")}
p.entry-content(ng-show="entry.content") {{ entry.content }} p.entry-content(ng-show="entry.content") {{ entry.content }}
p p

View file

@ -211,13 +211,13 @@
} }
&-text, &-text,
&-enquiry-label { &-feedback-label {
color: @gray-dark; color: @gray-dark;
font-size: 0.9rem; font-size: 0.9rem;
margin-bottom: 30px; margin-bottom: 30px;
} }
&-enquiry-label { &-feedback-label {
font-size: inherit; font-size: inherit;
margin-bottom: 0; margin-bottom: 0;
font-weight: normal; font-weight: normal;
@ -227,13 +227,13 @@
} }
&-action-ext-link, &-ext-link,
&-action-feedback { &-feedback {
display: inline-block; display: inline-block;
font-size: 0.8rem; font-size: 0.8rem;
} }
&-action-feedback { &-feedback {
float: right; float: right;
a { a {
@ -241,7 +241,6 @@
} }
} }
& + p { & + p {
margin-top: 20px; margin-top: 20px;
} }