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")
p.card-hint-text(ng-show="entry.humanReadableHint", ng-bind-html="entry.humanReadableHint")
.card-hint-actions
.card-hint-action-ext-link
.card-hint-ext-link
a(ng-href="{{ entry.extraInfoURL }}", target="_blank")
i.fa.fa-external-link
| #{translate("log_hint_extra_info")}
.card-hint-action-feedback
label.card-hint-enquiry-label #{translate("log_hint_enquiry_helpful")}
a #{translate("answer_yes")}
a #{translate("answer_no")}
.card-hint-feedback
label.card-hint-feedback-label #{translate("log_hint_enquiry_helpful")}
a.card-hint-feedback-positive #{translate("answer_yes")}
a.card-hint-feedback-negative #{translate("answer_no")}
p.entry-content(ng-show="entry.content") {{ entry.content }}
p

View file

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