[Operator] Kelengkapan menu Browse Kurikulum
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
$definition['params'] dibuat sumber laporan; $config dipakai komponen (url, nilai awal, pilihan per halaman).
|
||||
--}}
|
||||
@php
|
||||
$note = $definition['note'] ?? null;
|
||||
// '' (bukan null) = tanpa catatan; null membuat bingkai memakai catatan prototipe bawaannya
|
||||
$note = $definition['note'] ?? '';
|
||||
@endphp
|
||||
|
||||
<x-satu.frame :page="$page" :crumbs="$crumbs" :note="$note">
|
||||
|
||||
@@ -299,7 +299,8 @@
|
||||
<template x-for="(group, gi) in (viewing && Array.isArray({{ $d }}) ? {{ $d }} : [])" x-bind:key="gi">
|
||||
<section class="satu-detail__group">
|
||||
<p class="satu-detail__group-title"><span x-text="group.judul"></span> <span class="satu-detail__group-count" x-text="group.jumlah"></span></p>
|
||||
<div class="table-wrap satu-detail__table">
|
||||
{{-- 'nameFirst' => true: kolom pertama berisi nama panjang (bukan kode), dibuat lebih lebar --}}
|
||||
<div @class(['table-wrap', 'satu-detail__table', 'satu-detail__table--name' => $column['nameFirst'] ?? false])>
|
||||
<table class="table table--compact">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -330,7 +331,7 @@
|
||||
<div class="satu-detail__wide">
|
||||
<dt>{{ $column['label'] }} <span x-text="viewing && Array.isArray(viewing.{{ $column['detail'] }}) && viewing.{{ $column['detail'] }}.length ? '(' + viewing.{{ $column['detail'] }}.length + ')' : ''"></span></dt>
|
||||
<dd>
|
||||
<div class="table-wrap satu-detail__table" x-show="viewing && Array.isArray(viewing.{{ $column['detail'] }}) && viewing.{{ $column['detail'] }}.length">
|
||||
<div @class(['table-wrap', 'satu-detail__table', 'satu-detail__table--name' => $column['nameFirst'] ?? false]) x-show="viewing && Array.isArray(viewing.{{ $column['detail'] }}) && viewing.{{ $column['detail'] }}.length">
|
||||
<table class="table table--compact">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user