Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:DisplayBuilds"
Jump to navigation
Jump to search
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>{{# | <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> |