[#1685] add help popover to explain challenge task coloring / charts

This commit is contained in:
Tyler Renelle 2013-11-01 11:09:49 -07:00
parent 2f83ac27ae
commit 4b4a043a5f
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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