mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-21 21:34:15 +00:00
popover notes instead of tooltip
This commit is contained in:
parent
59e565170c
commit
a8126ec487
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:>
|
||||
|
|
|
|||
Loading…
Reference in a new issue