🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

hmpps-court-cases-release-dates-design

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hmpps-court-cases-release-dates-design

A shared frontend library for HMPPS Court cases and release dates product set services

latest
npmnpm
Version
4.4.0
Version published
Weekly downloads
1.7K
5570%
Maintainers
1
Weekly downloads
 
Created
Source

HMPPS Court cases and release dates frontend

Add to prototype

Install the package:

npm install hmpps-court-cases-release-dates-design

Add the macro to your template.html file:

nunjucks{% from "hmpps/components/mini-profile/macro.njk" import miniProfile %}

Use the macro:

{% set person = {
    firstName: 'Neil',
    lastName: 'Rudge',
    prisonerNumber: 'A1234BC',
    dateOfBirth: '1932-02-02',
    status: 'On remand',
    prisonName: 'HMP Kirkham',
    cellLocation: 'A-1-1'
} %}

{{ miniProfile(person, '/plugin-assets/hmpps-court-cases-release-dates-design/hmpps/assets/images/prisoner-profile-image.png', '#') }}

FAQs

Package last updated on 13 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts