diff --git a/groups/RODA/index.html b/groups/RODA/index.html index 96aa64b..377afc9 100644 --- a/groups/RODA/index.html +++ b/groups/RODA/index.html @@ -430,14 +430,142 @@
- -
-
- BERANDA / RISET & KBK + + - +
@@ -791,6 +919,8 @@
+

This page was last updated on:

+
Menghitung data... @@ -838,7 +968,7 @@

Laboratorium Pendukung Riset

-

5 laboratorium modern dengan 93 unit PC All-in-One +

5 laboratorium modern dengan 93 unit PC All-in-One yang mendukung kegiatan riset strategis dan pengembangan teknologi dosen serta mahasiswa.

@@ -1250,7 +1380,10 @@ ctaBtn: 'Hubungi Kami', viewAll: 'Lihat Semua', facultyDirectory: 'Direktori Dosen', - expertise: 'Keahlian' + expertise: 'Keahlian', + lastUpdatedText: 'Halaman ini terakhir diperbarui pada: ', + showingPubs: 'Menampilkan {0} dari {1} publikasi', + labDesc: '5 laboratorium modern dengan 93 unit PC All-in-One yang mendukung kegiatan riset strategis dan pengembangan teknologi dosen serta mahasiswa.' }, en: { info: 'LATEST INFO', @@ -1306,7 +1439,10 @@ ctaBtn: 'Contact Us', viewAll: 'View All', facultyDirectory: 'Faculty Directory', - expertise: 'Expertise' + expertise: 'Expertise', + lastUpdatedText: 'This page was last updated on: ', + showingPubs: 'Showing {0} of {1} publications', + labDesc: '5 modern laboratories with 93 All-in-One PCs supporting strategic research and technological development for faculty and students.' } }; @@ -1568,7 +1704,8 @@ // Update info jumlah data yang ditampilkan const countInfo = document.getElementById('riset-count-info'); if (countInfo) { - countInfo.innerText = `Menampilkan ${itemsToShow.length} dari ${filteredItems.length} publikasi`; + const template = translations[currentLang].showingPubs || `Menampilkan {0} dari {1} publikasi`; + countInfo.innerText = template.replace('{0}', itemsToShow.length).replace('{1}', filteredItems.length); } // Tampilkan/Sembunyikan tombol "Lihat Semua" berdasarkan sisa data @@ -1627,7 +1764,7 @@ const rank = currentLang === 'id' ? leader.badge_id : leader.badge_en; return ` - +
@@ -1792,6 +1929,11 @@ renderKbkInsight(); renderRisetCards(); renderDosenCards(); + + const lastUpdatedEl = document.getElementById("last-updated"); + if (lastUpdatedEl) { + lastUpdatedEl.innerHTML = new Date(document.lastModified).toLocaleString(lang === 'id' ? 'id-ID' : 'en-US'); + } }; window.addEventListener('error', (event) => { diff --git a/package-lock.json b/package-lock.json index 43e70d0..a16578c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -917,6 +917,7 @@ "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" },