2014-12-18 01:26:23 -05:00
|
|
|
if docs.length === 1
|
|
|
|
if showVideo
|
2014-12-18 02:55:11 -05:00
|
|
|
h3(id='help-video-heading', data-i18n="game_menu.guide_video_tutorial")
|
2015-01-30 13:48:49 -05:00
|
|
|
if videoLocked
|
|
|
|
p(data-i18n="subscribe.unlock_help_videos") Subscribe to unlock all video tutorials.
|
|
|
|
button.start-subscription-button.btn.btn-lg.btn-success(data-i18n="subscribe.subscribe_title") Subscribe
|
|
|
|
else
|
|
|
|
div(id="help-video-player")
|
2014-12-18 02:55:11 -05:00
|
|
|
h3(data-i18n="game_menu.guide_tips")
|
2014-12-18 01:26:23 -05:00
|
|
|
div
|
|
|
|
!= docs[0].html
|
2015-03-05 11:58:11 -05:00
|
|
|
|
|
|
|
if (me.get('preferredLanguage') || 'en-US').substr(0, 2) == 'en'
|
|
|
|
hr
|
|
|
|
h3 Want more programming lessons?
|
|
|
|
ul
|
|
|
|
li
|
|
|
|
strong
|
|
|
|
a(class="resource-link", data-resource="one-month", href='http://mbsy.co/bVRtZ') One Month
|
|
|
|
| : Learn any tech skill in 30 days with just 15 minutes a day.
|
|
|
|
li
|
|
|
|
strong
|
|
|
|
a(class="resource-link", data-resource="code-school", href='http://mbsy.co/bVRsR') Code School
|
|
|
|
| : Learn web technologies with video lessons, coding challenges, and screencasts. Get your first month for only $9 ($20 off).
|
|
|
|
li
|
|
|
|
strong
|
|
|
|
a(class="resource-link", data-resource="treehouse", href='http://teamtreehouse.com/') Treehouse
|
|
|
|
| : Learn HTML, CSS, iPhone apps, and more with a comprehensive video library.
|
2014-12-18 01:26:23 -05:00
|
|
|
else
|
|
|
|
ul.nav.nav-tabs
|
|
|
|
for doc in docs
|
|
|
|
li
|
|
|
|
a(data-target="#docs_tab_#{doc.slug}", data-toggle="tab") #{doc.name}
|
|
|
|
div.tab-content
|
|
|
|
for doc in docs
|
|
|
|
div.tab-pane(id="docs_tab_#{doc.slug}")!= doc.html
|