Continuing work on the templates
authorChris Cormack <chrisc@catalyst.net.nz>
Mon, 30 Dec 2013 20:14:36 +0000 (09:14 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 30 Dec 2013 20:14:36 +0000 (09:14 +1300)
templates/includes/LookupUserResponse.inc [new file with mode: 0644]
templates/layouts/main.tt [new file with mode: 0644]
templates/main.tt [new file with mode: 0644]
templates/response.tt

diff --git a/templates/includes/LookupUserResponse.inc b/templates/includes/LookupUserResponse.inc
new file mode 100644 (file)
index 0000000..8af9c7f
--- /dev/null
@@ -0,0 +1 @@
+Look up user
diff --git a/templates/layouts/main.tt b/templates/layouts/main.tt
new file mode 100644 (file)
index 0000000..57b374e
--- /dev/null
@@ -0,0 +1 @@
+[% content %]
diff --git a/templates/main.tt b/templates/main.tt
new file mode 100644 (file)
index 0000000..2bb7541
--- /dev/null
@@ -0,0 +1,3 @@
+[% INCLUDE 'includes/header.inc' %]
+
+[% content %]
index f9ea3be..497781d 100644 (file)
@@ -16,6 +16,9 @@
                 </UniqueAgencyId>
             </ToAgencyId>
         </ResponseHeader>
-        
+    [% myfile = "includes/$messagetype" _ ".inc" %]
+    [% INCLUDE $myfile %]    
     </[% messagetype %]>
 </NCIPMessage>
+
+