Skip to content

Commit

Permalink
Revise commit 65616ed: use "last_modified" instead of "last_changed",
Browse files Browse the repository at this point in the history
for alignment with OSCAL vocabulary.
  • Loading branch information
jenglish committed Sep 13, 2020
1 parent 0a9ca63 commit 87c43a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/opencontrol/schemas.js
Expand Up @@ -194,7 +194,7 @@ exports.page = { // markdown frontmatter metadata - advisory
author: { type: 'string' },
date: { type: 'string', format: 'date' },
version: { type: 'string', format: 'semver' },
last_changed: { type: 'string', format: 'date' },
last_modified: { type: 'string', format: 'date' },

// Component properties:
component: { type: 'string' }, // => component.name
Expand Down
4 changes: 2 additions & 2 deletions views/pgbody/page.pug
Expand Up @@ -2,8 +2,8 @@
+identification-item('Date', page.data.date)
+identification-item('Version', page.data.version)
+identification-item('Author', page.data.author)
if page.data.last_changed
+identification-item('Last changed', page.data.last_changed)
if page.data.last_modified
+identification-item('Last modified', page.data.last_modified)
if page.data.satisfies
+identification-heading('References')
+control-references(page.data.satisfies)
Expand Down

0 comments on commit 87c43a9

Please sign in to comment.