diff pylons_app/templates/summary/summary.html @ 524:63212fea2471

a lot of fixes in templates, added options to each repository showing fork/serach/settings fixed emtpy changeset (again !)
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 29 Sep 2010 22:36:53 +0200
parents b50e79b4257a
children 6fc59ac322ca
line wrap: on
line diff
--- a/pylons_app/templates/summary/summary.html	Tue Sep 28 22:38:34 2010 +0000
+++ b/pylons_app/templates/summary/summary.html	Wed Sep 29 22:36:53 2010 +0200
@@ -76,7 +76,7 @@
 			      <label>${_('Last change')}:</label>
 			  </div>
 			  <div class="input-short">
-			      ${h.age(c.repo_info.last_change)} - ${h.rfc822date(c.repo_info.last_change)} 
+			      ${h.age(c.repo_info.last_change)} - ${h.rfc822date_notz(c.repo_info.last_change)} 
 			      ${_('by')} ${h.get_changeset_safe(c.repo_info,'tip').author} 
 			      
 			  </div>
@@ -122,7 +122,7 @@
 				  		var td2 = document.createElement('td');
 			  		    var trending_language = document.createElement('div');
 			  		    trending_language.title = k;
-			  		    trending_language.innerHTML = "<b>"+value+" ${_('files')} - "+percentage+" %</b>";
+			  		    trending_language.innerHTML = "<b>"+percentage+"% "+value+" ${_('files')}</b>";
 			  		    trending_language.setAttribute("class", 'trending_language');
 			  		    trending_language.style.width=percentage+"%";
 						td2.appendChild(trending_language);
@@ -130,7 +130,6 @@
 						tr.appendChild(td1);
 						tr.appendChild(td2);
 			  		    tbl.appendChild(tr);
- 				  		//YAHOO.util.Dom.get('lang_stats').appendChild(trending_language_label);
 			  		    
 			  		}
 			  		if(no_data){