Commit b1f8c8f9 authored by Phu Nguyen's avatar Phu Nguyen

Fix content of release logs and remove redundant code

parent 43111ede
......@@ -70,18 +70,7 @@ main {
<main class="releaseAnnouncment container">
<p><a href="/announcements/plasma-5.20.0">Plasma 5.20.0</a> Complete Changelog</p>
<script type='text/javascript'>
function toggle(toggleUlId, toggleAElem) {
var e = document.getElementById(toggleUlId)
if (e.style.display == 'none') {
e.style.display='block'
toggleAElem.innerHTML = '[Hide]'
} else {
e.style.display='none'
toggleAElem.innerHTML = '[Show]'
}
}
</script>
<h3><a name='bluedevil' href='https://commits.kde.org/bluedevil'>Bluedevil</a> </h3>
<ul id='ulbluedevil' style='display: block'>
<li>[applet] Open new KCM from the configure action. <a href='https://commits.kde.org/bluedevil/5fd6df9fcf5f26ed4d62ccfea01ba034d275bd6e'>Commit.</a> </li>
......@@ -1953,4 +1942,4 @@ toggleAElem.innerHTML = '[Show]'
</main>
<?php
require('../aether/footer.php');
\ No newline at end of file
require('../aether/footer.php');
---
title: KDE Release 19.12.0 Full Log Page
title: Release Service 19.12.0 Full Log Page
type: fulllog
version: 19.12.0
release: true
releaseDate: 2019-12
hidden: true
---
......
---
title: KDE Applications 19.12.1 Full Log Page
release: true
releaseDate: 2020-01
title: Release Service 19.12.1 Full Log Page
type: fulllog
version: 19.12.1
hidden: true
......
---
title: KDE Applications 19.12.2 Full Log Page
release: true
releaseDate: 2020-02
title: Release Service 19.12.2 Full Log Page
type: fulllog
version: 19.12.2
hidden: true
......
---
title: KDE Applications 19.12.3 Full Log Page
release: true
releaseDate: 2020-03
title: Release Service 19.12.3 Full Log Page
type: fulllog
version: 19.12.3
hidden: true
......
---
title: KDE Release 20.04.0 Full Log Page
release: true
releaseDate: 2020-04
title: Release Service 20.04.0 Full Log Page
type: fulllog
version: 20.04.0
hidden: true
......
---
title: KDE Release 20.04.1 Full Log Page
release: true
releaseDate: 2020-05
title: Release Service 20.04.1 Full Log Page
type: fulllog
version: 20.04.1
hidden: true
......
---
title: KDE Release 20.04.2 Full Log Page
release: true
releaseDate: 2020-06
title: Release Service 20.04.2 Full Log Page
type: fulllog
version: 20.04.2
hidden: true
......
---
title: KDE Release 20.04.3 Full Log Page
release: true
releaseDate: 2020-07
title: Release Service 20.04.3 Full Log Page
type: fulllog
version: 20.04.3
hidden: true
......
---
title: KDE Applications 20.08.0 Full Log Page
release: true
releaseDate: 2020-08
title: Release Service 20.08.0 Full Log Page
type: fulllog
version: 20.08.0
hidden: true
......
---
title: KDE Applications 20.08.1 Full Log Page
release: true
releaseDate: 2020-09
title: Release Service 20.08.1 Full Log Page
type: fulllog
version: 20.08.1
hidden: true
......
---
title: KDE Applications 20.08.2 Full Log Page
release: true
releaseDate: 2020-10
title: Release Service 20.08.2 Full Log Page
type: fulllog
version: 20.08.2
hidden: true
......
---
release: true
releaseDate: 2020-11
title: Release Service 20.08.3 Full Log Page
type: fulllog
version: 20.08.3
......
---
release: true
title: Release Service 20.11.90 Full Log Page
type: fulllog
version: 20.11.90
......
......@@ -5,45 +5,38 @@
var e = document.getElementById(toggleUlId);
if (e.style.display == "none") {
e.style.display = "block";
{{if .Params.plasma}}
toggleAElem.innerHTML = "[Show]";
{{else}}
toggleAElem.innerHTML = "[Hide]";
{{end}}
} else {
e.style.display = "none";
{{if .Params.plasma}}
toggleAElem.innerHTML = "[Hide]";
{{else}}
toggleAElem.innerHTML = "[Show]";
{{end}}
}
}
</script>
{{if .Params.plasma}}
{{ if .Params.plasma }}
<h3>
<a href="/announcements/plasma-{{.Params.version}}">Plasma {{.Params.version}}</a>
Complete Changelog
<a href="/announcements/plasma-{{.Params.version}}">Plasma {{.Params.version}}</a> Complete Changelog
</h3>
{{ else if .Params.release }}
<h3>Release service {{.Params.version}} Full Log Page</h3>
<h3>Release Service {{.Params.version}} Full Log Page</h3>
<p>
This is the automated full changelog for
<a href="../releases/releases/{{ .Params.releaseDate }}-apps-update"
>releae service {{.Params.version}}</a
>
{{ if .Param.releaseDate }}
<a href="../releases/{{.Params.releaseDate}}-apps-update">Release Service {{.Params.version}}</a>
{{ else }}
Release Service {{.Params.version}}
{{ end }}
from the git repositories.
</p>
{{else}}
<h3>{{.Params.version}} Releases Full Log Page</h3>
{{ else }}
<h3>KDE Applications {{.Params.version}} Full Log Page</h3>
<p>
This is the automated full changelog for
<a href="../releases/{{.Params.version}}-apps-update"
>{{.Params.version}} Releases</a
>
<a href="../announce-applications-{{.Params.version}}">KDE Applications {{.Params.version}}</a>
from the git repositories.
</p>
{{end}}
{{.Content}}
{{ end }}
{{ .Content }}
</main>
{{ end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment