From 684cb35dfb982aaa89e7b91601c11ad8aec59c92 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Mon, 17 Oct 2022 17:08:14 -0600 Subject: use global variables --- templates/document_details.html | 8 ++++---- templates/home.html | 6 +++--- templates/search.gtpl | 2 +- templates/search_results.html | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/document_details.html b/templates/document_details.html index ea83539..a078e46 100644 --- a/templates/document_details.html +++ b/templates/document_details.html @@ -3,7 +3,7 @@ - {{.SearchResults.id}} - DogeKnows + {{.SearchResults.id}} - {{.GlobalVars.Name}} @@ -22,7 +22,7 @@
@@ -110,9 +110,9 @@ {{.SearchResults.THIRDPARTY}} - Full Text (OCR) + Summary - {{.SearchResults.full_text}} + Summary diff --git a/templates/home.html b/templates/home.html index 830f376..ab185d4 100644 --- a/templates/home.html +++ b/templates/home.html @@ -3,7 +3,7 @@ - DogeKnows! + {{.GlobalVars.Name}} @@ -11,7 +11,7 @@

- DogeKnows + {{ .GlobalVars.Name }}

Full-text search FDA 510(k) database @@ -23,7 +23,7 @@

- + diff --git a/templates/search.gtpl b/templates/search.gtpl index c14c02b..b892f19 100644 --- a/templates/search.gtpl +++ b/templates/search.gtpl @@ -1,7 +1,7 @@ -

DogeKnows

+

{{.GlobalVars.Name}}

diff --git a/templates/search_results.html b/templates/search_results.html index 6214320..dba3362 100644 --- a/templates/search_results.html +++ b/templates/search_results.html @@ -3,7 +3,7 @@ - {{.OriginalQuery.Query}} - DogeKnows + {{.OriginalQuery.Query}} - {{.GlobalVars.Name}} @@ -11,7 +11,7 @@

- DogeKnows + {{.GlobalVars.Name}}

Full-text search FDA 510(k) database @@ -21,7 +21,7 @@

-- cgit v1.2.3