feat(FAQ): Static FAQ page

Introduces a new static page for Frequently Asked Questions, linked from the Help menu. Fixes #5773.
This commit is contained in:
Sabe Jones
2015-09-04 15:05:15 -04:00
parent b5124e6cd8
commit 869651f5a2
5 changed files with 189 additions and 9 deletions
+5 -6
View File
@@ -55,6 +55,8 @@ nav.toolbar(ng-controller='MenuCtrl')
li
a(ui-sref='options.settings.export')=env.t('exportData')
ul.toolbar-submenu
li
a(target='_blank' href='http://habitica.com/static/faq/')=env.t('FAQ')
li
a(target='_blank' href='http://habitica.wikia.com/wiki/')=env.t('overview')
li
@@ -65,8 +67,6 @@ nav.toolbar(ng-controller='MenuCtrl')
a(target='_blank' href='https://trello.com/c/odmhIqyW/440-read-first-table-of-contents')=env.t('requestAF')
li
a(target='_blank' href='http://habitica.wikia.com/wiki/Contributing_to_Habitica')=env.t('contributeToHRPG')
li
a(target='_blank' href='http://habitica.wikia.com/wiki/FAQ')=env.t('FAQ')
ul.toolbar-controls
li.toolbar-subscribe-button
button(ng-if='!user.purchased.plan.customerId',ui-sref='options.settings.subscription',popover-trigger='mouseenter',popover-placement='bottom',popover-title=env.t('subscriptions'),popover=env.t('subDescription'),popover-append-to-body='true')=env.t('subscribe')
@@ -154,6 +154,8 @@ nav.toolbar(ng-controller='MenuCtrl')
span ☰
div(ng-show='_expandedMenu.menu === "help"', data-close-menu)
ul.toolbar-submenu
li
a(target='_blank' href='http://habitica.com/static/faq/')=env.t('FAQ')
li
a(target='_blank' href='http://habitica.wikia.com/wiki/')=env.t('overview')
li
@@ -164,8 +166,6 @@ nav.toolbar(ng-controller='MenuCtrl')
a(target='_blank' href='https://trello.com/c/odmhIqyW/440-read-first-table-of-contents')=env.t('requestAF')
li
a(target='_blank' href='http://habitica.wikia.com/wiki/Contributing_to_Habitica')=env.t('contributeToHRPG')
li
a(target='_blank' href='http://habitica.wikia.com/wiki/FAQ')=env.t('FAQ')
ul.toolbar-subscribe(ng-if='!user.purchased.plan.customerId')
li.toolbar-subscribe-button
button.highlight(ui-sref='options.settings.subscription',popover-trigger='mouseenter',popover-placement='bottom',popover-title=env.t('subscriptions'),popover=env.t('subDescription'),popover-append-to-body='true')=env.t('subscribe')
@@ -252,7 +252,7 @@ nav.toolbar(ng-controller='MenuCtrl')
a(ui-sref='options.settings.notifications')=env.t('notifications')
ul.toolbar-submenu
li
a(href='http://habitica.wikia.com/wiki/FAQ', target='_blank')=env.t('FAQ')
a(href='https://habitica.com/static/faq', target='_blank')=env.t('FAQ')
li
a(href='https://vimeo.com/57654086', target='_blank')=env.t('tutorials')
ul.toolbar-controls
@@ -261,7 +261,6 @@ nav.toolbar(ng-controller='MenuCtrl')
ul.toolbar-wallet
li.toolbar-gems(popover-trigger='mouseenter', popover-title=env.t('gemsPopoverTitle'), popover=env.t('gemsWhatFor'), popover-placement='bottom',popover-append-to-body='true')
a.gem-wallet(ng-click='openModal("buyGems",{track:"Gems > Toolbar"})')
//-span.task-action-btn.tile.flush.bright.add-gems-btn
span.Pet_Currency_Gem2x.Gems
span.gem-text {{user.balance * 4 | number:0}}
li.toolbar-currency.gold(popover=env.t('gold') + ' ({{Shared.gold(user.stats.gp)}})', popover-placement='bottom',popover-trigger='mouseenter')