Semua tooltips di admin sudah dihilangkan
This commit is contained in:
@@ -71,7 +71,7 @@ function EditDaftarInformasiPublik() {
|
||||
tanggal: formData.tanggal.trim(),
|
||||
};
|
||||
await daftarInformasi.edit.update();
|
||||
router.push('/admin/ppid/daftar-informasi-publik-desa-darmasaba');
|
||||
router.push('/admin/ppid/daftar-informasi-publik');
|
||||
} catch (error) {
|
||||
console.error('Error updating berita:', error);
|
||||
toast.error('Terjadi kesalahan saat memperbarui berita');
|
||||
@@ -25,7 +25,7 @@ function DetailDaftarInformasiPublik() {
|
||||
stateDaftarInformasi.delete.byId(selectedId)
|
||||
setModalHapus(false)
|
||||
setSelectedId(null)
|
||||
router.push("/admin/ppid/daftar-informasi-publik-desa-darmasaba")
|
||||
router.push("/admin/ppid/daftar-informasi-publik")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ function DetailDaftarInformasiPublik() {
|
||||
variant="light"
|
||||
color="green"
|
||||
leftSection={<IconEdit size={18} />}
|
||||
onClick={() => router.push(`/admin/ppid/daftar-informasi-publik-desa-darmasaba/${data.id}/edit`)}
|
||||
onClick={() => router.push(`/admin/ppid/daftar-informasi-publik/${data.id}/edit`)}
|
||||
disabled={!data}
|
||||
>
|
||||
Edit
|
||||
@@ -33,7 +33,7 @@ export default function CreateDaftarInformasi() {
|
||||
try {
|
||||
await daftarInformasi.create.create();
|
||||
resetForm();
|
||||
router.push("/admin/ppid/daftar-informasi-publik-desa-darmasaba");
|
||||
router.push("/admin/ppid/daftar-informasi-publik");
|
||||
} catch (error) {
|
||||
console.error('Error creating informasi publik:', error);
|
||||
alert('Terjadi kesalahan saat menyimpan data');
|
||||
@@ -14,7 +14,7 @@ function DaftarInformasiPublik() {
|
||||
return (
|
||||
<Box>
|
||||
<HeaderSearch
|
||||
title='Daftar Informasi Publik Desa Darmasaba'
|
||||
title='Daftar Informasi Publik'
|
||||
placeholder='Cari jenis informasi atau deskripsi...'
|
||||
searchIcon={<IconSearch size={20} />}
|
||||
value={search}
|
||||
@@ -51,12 +51,12 @@ function ListDaftarInformasi({ search }: { search: string }) {
|
||||
<Box py="md">
|
||||
<Paper withBorder bg={colors['white-1']} p="lg" shadow="md" radius="md">
|
||||
<Group justify="space-between" mb="md">
|
||||
<Title order={4}>Daftar Informasi Publik</Title>
|
||||
<Title order={4}>List Daftar Informasi Publik</Title>
|
||||
<Button
|
||||
leftSection={<IconPlus size={18} />}
|
||||
color="blue"
|
||||
variant="light"
|
||||
onClick={() => router.push('/admin/ppid/daftar-informasi-publik-desa-darmasaba/create')}
|
||||
onClick={() => router.push('/admin/ppid/daftar-informasi-publik/create')}
|
||||
>
|
||||
{isMobile ? 'Tambah' : 'Tambah Baru'}
|
||||
</Button>
|
||||
@@ -109,7 +109,7 @@ function ListDaftarInformasi({ search }: { search: string }) {
|
||||
variant="light"
|
||||
color="blue"
|
||||
leftSection={<IconDeviceImacCog size={16} />}
|
||||
onClick={() => router.push(`/admin/ppid/daftar-informasi-publik-desa-darmasaba/${item.id}`)}
|
||||
onClick={() => router.push(`/admin/ppid/daftar-informasi-publik/${item.id}`)}
|
||||
>
|
||||
Detail
|
||||
</Button>
|
||||
@@ -11,17 +11,17 @@ function LayoutTabsIKM({ children }: { children: React.ReactNode }) {
|
||||
const pathname = usePathname()
|
||||
const tabs = [
|
||||
{
|
||||
label: "Indeks Kepuasan Masyarakat",
|
||||
description: "Lihat dan kelola indeks kepuasan masyarakat",
|
||||
value: "indekskepuasannamasyarakat",
|
||||
href: "/admin/ppid/ikm-desa-darmasaba/indeks-kepuasan-masyarakat",
|
||||
label: "Grafik Kepuasan Masyarakat",
|
||||
description: "Lihat dan kelola Grafik Kepuasan Masyarakat",
|
||||
value: "grafikkepuasannamasyarakat",
|
||||
href: "/admin/ppid/indeks-kepuasan-masyarakat/grafik-kepuasan-masyarakat",
|
||||
icon: <IconChartBar size={18} stroke={1.8} />
|
||||
},
|
||||
{
|
||||
label: "Responden",
|
||||
description: "Kelola dan tinjau data responden",
|
||||
value: "responden",
|
||||
href: "/admin/ppid/ikm-desa-darmasaba/responden",
|
||||
href: "/admin/ppid/indeks-kepuasan-masyarakat/responden",
|
||||
icon: <IconUsers size={18} stroke={1.8} />
|
||||
},
|
||||
];
|
||||
@@ -46,7 +46,7 @@ function LayoutTabsIKM({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<Stack gap="lg">
|
||||
<Title order={2} style={{ fontWeight: 700, color: "#1a1a1a" }}>
|
||||
IKM Desa Darmasaba
|
||||
Indeks Kepuasan Masyarakat
|
||||
</Title>
|
||||
<Tabs
|
||||
color={colors["blue-button"]}
|
||||
@@ -65,7 +65,7 @@ function VisiMisiPPIDList() {
|
||||
<Text ta="center" fz={{ base: '1.2rem', md: '1.8rem' }} fw="bold" c={colors['blue-button']}>
|
||||
MOTO PPID DESA DARMASABA
|
||||
</Text>
|
||||
<Text ta="center" fz={{ base: '1rem', md: '1.2rem' }} c="dimmed" mt="sm">
|
||||
<Text ta="center" fz={{ base: '1rem', md: '1.2rem' }} mt="sm">
|
||||
MEMBERIKAN INFORMASI YANG CEPAT, MUDAH, TEPAT DAN TRANSPARAN
|
||||
</Text>
|
||||
</GridCol>
|
||||
|
||||
Reference in New Issue
Block a user