portal: redmine-zentralwerk issues tile
This commit is contained in:
parent
f909e2b838
commit
61f836c3ce
|
@ -9,4 +9,5 @@
|
|||
<gallery id="media-joerg">https://media.c3d2.de/u/joerg/atom/</gallery>
|
||||
<!-- https://www.mediawiki.org/wiki/API:Recentchanges -->
|
||||
<wiki id="wiki">https://wiki.c3d2.de/w/api.php?action=query&list=recentchanges&format=xml&rcnamespace=0|4|6&rclimit=20&rcprop=title|user|comment|timestamp&rcshow=!minor</wiki>
|
||||
<issues id="redmine-zentralwerk" title="Hackspace-Umzug" category="public">https://redmine.c3d2.de/issues.xml?key=a7bb15ffa84bf84d193dc8ea45513307ef8d1561&project_id=56</issues>
|
||||
</config>
|
||||
|
|
|
@ -38,6 +38,9 @@
|
|||
<xsl:apply-templates select="document(concat('../portal/portal-', @id, '.xml'))/api/query/recentchanges" mode="wiki"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/config/issues">
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="*">
|
||||
</xsl:template>
|
||||
|
||||
|
|
|
@ -381,8 +381,28 @@
|
|||
<p class="footer">ccc.de</p>
|
||||
</article-->
|
||||
|
||||
<!-- 8..30 -->
|
||||
<xsl:apply-templates select="item[position() >= 8 and position() <= 30]"/>
|
||||
<!-- 8..12 -->
|
||||
<xsl:apply-templates select="item[position() >= 8 and position() <= 12]"/>
|
||||
|
||||
<!-- Zentralwerk-Issues -->
|
||||
<article class="upcoming">
|
||||
<h3>Hackspace-Umzug</h3>
|
||||
<ul>
|
||||
<xsl:for-each select="document('../portal/portal-redmine-zentralwerk.xml')/issues/issue[category/@name='public']">
|
||||
<xsl:sort select="date:seconds(updated_on)" data-type="number" order="descending" />
|
||||
|
||||
<li>
|
||||
<a href="https://redmine.c3d2.de/issues/{id}">
|
||||
<xsl:value-of select="subject"/>
|
||||
</a>
|
||||
</li>
|
||||
</xsl:for-each>
|
||||
</ul>
|
||||
<p class="footer">…ins Zentralwerk</p>
|
||||
</article>
|
||||
|
||||
<!-- 13..30 -->
|
||||
<xsl:apply-templates select="item[position() >= 13 and position() <= 30]"/>
|
||||
|
||||
</section>
|
||||
</xsl:template>
|
||||
|
|
Loading…
Reference in New Issue