Difference between revisions of "Template:DisplayBuilds"

From Funtoo
Jump to navigation Jump to search
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#get_web_data:url=https://build.funtoo.org/index.xml|format=xml|use xpath|data=release=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@release,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,size=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@size,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}}{{Download|kind={{#external_value:variant}}|title='''{{#external_value:variant}}'''|body='''[https://build.funtoo.org{{#external_value:download}} Download]'''<br/>
{{#get_web_data:url=https://upload.funtoo.org/index.xml|format=xml|use xpath|data=release=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@release,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,size=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@size,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}}{{#ifeq:{{#external_value:latest}}|None||
Date: '''{{#external_value:latest}}'''<br/>Size: '''{{#external_value:size}}'''&nbsp;[https://build.funtoo.org{{#external_value:path}}/ browse]}}{{#clear_external_data:}}</includeonly>
<tr>
<td>{{#external_value:variant}}</td>
<td>Release: '''{{#external_value:release}}'''<br/>Build Date: '''{{#external_value:latest}}'''<br/>Size: '''{{#external_value:size}}'''<br/>'''[https://build.funtoo.org{{#external_value:download}} Download]''' </td>
<td><div style="display: flex; align-items: center; justify-content: space-evenly; "><span style="float: left;"> ([https://build.funtoo.org{{#external_value:download}}.gpg GPG sig])</span>{{CDN77}}</div></td>
<td>[https://build.funtoo.org{{#external_value:path}} funtoo.org]</td>
</tr>}}{{#clear_external_data:}}
</includeonly>

Revision as of 20:21, December 20, 2020