Mercurial > kallithea
comparison rhodecode/templates/journal/public_journal.html @ 2971:2bfcec6a3985 beta
new tooltip implementation
- added lazy loading of changeset tooltips for journal data
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 29 Oct 2012 21:18:14 +0100 |
parents | 6bef2a9f73e2 |
children | b4f401524060 |
comparison
equal
deleted
inserted
replaced
2970:6248c6fb1fcf | 2971:2bfcec6a3985 |
---|---|
26 <li> | 26 <li> |
27 <span><a href="${h.url('public_journal_atom')}"><img class="icon" title="${_('ATOM feed')}" alt="${_('ATOM feed')}" src="${h.url('/images/icons/rss_16.png')}"/></a></span> | 27 <span><a href="${h.url('public_journal_atom')}"><img class="icon" title="${_('ATOM feed')}" alt="${_('ATOM feed')}" src="${h.url('/images/icons/rss_16.png')}"/></a></span> |
28 </li> | 28 </li> |
29 </ul> | 29 </ul> |
30 </div> | 30 </div> |
31 <script type="text/javascript"> | 31 |
32 function show_more_event(){ | |
33 YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){ | |
34 var el = e.target; | |
35 YUD.setStyle(YUD.get(el.id.substring(1)),'display',''); | |
36 YUD.setStyle(el.parentNode,'display','none'); | |
37 }); | |
38 } | |
39 </script> | |
40 <div id="journal">${c.journal_data}</div> | 32 <div id="journal">${c.journal_data}</div> |
41 </div> | 33 </div> |
42 | 34 |
43 </%def> | 35 </%def> |