Changeset - 94886e8432a2
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-08-25 23:53:23
marcin@python-works.com
fixed changed details helper
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/changelog/changelog.html
Show inline comments
 
@@ -71,7 +71,7 @@ ${_('%s Changelog') % c.repo_name} - ${c
 
						</div>
 
						<div class="right">
 
									<div class="changes">
 
                                        <div id="${cs.raw_id}"  style="float:right;" class="changed_total tooltip" title="${h.tooltip(_('Affected number of files, click to show more details'))}">${len(cs.affected_files)}</div>
 
                                        <div id="changed_total_${cs.raw_id}" style="float:right;" class="changed_total tooltip" title="${h.tooltip(_('Affected number of files, click to show more details'))}">${len(cs.affected_files)}</div>
 
                                        <div class="comments-container">
 
                                        %if len(c.comments.get(cs.raw_id,[])) > 0:
 
                                            <div class="comments-cnt" title="${('comments')}">
 
@@ -201,9 +201,9 @@ ${_('%s Changelog') % c.repo_name} - ${c
 

	
 
                    // Fetch changeset details
 
                    YUE.on(YUD.getElementsByClassName('changed_total'),'click',function(e){
 
                    	var id = e.currentTarget.id
 
                    	var url = "${h.url('changelog_details',repo_name=c.repo_name,cs='__CS__')}"
 
                    	var url = url.replace('__CS__',id);
 
                    	var id = e.currentTarget.id;
 
                    	var url = "${h.url('changelog_details',repo_name=c.repo_name,cs='__CS__')}";
 
                    	var url = url.replace('__CS__',id.replace('changed_total_',''));
 
                    	ypjax(url,id,function(){tooltip_activate()});
 
                    });
 

	
0 comments (0 inline, 0 general)