chore: Change toggle button text to English.

Add "Click to show/hide English" to home.
This commit is contained in:
Zhimin YE (Rex) 2016-07-08 09:47:55 +01:00
parent ba245134a7
commit 01dc30eb3e
2 changed files with 3 additions and 2 deletions

View File

@ -6,5 +6,6 @@ header(class="background-sky")
.hero-cta .hero-cta
a(href="/docs/ts/latest/quickstart.html" class="md-raised button button-large button-plain" md-button) 开始吧! a(href="/docs/ts/latest/quickstart.html" class="md-raised button button-large button-plain" md-button) 开始吧!
h2 点击“译文”可显示/隐藏“原文”,点击“原文”可隐藏自身 h2 点击“译文”显示/隐藏“原文”
h4 Click to show/hide English

View File

@ -16,4 +16,4 @@ md-toolbar(class="main-nav background-regal l-pinned-top l-layer-5",scroll-y-off
li.l-right <a class="main-nav-button" href="/docs/ts/latest/quickstart.html" md-button>立即开始!</a> li.l-right <a class="main-nav-button" href="/docs/ts/latest/quickstart.html" md-button>立即开始!</a>
li.l-right li.l-right
a.main-nav-button.md-button(ng-click="appCtrl.toggleSource($event)", href) a.main-nav-button.md-button(ng-click="appCtrl.toggleSource($event)", href)
span {{appCtrl.sourceVisible?'隐藏原文':'显示原文'}} span {{appCtrl.sourceVisible?'Hide English':'Show English'}}