Homepage.registerBrick({
    name:"fi_oulu_PlateInspections",
    title:"Latest plate inspections",
    description:"The most recent plate inspections",
    version:1,
    height:1,
    width:1,
    url:"/api/imagingsession",
    sortBy:"imageddatetime",
    sortDescending:true,
    cellTemplates:[
        [ImagingSession.getLink,'platename'],
        [ui.fieldToFriendlyDate,'imageddatetime'],
        '<a href="/imager/{{imagerid}}">{{imagerfriendlyname}}</a>',
        [Project.getLink,'name']
    ]
});