Browse Source

Further unify related news and events sections

pull/1364/head
Reinhard Müller 2 years ago
parent
commit
f54039b16f
  1. 27
      activities/education/education.de.xhtml
  2. 28
      activities/education/education.el.xhtml
  3. 27
      activities/education/education.en.xhtml
  4. 2
      activities/education/education.fr.xhtml
  5. 27
      activities/education/education.it.xhtml
  6. 28
      activities/education/education.nl.xhtml
  7. 27
      activities/education/education.pt.xhtml
  8. 3
      activities/education/education.ru.xhtml
  9. 6
      activities/ftf/avm-gpl-violation.de.xhtml
  10. 6
      activities/ftf/avm-gpl-violation.en.xhtml
  11. 5
      activities/os/os.da.xhtml
  12. 5
      activities/os/os.de.xhtml
  13. 5
      activities/os/os.el.xhtml
  14. 7
      activities/os/os.en.xhtml
  15. 7
      activities/os/os.es.xhtml
  16. 7
      activities/os/os.fr.xhtml
  17. 5
      activities/os/os.hr.xhtml
  18. 7
      activities/os/os.it.xhtml
  19. 7
      activities/os/os.nl.xhtml
  20. 5
      activities/os/os.pt.xhtml
  21. 5
      activities/os/os.ro.xhtml
  22. 5
      activities/os/os.ru.xhtml
  23. 5
      activities/os/os.sq.xhtml
  24. 5
      activities/procurement/procurement.da.xhtml
  25. 5
      activities/procurement/procurement.en.xhtml
  26. 5
      activities/procurement/procurement.fr.xhtml
  27. 5
      activities/procurement/procurement.nl.xhtml
  28. 3
      activities/radiodirective/radiodirective.en.xhtml
  29. 3
      activities/radiodirective/radiodirective.fr.xhtml
  30. 3
      activities/radiodirective/radiodirective.nl.xhtml
  31. 3
      activities/radiodirective/radiodirective.tr.xhtml
  32. 5
      activities/routers/routers.de.xhtml
  33. 5
      activities/routers/routers.el.xhtml
  34. 5
      activities/routers/routers.en.xhtml
  35. 5
      activities/routers/routers.es.xhtml
  36. 5
      activities/routers/routers.fr.xhtml
  37. 5
      activities/routers/routers.it.xhtml
  38. 5
      activities/routers/routers.nl.xhtml
  39. 5
      activities/routers/routers.pt.xhtml
  40. 5
      activities/routers/routers.tr.xhtml
  41. 6
      build/xslt/events.xsl
  42. 6
      build/xslt/news.xsl
  43. 115
      build/xslt/related.xsl
  44. 5
      campaigns/nledu/nledu.de.xhtml
  45. 5
      campaigns/nledu/nledu.en.xhtml
  46. 5
      campaigns/nledu/nledu.it.xhtml
  47. 5
      campaigns/nledu/nledu.nl.xhtml
  48. 3
      campaigns/publiccode/publiccode.de.xhtml
  49. 3
      campaigns/publiccode/publiccode.en.xhtml
  50. 3
      campaigns/publiccode/publiccode.fr.xhtml
  51. 3
      campaigns/publiccode/publiccode.it.xhtml
  52. 3
      campaigns/publiccode/publiccode.nl.xhtml
  53. 3
      campaigns/publiccode/publiccode.tr.xhtml
  54. 3
      fsfe.xsl
  55. 2
      look/style.less
  56. 7
      tools/texts-ar.xml
  57. 7
      tools/texts-bg.xml
  58. 7
      tools/texts-bs.xml
  59. 7
      tools/texts-ca.xml
  60. 7
      tools/texts-cs.xml
  61. 7
      tools/texts-da.xml
  62. 7
      tools/texts-de.xml
  63. 7
      tools/texts-el.xml
  64. 7
      tools/texts-en.xml
  65. 7
      tools/texts-eo.xml
  66. 7
      tools/texts-es.xml
  67. 7
      tools/texts-et.xml
  68. 7
      tools/texts-fi.xml
  69. 7
      tools/texts-fr.xml
  70. 7
      tools/texts-hr.xml
  71. 7
      tools/texts-hu.xml
  72. 7
      tools/texts-it.xml
  73. 7
      tools/texts-ku.xml
  74. 7
      tools/texts-mk.xml
  75. 7
      tools/texts-nb.xml
  76. 7
      tools/texts-nl.xml
  77. 7
      tools/texts-nn.xml
  78. 7
      tools/texts-pl.xml
  79. 7
      tools/texts-pt.xml
  80. 7
      tools/texts-ro.xml
  81. 7
      tools/texts-ru.xml
  82. 7
      tools/texts-sk.xml
  83. 7
      tools/texts-sl.xml
  84. 7
      tools/texts-sq.xml
  85. 7
      tools/texts-sr.xml
  86. 7
      tools/texts-sv.xml
  87. 6
      tools/texts-tr.xml

27
activities/education/education.de.xhtml

@ -57,32 +57,7 @@
</ul>
<section id="news">
<h2>
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
<a href="/news/news.html"><news-label /></a>
</h2>
<news-feed/>
</section>
<section id="events">
<h2>
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE Veranstaltungen als iCal feed" /></a>
<a href="/events/events.html"><events-label /></a>
</h2>
<event-feed/>
</section>
<related-feed tag="education"/>
</body>
<sidebar promo="about-fsfe">

28
activities/education/education.el.xhtml

@ -58,33 +58,7 @@
</ul>
<section id="news">
<h2>
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
<a href="/news/news.html"><news-label /></a>
</h2>
<news-feed/>
</section>
<section id="events">
<h2>
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
<a href="/events/events.html"><events-label /></a>
</h2>
<!-- this element fetches all event items which have the relevant country tag -->
<event-feed/>
</section>
<related-feed tag="education"/>
</body>
<sidebar promo="about-fsfe">

27
activities/education/education.en.xhtml

@ -60,32 +60,7 @@ Education working group</a> to focus on these efforts. Today, it acts as a hub
</li>
</ul>
<section id="news">
<h2>
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
<a href="/news/news.html"><news-label /></a>
</h2>
<news-feed/>
</section>
<section id="events" class="section">
<h2>
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
<a href="/events/events.html"><events-label /></a>
</h2>
<event-feed/>
</section>
<related-feed tag="education"/>
</body>
<sidebar promo="about-fsfe">

2
activities/education/education.fr.xhtml

@ -31,7 +31,7 @@ Nous avons mis en place un groupe de travail, l'<em><a href="/activities/educati
</ul>
<news-feed/>
<related-feed tag="education"/>
<h2 id="subpages">Navigation</h2>

27
activities/education/education.it.xhtml

@ -58,32 +58,7 @@
</li>
</ul>
<section id="news">
<h2>
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
<a href="/news/news.html"><news-label /></a>
</h2>
<news-feed/>
</section>
<section id="events">
<h2>
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
<a href="/events/events.html"><events-label /></a>
</h2>
<event-feed/>
</section>
<related-feed tag="education"/>
</body>
<sidebar promo="about-fsfe">

28
activities/education/education.nl.xhtml

@ -49,33 +49,7 @@ Educatie werkgroep</a> op om de aandacht te richten op deze inspanningen. Vandaa
</li>
</ul>
<section id="news">
<h2>
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="Nieuws RSS" title="nieuws RSS feed" /></a>
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="volg FSFE op twitteridenti.ca"/></a> -->
<a href="/news/news.html"><news-label /></a>
</h2>
<news-feed/>
</section>
<section id="events">
<h2>
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Evenementen RSS" title="evenementen RSS feed" /></a>
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE evenementen als iCal feed" /></a>
<a href="/events/events.html"><events-label /></a>
</h2>
<!-- this element fetches all event items which have the relevant country tag -->
<event-feed/>
</section>
<related-feed tag="education"/>
</body>
<sidebar promo="about-fsfe">

27
activities/education/education.pt.xhtml

@ -60,32 +60,7 @@
</li>
</ul>
<section id="news">
<h2>
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
<a href="/news/news.html"><news-label /></a>
</h2>
<news-feed/>
</section>
<section id="events">
<h2>
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
<a href="/events/events.html"><events-label /></a>
</h2>
<event-feed/>
</section>
<related-feed tag="education"/>
</body>
<sidebar promo="about-fsfe">

3
activities/education/education.ru.xhtml

@ -49,7 +49,8 @@
</ul>
<news-feed/>
<related-feed tag="education"/>
<h2 id="subpages">Содержание</h2>
<ul>

6
activities/ftf/avm-gpl-violation.de.xhtml

@ -155,11 +155,7 @@
<p>Das Urteil ist noch nicht rechtskräftig. Die Parteien können noch
Berufung einlegen.</p>
<h2>Dazugehörige Nachrichten</h2>
<news-list/>
<related-feed tag="avm"/>
</body>
</html>

6
activities/ftf/avm-gpl-violation.en.xhtml

@ -172,11 +172,7 @@ The granting part of the verdict which parallels last year's judgment of the Sup
The verdict is not yet final. The parties can still appeal the decision.
</p>
<h2>Related news</h2>
<news-list/>
<related-feed tag="avm"/>
</body>
</html>

5
activities/os/os.da.xhtml

@ -90,10 +90,7 @@
<li>Article on Heise.de: "<a href="/activities/os/msooxml-converter-hoax.html">The converter hoax</a>"</li>
</ul>
<section id="news">
<h2>Relaterede nyheder</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
<h2>Eksterne links af interesse</h2>
<ul>

5
activities/os/os.de.xhtml

@ -196,10 +196,7 @@ um die Kompatibilität aller Softwarelösungen im öffentlichen Sektor sicherzus
</ul>
</blockquote>
<section id="news">
<h2>Verwandte Themen</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
</body>

5
activities/os/os.el.xhtml

@ -134,10 +134,7 @@
</li>
</ul>
<section id="news">
<h2>Σχετικά Νέα</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
<h2>Εξωτερικοί σύνδεσμοι</h2>
<ul>

7
activities/os/os.en.xhtml

@ -203,11 +203,8 @@ solutions used in public sector.</li>
</div>
<section id="news">
<h2>Related news</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
</body>
<sidebar promo="open-standards">

7
activities/os/os.es.xhtml

@ -102,11 +102,8 @@
</div>
<section id="news">
<h2>Noticias relacionadas</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
</body>
<sidebar promo="open-standards">

7
activities/os/os.fr.xhtml

@ -231,11 +231,8 @@ forcer à utiliser des formats verrouillés.</ul>
</div>
<section id="news">
<h2>Actualités liées</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
</body>
<sidebar promo="open-standards">

5
activities/os/os.hr.xhtml

@ -76,10 +76,7 @@
<li>Članak na Heise.de: "<a href="/documents/msooxml-converter-hoax">The converter hoax</a>"</li>
</ul>
<section id="news">
<h2>Povezane vijesti</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
<h2>Vanjske poveznice</h2>
<ul>

7
activities/os/os.it.xhtml

@ -204,11 +204,8 @@ soluzione software impiegate nel settore pubblico.</li>
</div>
<section id="news">
<h2>Notizie correlate</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
</body>
<sidebar promo="open-standards">

7
activities/os/os.nl.xhtml

@ -108,11 +108,8 @@ om het technologische probleem adequaat op te lossen en om zoveel mogelijk invoe
</div>
<section id="news">
<h2>Verwant nieuws</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
</body>
<sidebar promo="open-standards">

5
activities/os/os.pt.xhtml

@ -119,10 +119,7 @@
<li>Article on Heise.de: "<a href="/activities/os/msooxml-converter-hoax.html">The converter hoax</a>"</li>
</ul>
<section id="news">
<h2>Notícias Relacionadas</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
<h2>Ligações externas com interesse</h2>
<ul>

5
activities/os/os.ro.xhtml

@ -53,10 +53,7 @@
<li>Article on Heise.de: "<a href="/documents/msooxml-converter-hoax">The converter hoax</a>"</li>
</ul>
<section id="news">
<h2>Related News</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
<h2>External links of interest</h2>
<ul>

5
activities/os/os.ru.xhtml

@ -114,10 +114,7 @@ DIS-29500: К использованию не рекомендовать?</a></l
Фальшивый конвертер</a></li>
</ul>
<section id="news">
<h2>Новости по теме</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
<h2>Ссылки на внешние ресурсы</h2>
<ul>

5
activities/os/os.sq.xhtml

@ -153,10 +153,7 @@ krejt zgjidhjeve software të përdorura në sektorin publik.</li>
</div>
<section id="news">
<h2>Lajme të afërta</h2>
<news-feed/>
</section>
<related-feed tag="openstandards"/>
</body>

5
activities/procurement/procurement.da.xhtml

@ -156,10 +156,7 @@ at holde sig til lovens bogstav og ånd hvad angår offentlige indkøb i EU-regi
</div><!--/e-content-->
<section id="news">
<h2>Relaterede nyheder</h2>
<news-feed/>
</section>
<related-feed tag="procurement"/>
</body>
<sidebar promo="our-work">

5
activities/procurement/procurement.en.xhtml

@ -155,10 +155,7 @@ excellent start.
</div><!--/e-content-->
<section id="news">
<h2>Related News</h2>
<news-feed/>
</section>
<related-feed tag="procurement"/>
</body>
<sidebar promo="our-work">

5
activities/procurement/procurement.fr.xhtml

@ -100,10 +100,7 @@
</div><!--/e-content-->
<section id="news">
<h2>Nouvelle liées</h2>
<news-feed/>
</section>
<related-feed tag="procurement"/>
</body>
<sidebar promo="our-work">

5
activities/procurement/procurement.nl.xhtml

@ -123,10 +123,7 @@ In: Shane Coughlan (ed.)(2012): <em>The First OpenForum Academy Conference Proce
</div><!--/e-content-->
<section id="news">
<h2>Verwant nieuws</h2>
<news-feed/>
</section>
<related-feed tag="procurement"/>
</body>
<sidebar promo="our-work">

3
activities/radiodirective/radiodirective.en.xhtml

@ -121,8 +121,7 @@
<li><a href="https://download.fsfe.org/policy/radiodirective/RED_Legal_Study_Jaeger-2019.pdf">Legal Study on the Radio Equipment Directive’s Potential Ramifications for FOSS</a> by Dr. Till Jaeger</li>
</ul>
<h3>Latest News</h3>
<news-list/>
<related-list tag="radiodirective"/>
</sidebar>

3
activities/radiodirective/radiodirective.fr.xhtml

@ -270,8 +270,7 @@ comme le Parlement et le Conseil de l'Europe le permettent (Art. 44) , qui</p>
<!--<li><a href="http://blog.die-linke.de/digitalelinke/niemand-hat-die-absicht-freie-software-zu-verbieten/">Déclaration du parti allemand DIE LINKE</a></li>-->
</ul>
<h3>Dernières actualités</h3>
<news-list/>
<related-list tag="radiodirective"/>
</sidebar>

3
activities/radiodirective/radiodirective.nl.xhtml

@ -242,8 +242,7 @@ dragen door gedwongen te worden om alle alternatieve software te moeten controle
<!--<li><a href="http://blog.die-linke.de/digitalelinke/niemand-hat-die-absicht-freie-software-zu-verbieten/">Statement of German party DIE LINKE</a></li>-->
</ul>
<h3>Laatste nieuws</h3>
<news-list/>
<related-list tag="radiodirective"/>
</sidebar>

3
activities/radiodirective/radiodirective.tr.xhtml

@ -206,8 +206,7 @@
Yönergesi'nin ÖAKK İçin Potansiyel Sonuçları Üzerine Hukuki İnceleme</a></li>
</ul>
<h3>Son Haberler</h3>
<news-list/>
<related-list tag="radiodirective"/>
</sidebar>

5
activities/routers/routers.de.xhtml

@ -104,10 +104,7 @@ werden Kunden zulasten ihrer Sicherheit entmündigt.</p></li>
</div><!--/e-content-->
<section id="news">
<h2>Verwandte Nachrichten</h2>
<news-feed/>
</section>
<related-feed tag="routers"/>
</body>

5
activities/routers/routers.el.xhtml

@ -55,10 +55,7 @@
</div><!--/e-content-->
<section id="news">
<h2>Σχετικά Νέα</h2>
<news-feed/>
</section>
<related-feed tag="routers"/>
</body>

5
activities/routers/routers.en.xhtml

@ -89,10 +89,7 @@
</div><!--/e-content-->
<section id="news">
<h2>Related news</h2>
<news-feed/>
</section>
<related-feed tag="routers"/>
</body>

5
activities/routers/routers.es.xhtml

@ -192,10 +192,7 @@ representantes políticos.</p>
</div><!--/e-content-->
<section id="news">
<h2>Noticias relacionadas</h2>
<news-feed/>
</section>
<related-feed tag="routers"/>
</body>

5
activities/routers/routers.fr.xhtml

@ -116,10 +116,7 @@
</div><!--/e-content-->
<section id="news">
<h2>Actualités liées</h2>
<news-feed/>
</section>
<related-feed tag="routers"/>
</body>

5
activities/routers/routers.it.xhtml

@ -89,10 +89,7 @@
</div><!--/e-content-->
<section id="news">
<h2>Notizie correlate</h2>
<news-feed/>
</section>
<related-feed tag="routers"/>
</body>

5
activities/routers/routers.nl.xhtml

@ -89,10 +89,7 @@
</div><!--/e-content-->
<section id="news">
<h2>Verwant nieuws</h2>
<news-feed/>
</section>
<related-feed tag="routers"/>
</body>

5
activities/routers/routers.pt.xhtml

@ -88,10 +88,7 @@ fabricante do encaminhador. Os clientes ficam, assim, incapacitados para cuidar
</div><!--/e-content-->
<section id="news">
<h2>Notícias relacionadas</h2>
<news-feed/>
</section>
<related-feed tag="routers"/>
</body>

5
activities/routers/routers.tr.xhtml

@ -247,10 +247,7 @@
</div>
<!--/e-content-->
<section id="news">
<h2>İlgili haberler</h2>
<news-feed/>
</section>
<related-feed tag="routers"/>
</body>
<sidebar promo="our-work">

6
build/xslt/events.xsl

@ -140,7 +140,7 @@
<!-- List of events (as elements of an unsorted list) -->
<!-- ==================================================================== -->
<xsl:template match="event-list">
<xsl:template name="event-list">
<!-- Number of events to display -->
<xsl:variable name="count">
@ -174,7 +174,7 @@
<!-- Verbose event feed -->
<!-- ==================================================================== -->
<xsl:template match="event-feed">
<xsl:template name="event-feed">
<!-- Number of events to display -->
<xsl:variable name="count">
@ -212,7 +212,7 @@
<!-- Details -->
<xsl:call-template name="event-info"/>
</xsl:element><!-- div/entry -->
</xsl:element><!-- article -->
</xsl:if>
</xsl:for-each>

6
build/xslt/news.xsl

@ -102,7 +102,7 @@
<!-- List of news items (as elements of an unsorted list) -->
<!-- ==================================================================== -->
<xsl:template match="news-list">
<xsl:template name="news-list">
<!-- Number of news items to display -->
<xsl:variable name="count">
@ -138,7 +138,7 @@
<!-- Verbose news feed -->
<!-- ==================================================================== -->
<xsl:template match="news-feed">
<xsl:template name="news-feed">
<!-- Number of news items to display -->
<xsl:variable name="count">
@ -176,7 +176,7 @@
<!-- Text -->
<xsl:call-template name="news-teaser"/>
</xsl:element><!-- div/entry -->
</xsl:element><!-- article -->
</xsl:if>
</xsl:for-each>

