Files
BD-Core-FHIR-IG/input/pagecontent/history.xml
Dr. B. M. Riazul Islam f2201f4da8
All checks were successful
FHIR IG CI/CD Pipeline with Version Persistence / build-ig (push) Successful in 6m36s
FHIR IG CI/CD Pipeline with Version Persistence / deploy (push) Successful in 9s
updated history template
2026-03-07 03:09:35 +06:00

68 lines
2.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<div xmlns="http://www.w3.org/1999/xhtml">
<p><b>Version History</b></p>
<p>This page provides the version history for the Bangladesh Core FHIR Implementation Guide.</p>
<p>For a machine-readable version history, see <a href="package-list.json">package-list.json</a>.</p>
<div id="version-history-loading">
<p><i>Loading version history...</i></p>
</div>
<div id="version-history-content" style="display:none;">
<p><b>Published Versions</b></p>
<table class="grid" id="versions-table">
<thead>
<tr>
<th>Version</th>
<th>Date</th>
<th>Status</th>
<th>Description</th>
</tr>
</thead>
<tbody id="versions-tbody">
</tbody>
</table>
<p><b>Continuous Integration Build</b></p>
<div id="ci-build-info"></div>
</div>
<div id="version-history-error" style="display:none;">
<p><i>Version history not available.</i></p>
</div>
<script>
fetch('package-list.json')
.then(response => response.json())
.then(data => {
const tbody = document.getElementById('versions-tbody');
const ciDiv = document.getElementById('ci-build-info');
// Add published versions
data.list.forEach(entry => {
if (entry.version !== 'current') {
const row = tbody.insertRow();
row.insertCell(0).innerHTML = '<a href="' + entry.path + '">' + entry.version + '</a>';
row.insertCell(1).textContent = entry.date || 'N/A';
row.insertCell(2).textContent = entry.status || 'unknown';
row.insertCell(3).textContent = entry.desc || '';
} else {
// CI build info
ciDiv.innerHTML = '<p>The latest development build is available at: <a href="' + entry.path + '">' + entry.path + '</a></p>' +
'<p><i>Note: This is a continuous integration build and may be unstable.</i></p>';
}
});
// Show content, hide loading
document.getElementById('version-history-loading').style.display = 'none';
document.getElementById('version-history-content').style.display = 'block';
})
.catch(error => {
console.error('Error loading version history:', error);
document.getElementById('version-history-loading').style.display = 'none';
document.getElementById('version-history-error').style.display = 'block';
});
</script>
</div>