Changeset - b79e720bac0c
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 15 years ago 2011-02-04 17:47:02
marcin@python-works.com
fixed admin log tooltips
3 files changed with 23 insertions and 12 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/admin/admin.html
Show inline comments
 
@@ -20,6 +20,15 @@
 
	</div>
 
	<!-- end box / title -->
 
	<div class="table">
 
        <script type="text/javascript">
 
        function show_more_event(){
 
	        YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){
 
	            var el = e.target;
 
	            YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
 
	            YUD.setStyle(el.parentNode,'display','none');
 
	        });
 
        }
 
        </script>	
 
	    <div id="user_log">
 
	        ${c.log_data}
 
	    </div>
rhodecode/templates/admin/admin_log.html
Show inline comments
 
@@ -45,19 +45,19 @@
 
${c.users_log.pager('$link_previous ~2~ $link_next',
 
onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{
 
success:function(o){
 
    YUD.get(data_div).innerHTML=o.responseText;
 
    YUE.on(YUD.getElementsByClassName('pager_link'),"click",function(){
 
        YUD.setStyle(data_div,'opacity','0.3');
 
    });		
 
    YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){
 
      var el = e.target;
 
      YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
 
      YUD.setStyle(el.parentNode,'display','none');
 
    });
 
    YUD.setStyle(data_div,'opacity','1');}    
 

	
 
YUD.get(data_div).innerHTML=o.responseText;
 
show_more_event();
 
tooltip_activate();    
 
YUE.on(YUD.getElementsByClassName('pager_link'),"click",function(){
 
      YUD.setStyle(data_div,'opacity','0.3');
 
});		
 
YUD.setStyle(data_div,'opacity','1');}
 
},null); return false;""")}
 
</div>
 
%else: 
 
	${_('No actions yet')} 
 
%endif
 

	
 
<script type="text/javascript">
 
show_more_event();
 
</script>
 
\ No newline at end of file
rhodecode/templates/journal/journal_data.html
Show inline comments
 
@@ -47,4 +47,6 @@ YAHOO.util.Dom.setStyle(data_div,'opacit
 
    ${_('No entries yet')}
 
%endif
 
            
 
<script type="text/javascript">show_more_event();</script>
 
\ No newline at end of file
 
<script type="text/javascript">
 
show_more_event();
 
</script>
 
\ No newline at end of file
0 comments (0 inline, 0 general)