# Bulletin header and footer ## Choose a document region Open the header or footer tab in template settings. The editor routes are `/bulletin-templates/header/:id` and `/bulletin-templates/footer/:id`, using `new` for a new record. The header precedes the grade table and the footer follows it. Each part has its own translated name, optional translated description, individual flag and layout. When starting from a blueprint, choose it before filling the layout: its layout loads into the current record. [Modes and shared texts](/en/docs/bulletin-template-settings) ## Arrange rows, columns and blocks Add a row and divide it into columns. Each row requires at least one column. Column width ranges from 1 to 60 grid units and a column can span 1–6 rows. Arrange blocks and set alignment, size, weight and color. The region can have a background color, image and image sizing mode. In the language settings, set the output order and a separator (space, slash, dash or new line). | Block | What to configure | | --- | --- | | Text | Choose a shared label or enter translations local to this block. | | Image | Select a logo or artwork from the media library, or upload an image up to 5 MiB. The library also serves the academic card builder and supports names and tags. | | Divider and group | Use a divider between sections. A group contains related elements. Review its nested blocks and their occupied space. | | Variable | Choose an entry available for this document region. For example, `institution.name`, `subject.name` and `education.academic_year` take values from the bulletin context. For signature or employee variables, fill in the available source and name format. Date sources can include a fixed value, exam schedule or current date where offered. | | Level summary | Choose levels and display them inline, as a list, table or bars. Adjust ordering by level or count and whether to display counts. Values depend on actual bulletin results. | ## Example header and footer For an “Examination bulletin” header, put the logo on the left and institution name and academic year on the right. On the next row place a shared “Subject” label beside the subject-name variable. For the footer, create a separate template with a “Lecturer” label and a signature variable available to footers. In preview, check the EN/RU/HY order, long subject names, cell boundaries and background. Save the working parts, check approval and select them in the sheet. For an empty field in an issued bulletin, check the underlying record and selected variable source. [Assemble a sheet](/en/docs/bulletin-templates) ## Permissions Headers and footers use separate resources, `bulletin-header-templates` and `bulletin-footer-templates`. Opening requires `.show`, creating requires `.store`, and editing and submission require `.update`. Variables use `bulletin-variables.index` and employee selection uses `bulletin-variables.employees`. Images use `bulletin-template-media.index`, `.tags`, `.store`, `.update` and `.destroy` according to the action. Saving a document and managing the media library are separate permissions. The template routes declare no organizational scope. Approval status may limit further editing. ## Implementation references - [frontend-edusystems · editors/HeaderFooterEditor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/BulletinTemplates/editors/HeaderFooterEditor.tsx) - [frontend-edusystems · editors/types.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/BulletinTemplates/editors/types.ts) - [frontend-edusystems · editors/TemplateLanguageSettings.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/BulletinTemplates/editors/TemplateLanguageSettings.tsx) - [frontend-edusystems · editors/MediaLibraryModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/BulletinTemplates/editors/MediaLibraryModal.tsx) - [frontend-edusystems · editors/LayoutPreview.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/BulletinTemplates/editors/LayoutPreview.tsx) - [backend-edusystems · routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/BulletinTemplates/routes/api.php) - [backend-edusystems · Services/HeaderFooterLayoutValidator.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/BulletinTemplates/Http/Services/HeaderFooterLayoutValidator.php) - [backend-edusystems · Enums/BulletinVariableType.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/BulletinTemplates/Enums/BulletinVariableType.php) - [backend-edusystems · Controllers/BulletinTemplateImageController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/BulletinTemplates/Http/Controllers/BulletinTemplateImageController.php)