Skip to content

Commit

Permalink
Merge pull request #3059 from AtlasOfLivingAustralia/feature/issue2891
Browse files Browse the repository at this point in the history
Added 2 new document types #2891
  • Loading branch information
salomon-j authored Dec 14, 2023
2 parents 2de112a + f3f1ea5 commit 4d3916c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion grails-app/assets/javascripts/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ var DOCUMENT_EMBEDDED_VIDEO = 'embeddedVideo';
var DOCUMENT_PROJECT_LOGIC = 'projectLogic';
var DOCUMENT_CONTRACT_ASSURANCE = 'contractAssurance';
var DOCUMENT_AUDITABLE_OUTPUTS = 'auditableOutputs';
var DOCUMENT_SUPPORT_AND_OVERHEADS = 'projectSupportAndOverheadsEvidence';
var DOCUMENT_PROJECT_SERVICE_EVIDENCE = 'projectServiceEvidence'

var documentRoles =
[
{id: DOCUMENT_INFORMATION, name: 'Information', isPublicRole:true},
{id: DOCUMENT_EMBEDDED_VIDEO, name:'Embedded Video', isPublicRole:true},
{id: DOCUMENT_PROJECT_LOGIC, name: 'Project Logic', isPublicRole:false},
{id: DOCUMENT_CONTRACT_ASSURANCE, name:'Contract Assurance', isPublicRole:false},
{id: DOCUMENT_AUDITABLE_OUTPUTS, name:'Auditable Outputs', isPublicRole:false}
{id: DOCUMENT_AUDITABLE_OUTPUTS, name:'Auditable Outputs', isPublicRole:false},
{id: DOCUMENT_SUPPORT_AND_OVERHEADS, name:'Project Support & Overheads Evidence', isPublicRole:false},
{id: DOCUMENT_PROJECT_SERVICE_EVIDENCE, name:'Project Service Evidence', isPublicRole:false}
];
/**
* A view model to capture metadata about a document and manage progress / feedback as a file is uploaded.
Expand Down

0 comments on commit 4d3916c

Please sign in to comment.