Difference between revisions of "Template:DisplayBuilds"

 
(10 intermediate revisions by the same user not shown)
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|{{#external_value:variant}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="color: #888;">standard</span>}}</td>
+
<td>{{#vardefine:v|{{#external_value:variant}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="color: #aaa;">standard</span>}}</td>
<td>{{#external_value:latest}}</td>
+
<td>{{#var:latest}}</td>
<td>*'''[http://ftp.osuosl.org/pub/funtoo{{#external_value:download}} osuosl.org]'''
+
<td>
* '''[http://build.funtoo.org{{#external_value:download}} funtoo.org]'''</td>
+
* from '''[http://ftp.osuosl.org/pub/funtoo{{#external_value:download}} osuosl.org]'''
<td>* [http://ftp.osuosl.org/pub/funtoo{{#external_value:path}} osuosl.org]  
+
* from '''[http://build.funtoo.org{{#external_value:download}} funtoo.org]'''</td>
 +
<td>
 +
* [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>

Latest revision as of 21:40, January 16, 2015