115
build/xslt/related.xsl

@ -0,0 +1,115 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="gettext.xsl"/>
<xsl:import href="news.xsl"/>
<xsl:import href="events.xsl"/>
<!-- ==================================================================== -->
<!-- Short list of related news and events -->
<!-- ==================================================================== -->
<xsl:template match="related-list">
<!-- Related news -->
<xsl:if test="/buildinfo/document/set/news[
translate(@date,'-','') &lt;= translate(/buildinfo/@date,'-','')
]">
<xsl:element name="h3">
<xsl:call-template name="fsfe-gettext">
<xsl:with-param name="id">related-news</xsl:with-param>
</xsl:call-template>
</xsl:element>
<xsl:call-template name="news-list"/>
</xsl:if>
<!-- Related events -->
<xsl:if test="/buildinfo/document/set/event[
translate(@end,'-','') &gt;= translate(/buildinfo/@date,'-','')
]">
<xsl:element name="h3">
<xsl:call-template name="fsfe-gettext">
<xsl:with-param name="id">related-events</xsl:with-param>
</xsl:call-template>
</xsl:element>
<xsl:call-template name="event-list"/>
</xsl:if>
<!-- Link to tag page -->
<xsl:if test="@tag">
<xsl:element name="p">
<xsl:element name="a">
<xsl:attribute name="class">learn-more</xsl:attribute>
<xsl:attribute name="href">
<xsl:text>/tags/tagged-</xsl:text>
<xsl:value-of select="@tag"/>
<xsl:text>.html</xsl:text>
</xsl:attribute>
<xsl:call-template name="fsfe-gettext">
<xsl:with-param name="id">related-all</xsl:with-param>
</xsl:call-template>
</xsl:element><!-- a -->
</xsl:element><!-- p -->
</xsl:if>
</xsl:template>
<!-- ==================================================================== -->
<!-- Verbose feed of related news and events -->
<!-- ==================================================================== -->
<xsl:template match="related-feed">
<!-- Related news -->
<xsl:if test="/buildinfo/document/set/news[
translate(@date,'-','') &lt;= translate(/buildinfo/@date,'-','')
]">
<xsl:element name="section">
<xsl:attribute name="id">related-news</xsl:attribute>
<xsl:element name="h2">
<xsl:call-template name="fsfe-gettext">
<xsl:with-param name="id">related-news</xsl:with-param>
</xsl:call-template>
</xsl:element><!-- h2 -->
<xsl:call-template name="news-feed"/>
</xsl:element><!-- section -->
</xsl:if>
<!-- Related events -->
<xsl:if test="/buildinfo/document/set/event[
translate(@end,'-','') &gt;= translate(/buildinfo/@date,'-','')
]">
<xsl:element name="section">
<xsl:attribute name="id">related-events</xsl:attribute>
<xsl:element name="h2">
<xsl:call-template name="fsfe-gettext">
<xsl:with-param name="id">related-events</xsl:with-param>
</xsl:call-template>
</xsl:element><!-- h2 -->
<xsl:call-template name="event-feed"/>
</xsl:element><!-- section -->
</xsl:if>
<!-- Link to tag page -->
<xsl:if test="@tag">
<xsl:element name="p">
<xsl:element name="a">
<xsl:attribute name="class">learn-more</xsl:attribute>
<xsl:attribute name="href">
<xsl:text>/tags/tagged-</xsl:text>
<xsl:value-of select="@tag"/>
<xsl:text>.html</xsl:text>
</xsl:attribute>
<xsl:call-template name="fsfe-gettext">
<xsl:with-param name="id">related-all</xsl:with-param>
</xsl:call-template>
</xsl:element><!-- a -->
</xsl:element><!-- p -->
</xsl:if>
</xsl:template>
</xsl:stylesheet>

5
campaigns/nledu/nledu.de.xhtml

@ -118,10 +118,7 @@
</ul>
<section id="news">
<h2>Neuigkeiten</h2>
<news-feed/>
</section>
<related-feed tag="nledu"/>
<section id="contact">
<h2>Kontakt</h2>

