13 lines
272 B
HTML
13 lines
272 B
HTML
@use super::base_html;
|
|
@use super::components::home_fragment_html;
|
|
@use cm_lib::models::Shift;
|
|
|
|
@(open_shift: Option<Shift>, include_base: bool)
|
|
|
|
@if include_base {
|
|
@:base_html({
|
|
@:home_fragment_html(open_shift)
|
|
})
|
|
} else {
|
|
@:home_fragment_html(open_shift)
|
|
}
|