Add tooltips for V1 badges with dummy copy

This commit is contained in:
Alasdair Smith
2017-11-22 11:37:29 +00:00
parent c11ea59dc1
commit 0d4059764a
4 changed files with 14 additions and 1 deletions
+1
View File
@@ -148,6 +148,7 @@ html(itemscope, itemtype='http://schema.org/Product')
)
include contact-us-modal
include v1-tooltip
include sentry
@@ -69,6 +69,8 @@
ng-if="tag.isV1",
ng-cloak,
aria-label=translate("v1_badge")
tooltip-template="'v1TagTooltipTemplate'"
tooltip-append-to-body="true"
)
span.dropdown.tag-menu(dropdown)
a.dropdown-toggle(
@@ -1,5 +1,9 @@
.col-xs-8
span.v1-badge(aria-label=translate("v1_badge"))
span.v1-badge(
aria-label=translate("v1_badge")
tooltip-template="'v1ProjectTooltipTemplate'"
tooltip-append-to-body="true"
)
span
if settings.overleaf && settings.overleaf.host
a.projectName(
+6
View File
@@ -0,0 +1,6 @@
script(type='text/ng-template', id='v1ProjectTooltipTemplate')
span This project is from Overleaf V1 and has not been imported to the beta yet
script(type='text/ng-template', id='v1TagTooltipTemplate')
span This folder is from Overleaf V1 and has not been imported to the beta yet