5
campaigns/nledu/nledu.en.xhtml

@ -185,10 +185,7 @@ problems with using proprietary software.</p>
</ul>
<section id="news">
<h2>News</h2>
<news-feed/>
</section>
<related-feed tag="nledu"/>
<section id="contact">
<h2>Contact</h2>

5
campaigns/nledu/nledu.it.xhtml

@ -103,10 +103,7 @@ education-mandatory/">Firma la petizione internazionale</a></li>
</ul>
<section id="news">
<h2>News</h2>
<news-feed/>
</section>
<related-feed tag="nledu"/>
<section id="contact">
<h2>Contatti</h2>

5
campaigns/nledu/nledu.nl.xhtml

@ -97,10 +97,7 @@ Het gebruik van propriëtaire technologie voor publieke diensten is een bewuste
</ul>
<section id="news">
<h2>Nieuws</h2>
<news-feed/>
</section>
<related-feed tag="nledu"/>
<section id="contact">
<h2>Contact</h2>

3
campaigns/publiccode/publiccode.de.xhtml

@ -73,8 +73,7 @@
<li><a href="https://download.fsfe.org/campaigns/pmpc/pmpc_media_kit.zip">Material für Presse und Medien</a></li>
</ul>
<h3>Neuigkeiten</h3>
<news-list/>
<related-list tag="pmpc"/>
</sidebar>
<translator>Marco Heins</translator>

3
campaigns/publiccode/publiccode.en.xhtml

@ -46,8 +46,7 @@
<li><a href="https://download.fsfe.org/campaigns/pmpc/pmpc_media_kit.zip">Press and media kit</a></li>
</ul>
<h3>Latest News</h3>
<news-list/>
<related-list tag="pmpc"/>
</sidebar>
</html>

3
campaigns/publiccode/publiccode.fr.xhtml

@ -56,8 +56,7 @@ donner encore plus de poids !</p>
<sidebar promo="our-work">
<h3>Les dernières actualités</h3>
<news-list/>
<related-list tag="pmpc"/>
</sidebar>
<translator> Thibault et Cryptie </translator>

3
campaigns/publiccode/publiccode.it.xhtml

@ -46,8 +46,7 @@
<li><a href="https://download.fsfe.org/campaigns/pmpc/pmpc_media_kit.zip">Cartella stampa</a></li>
</ul>
<h3>Ultime notizie</h3>
<news-list/>
<related-list tag="pmpc"/>
</sidebar>
<translator>Sebastiano Pistore</translator>

3
campaigns/publiccode/publiccode.nl.xhtml

@ -46,8 +46,7 @@
<li><a href="https://download.fsfe.org/campaigns/pmpc/pmpc_media_kit.zip">Set voor pers en media</a></li>
</ul>
<h3>Laatste nieuws</h3>
<news-list/>
<related-list tag="pmpc"/>
</sidebar>
<translator>André Ockers</translator>

3
campaigns/publiccode/publiccode.tr.xhtml

@ -86,8 +86,7 @@
</li>
</ul>
<h3>Son Haberler</h3>
<news-list/>
<related-list tag="pmpc"/>
</sidebar>
<translator>The FLOSS Information</translator>
</html>

3
fsfe.xsl

@ -10,8 +10,7 @@
<xsl:include href="build/xslt/fsfe_body.xsl" />
<xsl:include href="build/xslt/gettext.xsl" />
<xsl:include href="build/xslt/static-elements.xsl" />
<xsl:include href="build/xslt/news.xsl" />
<xsl:include href="build/xslt/events.xsl" />
<xsl:include href="build/xslt/related.xsl" />
<!-- HTML 5 compatibility doctype, since our XSLT parser doesn't support disabling output escaping -->
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

2
look/style.less

