diff --git a/groups/RODA/index.html b/groups/RODA/index.html index 276d378..ba679c8 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.' } }; @@ -1526,7 +1662,7 @@ : 'ID | EN'; } - const mobileButton = document.getElementById('mobile-lang-toggle-btn'); + const mobileButton = document.getElementById('lang-toggle-mobile'); if (mobileButton) { mobileButton.textContent = currentLang === 'id' ? 'Bahasa: ID' : 'Language: EN'; } @@ -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) => { @@ -1993,4 +2135,4 @@ - \ No newline at end of file +