From 220888a7c526828a42c44a69d49b400ac7a3817e Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sat, 30 Dec 2017 20:05:41 +0100 Subject: [PATCH] Move header to route templates, remove obsolete code --- app/templates/application.hbs | 12 ------------ app/templates/index.hbs | 4 ++++ app/templates/inspect.hbs | 4 ++++ 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/app/templates/application.hbs b/app/templates/application.hbs index 13e1738..750bde2 100644 --- a/app/templates/application.hbs +++ b/app/templates/application.hbs @@ -6,18 +6,6 @@ {{/if}}
-
- {{#if connecting}} - - {{else}} - {{#if connected}} - {{breadcrumb-nav currentDirPath=currentDirPath}} - {{else}} - - {{/if}} - {{/if}} -
- {{outlet}}
\ No newline at end of file diff --git a/app/templates/index.hbs b/app/templates/index.hbs index 6e302e2..4439d77 100644 --- a/app/templates/index.hbs +++ b/app/templates/index.hbs @@ -1,3 +1,7 @@ +
+ {{breadcrumb-nav currentDirPath=currentDirPath}} +
+ {{#if currentListing}} {{directory-listing items=currentListing}} {{/if}} \ No newline at end of file diff --git a/app/templates/inspect.hbs b/app/templates/inspect.hbs index 2a75f10..db3f73e 100644 --- a/app/templates/inspect.hbs +++ b/app/templates/inspect.hbs @@ -1,3 +1,7 @@ +
+ {{breadcrumb-nav currentDirPath=currentDirPath}} +
+
{{file-preview metaData=model.documentMetaData