euscanwww: charts, about, etc...
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
		
							
								
								
									
										24
									
								
								euscanwww/templates/euscan/_package_cols.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								euscanwww/templates/euscan/_package_cols.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
{% load packages %}
 | 
			
		||||
{% load mul %}
 | 
			
		||||
{% load sub %}
 | 
			
		||||
{% load div %}
 | 
			
		||||
 | 
			
		||||
<td>{{ infos.n_packaged }}</td>
 | 
			
		||||
{% if infos.n_overlay == 0 or infos.n_overlay <= infos.n_packaged %}
 | 
			
		||||
<td>
 | 
			
		||||
{% else %}{% if infos.n_overlay < infos.n_packaged %}
 | 
			
		||||
<td class="bad">
 | 
			
		||||
{% else %}
 | 
			
		||||
<td class="ugly">
 | 
			
		||||
{% endif %}{% endif %}
 | 
			
		||||
  {{ infos.n_overlay }}
 | 
			
		||||
</td>
 | 
			
		||||
{% if infos.n_versions == infos.n_packaged|add:infos.n_overlay %}
 | 
			
		||||
<td>
 | 
			
		||||
{% else %}{% if infos.n_versions < infos.n_packaged|add:infos.n_overlay|mul:2 %}
 | 
			
		||||
<td class="bad">
 | 
			
		||||
{% else %}
 | 
			
		||||
<td class="ugly">
 | 
			
		||||
{% endif %}{% endif %}
 | 
			
		||||
{{ infos.n_versions|sub:infos.n_packaged|sub:infos.n_overlay }}
 | 
			
		||||
</td>
 | 
			
		||||
		Reference in New Issue
	
	Block a user