angular-docs-cn/public/_includes/_version-dropdown.jade

15 lines
379 B
Plaintext
Raw Normal View History

2015-03-01 09:42:31 -05:00
language = current.path[1]
version = current.path[2]
title = "Some Version"
if language == 'js'
if version == "latest"
2015-03-02 02:48:31 -05:00
title = 'Javascript ' + jsLatest
2015-03-01 09:42:31 -05:00
if language == 'dart'
if version == "latest"
2015-03-02 02:48:31 -05:00
title = 'Dart ' + dartLatest
2015-03-01 09:42:31 -05:00
h2.hero-subtitle.text-subhead
2015-03-01 18:43:22 -05:00
button(md-button ng-click="showVersionMenu($event)") #{title} <span class="icon-arrow-drop-down"></span>