@ -924,7 +924,7 @@ article.news, article.event {
// In a "related news" section, display all but the first news items in a
// compressed form.
section#news article.news:nth-of-type(n+2) {
section#related-news article.news:nth-of-type(n+2) {
border-bottom: none;
margin-bottom: 0;

7
tools/texts-ar.xml

@ -109,8 +109,13 @@
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-bg.xml

@ -116,8 +116,13 @@
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-bs.xml

@ -117,8 +117,13 @@
<text id="bsig">Kompanije</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-ca.xml

@ -115,8 +115,13 @@
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-cs.xml

@ -114,8 +114,13 @@
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-da.xml

@ -119,8 +119,13 @@
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
<!-- News and event feeds -->
<text id="related-news">Relaterede nyheder</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-de.xml

@ -134,8 +134,13 @@
<text id="bsig">Unternehmen</text>
<!-- News and event feeds -->
<text id="related-news">Nachrichten zum Thema</text>
<text id="related-events">Veranstaltungen zum Thema</text>
<text id="related-all">Alle Nachrichten und Veranstaltungen zum Thema</text>
<!-- Sidebars -->
<text id="related-news">Verwandte Meldungen</text>
<text id="our-work">Unsere Arbeit</text>
<text id="our-work-intro">
<p>Als gemeinnützige Nichtregierungsorganisation arbeiten wir daran, allgemeines Verständnis von und Unterstützung für Freie Software und Offene Standards in Politik, Wirtschaft, Recht und der Gesellschaft als Ganzes zu schaffen.</p>

7
tools/texts-el.xml

@ -121,8 +121,13 @@
<text id="bsig">Επιχειρήσεις</text>
<!-- News and event feeds -->
<text id="related-news">Σχετικά Νέα</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<text id="related-news">Σχετικές ειδήσεις</text>
<text id="our-work">Η εργασία μας</text>
<text id="our-work-intro">
<p>Ως μια μη-κερδοσκοπική, μη-κυβερνητική οργάνωση,

7
tools/texts-en.xml

@ -140,8 +140,13 @@
<text id="bsig">Businesses</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<text id="related-news">Related News</text>
<text id="related-events">Related Events</text>
<text id="related-all">All related news and events</text>
<!-- Sidebars -->
<text id="our-work">Our Work</text>
<text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-eo.xml

@ -113,8 +113,13 @@
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-es.xml

@ -130,8 +130,13 @@
<text id="bsig">Empresas</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<text id="related-news">Noticias relacionadas</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<text id="our-work">Nuestro trabajo</text>
<text id="our-work-intro"><p>Como organización no gubernamental sin ánimo de lucro,
la Fundación del Software Libre de Europa trabaja para crear conciencia general y apoyo al

7
tools/texts-et.xml

@ -116,8 +116,13 @@
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-fi.xml

@ -117,8 +117,13 @@
<text id="bsig">Yritykset</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<text id="related-news">Aiheeseen liittyviä uutisia</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<text id="our-work">Työmme</text>
<text id="our-work-intro">
<p>Free Software Foundation Europe on voittoa tavoittelematon kansalaisjärjestö, joka työskentelee vapaiden ohjelmistojen ja avoimien standardien ymmärryksen lisäämiseksi politiikassa, liike-elämässä, juridisesti ja laajemmin yhteiskunnallisesti.</p>

7
tools/texts-fr.xml

@ -145,8 +145,13 @@ permise sur tout support, pourvu que cette notice soit préservée.
<text id="bsig">Entreprises</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<text id="related-news">Communiqués à ce propos</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<text id="our-work">Notre action</text>
<text id="our-work-intro">
<p>En tant qu'organisme non gouvernemental (ONG) à but non-lucratif, la Free Software Foundation Europe œuvre à la compréhension de l'intérêt des Logiciels Libres et des Standards Ouverts, ainsi qu'à obtenir le soutien de ceux-ci auprès des politiques, des entreprises, dans les lois et dans la société dans son ensemble.

7
tools/texts-hr.xml

@ -114,8 +114,13 @@
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
<!-- Sidebars -->
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
<p>As a non-profit, non-governmental organisation, Free Software Foundation

7
tools/texts-hu.xml

@ -109,8 +109,13 @@
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
<!-- Sidebars -->
<!-- News and event feeds -->
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>