mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 06:21:49 +01:00
Forgot to check this one in!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@370 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
c099160411
commit
74ad2b9cc7
1 changed files with 7 additions and 0 deletions
7
tracks/app/views/todo/_toggle_notes.rhtml
Normal file
7
tracks/app/views/todo/_toggle_notes.rhtml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<%= link_to_function(image_tag( 'blank.png', :width=>'16', :height=>'16', :border=>'0' ), nil, {:class => 'show_notes', :title => 'Show notes'}) do |page|
|
||||
page[dom_id(item, 'notes')].toggle
|
||||
end
|
||||
-%>
|
||||
<div class="notes" id="<%= dom_id(item, 'notes') %>" style="display:none">
|
||||
<%= markdown( item.notes ) %>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue