Difference between revisions of "Template:DisplayBuilds"

Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}
+
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}{{#vardefine:latest|{{#external_value|latest}}}}{{#ifeq|{{#var:latest|None||
 
<tr>
 
<tr>
 
<td>{{#external_value:build}}</td>
 
<td>{{#external_value:build}}</td>
 
<td>{{#vardefine:v|{{#replace:{{#external_value:variant}}|,|+}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="color: #888;">standard</span>}}</td>
 
<td>{{#vardefine:v|{{#replace:{{#external_value:variant}}|,|+}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="color: #888;">standard</span>}}</td>
<td>{{#external_value:latest}}</td>
+
<td>{{#var:latest}}</td>
 
<td>
 
<td>
 
* from '''[http://ftp.osuosl.org/pub/funtoo{{#external_value:download}} osuosl.org]'''
 
* from '''[http://ftp.osuosl.org/pub/funtoo{{#external_value:download}} osuosl.org]'''
Line 11: Line 11:
 
* [http://ftp.osuosl.org/pub/funtoo{{#external_value:path}} osuosl.org]  
 
* [http://ftp.osuosl.org/pub/funtoo{{#external_value:path}} osuosl.org]  
 
* [http://build.funtoo.org{{#external_value:path}} funtoo.org]</td>
 
* [http://build.funtoo.org{{#external_value:path}} funtoo.org]</td>
</tr>
+
</tr>}}
 
</includeonly>
 
</includeonly>

Revision as of 06:57, January 16, 2015