From baea017adb0d3833f7b19465246ef3a32f407682 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Mon, 20 Jun 2016 14:59:30 +0100 Subject: [PATCH] Better mark-up for analytics tracking. --- services/web/app/views/project/editor/pdf.jade | 10 +++++----- services/web/public/stylesheets/app/editor/pdf.less | 11 +++++------ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/services/web/app/views/project/editor/pdf.jade b/services/web/app/views/project/editor/pdf.jade index 6b24e240e7..b65c766952 100644 --- a/services/web/app/views/project/editor/pdf.jade +++ b/services/web/app/views/project/editor/pdf.jade @@ -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 diff --git a/services/web/public/stylesheets/app/editor/pdf.less b/services/web/public/stylesheets/app/editor/pdf.less index cdb994c1b2..19a92fa3ce 100644 --- a/services/web/public/stylesheets/app/editor/pdf.less +++ b/services/web/public/stylesheets/app/editor/pdf.less @@ -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; }