From 16c0e847452629c2af9fa1dac7a9d83ae3846c62 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 7 Feb 2020 22:12:31 -0500 Subject: Properly display running entries as a table --- templates/profile.hbs | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'templates/profile.hbs') diff --git a/templates/profile.hbs b/templates/profile.hbs index 240c443..c7e75e9 100644 --- a/templates/profile.hbs +++ b/templates/profile.hbs @@ -1,22 +1,24 @@ -{{#*inline "page"}} -{{#if user}} +{{#*inline "page"~}} +{{#if user~}}

Profile for {{ user }}

-{{/if}} +{{/if~}} +{{#with document ~}} - {{#each headings}} + {{#each headings ~}} - {{/each}} + {{/each ~}} - {{#each entries}} + {{#each rows ~}} - {{#each this}} + {{#each this ~}} - {{/each}} + {{/each ~}} - {{/each}} + {{/each ~}}
{{ this }}
{{ this }}
-{{/inline}} +{{/with~}} +{{/inline~}} {{~> (parent)~}} -- cgit v1.2.3