mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
[#1685] add help popover to explain challenge task coloring / charts
This commit is contained in:
parent
2f83ac27ae
commit
4b4a043a5f
2 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ db.users.find().forEach(function(user){
|
|||
newTask = {};
|
||||
if (!task) return m; // remove null tasks
|
||||
|
||||
// Transform to proper schema
|
||||
// Cleanup tasks for TaskSchema
|
||||
newTask._id = newTask.id = task.id;
|
||||
newTask.text = (_.isString(task.text)) ? task.text : '';
|
||||
if (_.isString(task.notes)) newTask.notes = task.notes;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ script(type='text/ng-template', id='partials/options.social.challenges.detail.ht
|
|||
hr
|
||||
|
||||
.well(ng-if='challenge.description') {{challenge.description}}
|
||||
i.icon-question-sign(popover="These are the challenge's tasks. As users participate, they will change color and gain graphs to show you the overall progress of the group.", popover-trigger='mouseenter', popover-placement='right')
|
||||
habitrpg-tasks(obj='challenge', main=false)
|
||||
.accordion(ng-if='challenge.members')
|
||||
.accordion-group
|
||||
|
|
|
|||
Loading…
Reference in a new issue