mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
feat(guide): temporarily remove current tutorial, add simple ? to expand help
This commit is contained in:
@@ -217,6 +217,7 @@ function($rootScope, User, $timeout, $state) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
var goto = function(chapter, page, force) {
|
var goto = function(chapter, page, force) {
|
||||||
|
return; // TODO temporarily remove old tutorial system while experimenting with leslie's new gettup
|
||||||
var curr = User.user.flags.tour[chapter];
|
var curr = User.user.flags.tour[chapter];
|
||||||
if (page != curr+1 && !force) return;
|
if (page != curr+1 && !force) return;
|
||||||
var updates = {};updates['flags.tour.'+chapter] = page;
|
var updates = {};updates['flags.tour.'+chapter] = page;
|
||||||
|
|||||||
@@ -8,16 +8,52 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
|
|||||||
.task-column(class='{{list.type}}s')
|
.task-column(class='{{list.type}}s')
|
||||||
|
|
||||||
// Todos export/graph options
|
// Todos export/graph options
|
||||||
span.option-box.pull-right(ng-if='::main && list.type=="todo"')
|
span.option-box.pull-right(ng-if='::main')
|
||||||
a.option-action(ng-show='obj.history.todos', ng-click='toggleChart("todos")', tooltip=env.t('progress'))
|
a.option-action(ng-if='list.type=="todo"', ng-show='obj.history.todos', ng-click='toggleChart("todos")', tooltip=env.t('progress'), style='margin-right:5px;')
|
||||||
span.glyphicon.glyphicon-signal
|
span.glyphicon.glyphicon-signal
|
||||||
//a.option-action(ng-href='/v1/users/{{user.id}}/calendar.ics?apiToken={{user.apiToken}}', tooltip='iCal')
|
//a.option-action(ng-href='/v1/users/{{user.id}}/calendar.ics?apiToken={{user.apiToken}}', tooltip='iCal')
|
||||||
a.option-action(ng-click='notPorted()', tooltip='iCal', ng-show='false')
|
//-a.option-action(ng-if='list.type=="todo"', ng-click='notPorted()', tooltip='iCal', ng-show='false')
|
||||||
span.glyphicon.glyphicon-calendar
|
span.glyphicon.glyphicon-calendar
|
||||||
// <a href="https://www.google.com/calendar/render?cid={{encodeiCalLink(_user.id, _user.apiToken)}}" rel=tooltip title="Google Calendar"><i class=icon-calendar></i></a>
|
// <a href="https://www.google.com/calendar/render?cid={{encodeiCalLink(_user.id, _user.apiToken)}}" rel=tooltip title="Google Calendar"><i class=icon-calendar></i></a>
|
||||||
|
a.option-action(ng-click='list.help=!list.help', tooltip='Click for help')
|
||||||
|
span.glyphicon.glyphicon-question-sign
|
||||||
|
|
||||||
// Header
|
// Header
|
||||||
h2.task-column_title {{list.header}}
|
h2.task-column_title
|
||||||
|
| {{list.header}}
|
||||||
|
|
||||||
|
div(ng-if='list.help', ng-switch='::list.type')
|
||||||
|
div(ng-switch-when='habit')
|
||||||
|
ul
|
||||||
|
li Good Habits are things that you do often. They award gold and experience every time you click the <code>+</code>.
|
||||||
|
li Bad Habits are things you want to avoid doing. They remove health every time you click the <code>-</code>.
|
||||||
|
li For inspiration, check out these <a href='http://habitrpg.wikia.com/wiki/Sample_Habits#Business' target='_blank'>sample Habits</a>
|
||||||
|
li More questions? Ask in <a href='https://habitrpg.com/#/options/groups/guilds/5481ccf3-5d2d-48a9-a871-70a7380cee5a' target='_blank'>the Newbies Guild!</a>
|
||||||
|
div(ng-switch-when='daily')
|
||||||
|
ul
|
||||||
|
li Dailies repeat <strong>every day</strong> that they are active. Click the pencil icon to change the days a Daily is active.
|
||||||
|
li If you don’t complete active Dailies, they will hurt your avatar when your day rolls over.
|
||||||
|
li Dailies turn <strong>redder</strong> when you miss them, and <strong>bluer</strong> when you complete them. The redder the Daily, the more it will reward you... and hurt you.
|
||||||
|
li To change when your day rolls over, go to Settings > Site > Custom Day Start.
|
||||||
|
li For inspiration, check out these <a href='http://habitrpg.wikia.com/wiki/Sample_Dailies#Business' target='_blank'>sample Dailies</a>!
|
||||||
|
li More questions? Ask in <a href='https://habitrpg.com/#/options/groups/guilds/5481ccf3-5d2d-48a9-a871-70a7380cee5a' target='_blank'>the Newbies Guild!</a>
|
||||||
|
|
||||||
|
div(ng-switch-when='todo')
|
||||||
|
ul
|
||||||
|
li To-Dos start yellow, and get redder (more valuable) the longer it takes to complete them.
|
||||||
|
li To-Dos never hurt you! They only award gold and experience.
|
||||||
|
li Breaking a To-Do down into a small checklist will make it less scary, and will increase your points!
|
||||||
|
li For inspiration, check out these <a href='http://habitrpg.wikia.com/wiki/Sample_To-Dos#Finances' target='_blank'>sample To-Dos</a>!
|
||||||
|
li More questions? Ask in <a href='https://habitrpg.com/#/options/groups/guilds/5481ccf3-5d2d-48a9-a871-70a7380cee5a' target='_blank'>the Newbies Guild!</a>
|
||||||
|
|
||||||
|
div(ng-switch-when='reward')
|
||||||
|
ul
|
||||||
|
li The Equipment you buy for your avatar is stored in Inventory > Equipment.
|
||||||
|
li Equipment affects your stats (Avatar > Stats).
|
||||||
|
li There will be special equipment here during World Events.
|
||||||
|
li Don't be afraid to set custom rewards! Check out some samples <a href='http://habitrpg.wikia.com/wiki/Sample_Custom_Rewards' target='_blank'>here</a>
|
||||||
|
li More questions? Ask in <a href='https://habitrpg.com/#/options/groups/guilds/5481ccf3-5d2d-48a9-a871-70a7380cee5a' target='_blank'>the Newbies Guild!</a>
|
||||||
|
|
||||||
|
|
||||||
// Todo Chart
|
// Todo Chart
|
||||||
.todos-chart(ng-if='::list.type == "todo"', ng-show='charts.todos')
|
.todos-chart(ng-if='::list.type == "todo"', ng-show='charts.todos')
|
||||||
|
|||||||
Reference in New Issue
Block a user