popover notes instead of tooltip

This commit is contained in:
Tyler Renelle 2012-06-24 22:35:04 -04:00
parent 59e565170c
commit a8126ec487
2 changed files with 4 additions and 3 deletions

View file

@ -80,6 +80,8 @@ ready (model) ->
#TODO remove this!!!!! dangerous temporary debugging helper
window.model = model
$('.task-notes').popover()
lists = [ 'habit', 'daily', 'todo', 'reward']
for type in lists

View file

@ -36,17 +36,16 @@
<!-- TODO make this a popover -->
<a x-bind=click:toggleEdit data-selector="{{:task.id}}-edit">Edit</a>
<app:editPopover/>
<!--<span class="habit-text"><%= name %></span>-->
<div class='habit-meta'>
<!--<a class="edit-link" href="#/<%= id %>/edit">Edit</a>-->
{#if :task.notes}
<a href="#" rel="tooltip" title="{:task.notes}"><i class="icon-comment"></i></a>
<a href="#" data-content="{:task.notes}" data-original-title="{:task.text}" class='task-notes'><i class="icon-comment"></i></a>
{/}
</div>
<app:editPopover />
</li>
<editPopover:>