From 69015cf3191f00069d47ba680d8e5a8fb8b9317f Mon Sep 17 00:00:00 2001 From: nladuguie Date: Mon, 6 Jun 2016 11:16:15 +0200 Subject: [PATCH] Template modification to simplify applying styles Add a span around a non linked breadcrumb entry to easily apply a style --- addon/templates/components/bread-crumb.hbs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/addon/templates/components/bread-crumb.hbs b/addon/templates/components/bread-crumb.hbs index 195e94a..cd47396 100644 --- a/addon/templates/components/bread-crumb.hbs +++ b/addon/templates/components/bread-crumb.hbs @@ -7,9 +7,11 @@ {{/if}} {{/link-to}} {{else}} - {{#if hasBlock}} - {{yield this route}} - {{else}} - {{route.title}} - {{/if}} + + {{#if hasBlock}} + {{yield this route}} + {{else}} + {{route.title}} + {{/if}} + {{/if}}