From 96f88b54d55e58a65c592679777a1db825b07cd8 Mon Sep 17 00:00:00 2001 From: Sean Engelhardt Date: Tue, 10 Sep 2019 11:18:55 +0200 Subject: [PATCH] Add the title too the amendments page Adds an observable view model of the parent motion to the amendment list page to show the title --- .../amendment-list.component.html | 26 +++++++++++---- .../amendment-list.component.scss | 4 +++ .../amendment-list.component.ts | 32 +++++++++++++------ client/src/styles.scss | 1 + 4 files changed, 46 insertions(+), 17 deletions(-) diff --git a/client/src/app/site/motions/modules/amendment-list/amendment-list.component.html b/client/src/app/site/motions/modules/amendment-list/amendment-list.component.html index 783cb2b5a..f2d2bbba7 100644 --- a/client/src/app/site/motions/modules/amendment-list/amendment-list.component.html +++ b/client/src/app/site/motions/modules/amendment-list/amendment-list.component.html @@ -1,6 +1,14 @@ -

Amendments

+

Amendments

+ + +
+

+ {{ 'Amendments to' | translate }} + {{ (parentMotion | async)?.identifierOrTitle }} +

+