comparison rhodecode/templates/journal/journal.html @ 1748:a3ee2611e6e8 beta

implements #135 bookmark support for UI
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 02 Dec 2011 00:15:26 +0200
parents 753aeb4a5c58
children 60a00fd76d58
comparison
equal deleted inserted replaced
1747:8804715404c9 1748:a3ee2611e6e8
15 <!-- box / title --> 15 <!-- box / title -->
16 <div class="title"> 16 <div class="title">
17 <h5>${_('Journal')}</h5> 17 <h5>${_('Journal')}</h5>
18 <ul class="links"> 18 <ul class="links">
19 <li> 19 <li>
20 <span><a href="#"><img id="refresh" class="icon" title="${_('Refresh')}" alt="${_('Refresh')}" src="${h.url('/images/icons/arrow_refresh.png')}"/> 20 <span><a id="refresh" href="${h.url('journal')}"><img class="icon" title="${_('Refresh')}" alt="${_('Refresh')}" src="${h.url('/images/icons/arrow_refresh.png')}"/>
21 </a></span> 21 </a></span>
22 </li> 22 </li>
23 </ul> 23 </ul>
24 </div> 24 </div>
25 <div id="journal">${c.journal_data}</div> 25 <div id="journal">${c.journal_data}</div>
168 } 168 }
169 q_filter(target,nodes,func); 169 q_filter(target,nodes,func);
170 YUE.preventDefault(e); 170 YUE.preventDefault(e);
171 }) 171 })
172 YUE.on('refresh','click',function(e){ 172 YUE.on('refresh','click',function(e){
173 ypjax(e.target.href,"journal",function(){show_more_event();tooltip_activate();}); 173 ypjax(e.currentTarget.href,"journal",function(){show_more_event();tooltip_activate();});
174 YUE.preventDefault(e); 174 YUE.preventDefault(e);
175 }) 175 })
176 </script> 176 </script>
177 </%def> 177 </%def>