diff --git a/app/templates/regulatory-statements/edit.hbs b/app/templates/regulatory-statements/edit.hbs index e7895f706..606907f98 100644 --- a/app/templates/regulatory-statements/edit.hbs +++ b/app/templates/regulatory-statements/edit.hbs @@ -1,69 +1,68 @@ {{page-title "reglementaire bijlage"}} -
- - <:return-link> - - - {{t 'inbox.regulatoryStatements.return'}} - - - <:actions-after-title> - -

- {{t 'utils.currentVersion'}}: - {{human-friendly-date this.editorDocument.updatedOn}} -

- -
-

{{t 'utils.history'}}

- {{#each this.revisions as |revision|}} - - {{human-friendly-date revision.updatedOn}} - {{#if revision.status.label}} - {{revision.status.label}} - {{/if}} - - {{/each}} - - - {{t 'utils.fullHistory'}} + <:return-link> + + + {{t 'inbox.regulatoryStatements.return'}} + + + <:actions-after-title> + +

+ {{t 'utils.currentVersion'}}: + {{human-friendly-date this.editorDocument.updatedOn}} +

+ +
+

{{t 'utils.history'}}

+ {{#each this.revisions as |revision|}} + + {{human-friendly-date revision.updatedOn}} + {{#if revision.status.label}} + {{revision.status.label}} + {{/if}} -
-
- - <:actions> - - - - {{t "utils.htmlExport"}} - - - - {{t "utils.save"}} + {{/each}} + + + {{t 'utils.fullHistory'}} + +
+
+ + <:actions> + + + + {{t "utils.htmlExport"}} - -
+ + + {{t "utils.save"}} + + + - - - - -
+ + + + {{outlet}} \ No newline at end of file diff --git a/app/templates/regulatory-statements/revisions.hbs b/app/templates/regulatory-statements/revisions.hbs index fd1cd0fc1..b81d22ee2 100644 --- a/app/templates/regulatory-statements/revisions.hbs +++ b/app/templates/regulatory-statements/revisions.hbs @@ -1,81 +1,80 @@ -
+ <:return-link> + + + {{t 'inbox.regulatoryStatements.revisionsReturn'}} + + + <:actions-after-title> + + + {{t 'utils.currentVersion'}}: + {{human-friendly-date this.model.currentVersion.updatedOn}} + + +
+

{{t 'utils.history'}}:

+ {{#each this.revisions as |revision|}} + + {{human-friendly-date revision.updatedOn}} + {{#if revision.status.label}} + {{revision.status.label}} + {{/if}} + + {{/each}} + + + {{t 'utils.fullHistory'}} + +
+
+ + <:actions> + + + + {{t "utils.htmlExport"}} + + + {{#if this.currentSession.canWrite}} + + {{t "utils.restore"}} + + {{/if}} + + + +
- - <:return-link> - - - {{t 'inbox.regulatoryStatements.revisionsReturn'}} - - - <:actions-after-title> - - - {{t 'utils.currentVersion'}}: - {{human-friendly-date this.model.currentVersion.updatedOn}} - - -
-

{{t 'utils.history'}}:

- {{#each this.revisions as |revision|}} - - {{human-friendly-date revision.updatedOn}} - {{#if revision.status.label}} - {{revision.status.label}} +
+
+
+ {{#unless this.readOnly}} +
+ + {{#if this.model.editorDocument.status}} +

{{t "inbox.regulatoryStatements.readOnlyBanner.oldPublishedMessage"}}

+ {{else}} +

{{t "inbox.regulatoryStatements.readOnlyBanner.message"}}

{{/if}} - - {{/each}} - - - {{t 'utils.fullHistory'}} - -
- - - <:actions> - - - - {{t "utils.htmlExport"}} - - - {{#if this.currentSession.canWrite}} - - {{t "utils.restore"}} - - {{/if}} - - - -
-
-
-
- {{#unless this.readOnly}} -
- - {{#if this.model.editorDocument.status}} -

{{t "inbox.regulatoryStatements.readOnlyBanner.oldPublishedMessage"}}

- {{else}} -

{{t "inbox.regulatoryStatements.readOnlyBanner.message"}}

- {{/if}} -
-
- {{/unless}} -
-
-
- {{ this.model.editorDocument.htmlSafeContent }} -
+ +
+ {{/unless}} +
+
+
+ {{ this.model.editorDocument.htmlSafeContent }}
diff --git a/app/templates/regulatory-statements/show.hbs b/app/templates/regulatory-statements/show.hbs index e52448a9e..690716ff7 100644 --- a/app/templates/regulatory-statements/show.hbs +++ b/app/templates/regulatory-statements/show.hbs @@ -1,82 +1,81 @@ -
- - <:return-link> - - - {{t 'inbox.regulatoryStatements.return'}} - - - <:actions-after-title> - -

- {{t 'utils.currentVersion'}}: - {{human-friendly-date this.model.editorDocument.updatedOn}} -

- -
-

{{t 'utils.history'}}:

- {{#each this.revisions as |revision|}} - - {{human-friendly-date revision.updatedOn}} - {{#if revision.status.label}} - {{revision.status.label}} - {{/if}} - - {{/each}} - - - {{t 'utils.fullHistory'}} + <:return-link> + + + {{t 'inbox.regulatoryStatements.return'}} + + + <:actions-after-title> + +

+ {{t 'utils.currentVersion'}}: + {{human-friendly-date this.model.editorDocument.updatedOn}} +

+ +
+

{{t 'utils.history'}}:

+ {{#each this.revisions as |revision|}} + + {{human-friendly-date revision.updatedOn}} + {{#if revision.status.label}} + {{revision.status.label}} + {{/if}} -
-
- - <:actions> - - - - {{t "utils.htmlExport"}} - + {{/each}} + + + {{t 'utils.fullHistory'}} + +
- {{#if this.currentSession.canWrite}} - - {{t "utils.createNewVersion"}} - - {{/if}} - -
+ + <:actions> + + + + {{t "utils.htmlExport"}} + + + {{#if this.currentSession.canWrite}} + + {{t "utils.createNewVersion"}} + + {{/if}} + + -
-
-
-
- {{#unless this.readOnly}} -
- -

{{t "inbox.regulatoryStatements.readOnlyBanner.publishedMessage"}}

-
-
- {{/unless}} -
-
-
- {{ this.model.editorDocument.htmlSafeContent }} -
+
+
+
+
+ {{#unless this.readOnly}} +
+ +

{{t "inbox.regulatoryStatements.readOnlyBanner.publishedMessage"}}

+
+
+ {{/unless}} +
+
+
+ {{ this.model.editorDocument.htmlSafeContent }}
+
- {{outlet}} -
+{{outlet}}