From 2761959f93c6bf8bd4fa1bfbb4a2683bf31a6339 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Tue, 18 Apr 2017 17:16:00 +0100 Subject: [PATCH] feat(templates): add support for the note field (#805) --- app/components/templates/templates.html | 4 ++-- app/models/template.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/components/templates/templates.html b/app/components/templates/templates.html index 3c15a0a50..cc33b4cc2 100644 --- a/app/components/templates/templates.html +++ b/app/components/templates/templates.html @@ -15,9 +15,9 @@
-
+
- {{ state.selectedTemplate.Description }} +
diff --git a/app/models/template.js b/app/models/template.js index 3456e8c9d..6f20027f0 100644 --- a/app/models/template.js +++ b/app/models/template.js @@ -1,6 +1,7 @@ function TemplateViewModel(data) { this.Title = data.title; this.Description = data.description; + this.Note = data.note ? data.note : data.description; this.Category = data.category; this.Logo = data.logo; this.Image = data.image;