From 235eb17ccaefdf752819d103222b9e622cc523b6 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Sun, 30 Apr 2017 21:12:52 +0100 Subject: [PATCH] build(aio): improve info-bar template The "npm module" and "NgModule" are now rendered correctly. Closes #16055 --- aio/tools/transforms/templates/includes/_info-bar.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aio/tools/transforms/templates/includes/_info-bar.html b/aio/tools/transforms/templates/includes/_info-bar.html index 21bfae1f8a..ee75105de9 100644 --- a/aio/tools/transforms/templates/includes/_info-bar.html +++ b/aio/tools/transforms/templates/includes/_info-bar.html @@ -3,12 +3,14 @@
- npm package: {$ doc.package $} + npm package: @angular/{$ doc.moduleDoc.id $} + {% if doc.ngModule %} - NgModule: {$ doc.moduleDoc.name $} + NgModule: {@link {$ doc.ngModule $}} + {% endif %} {$ github.githubViewLink(doc, versionInfo) $}