diff options
author | alexwl <alexey.a.kiryushin@gmail.com> | 2019-03-08 17:21:00 +0300 |
---|---|---|
committer | alexwl <alexey.a.kiryushin@gmail.com> | 2019-03-08 17:21:00 +0300 |
commit | 78f46be07c7d063c9d957bfe4d580fcbeb28786f (patch) | |
tree | e4d7b0c8c933cf235ef3ec4e631e3425ae069875 /javascript/app | |
parent | 5ce658d25df2b1eba971131e33c412884fd8ab3f (diff) |
Fix search results: add a package name and a module name of an identifier that doesn't have exact location info
Diffstat (limited to 'javascript/app')
-rw-r--r-- | javascript/app/templates/search.hbs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/javascript/app/templates/search.hbs b/javascript/app/templates/search.hbs index 343ce68..222919a 100644 --- a/javascript/app/templates/search.hbs +++ b/javascript/app/templates/search.hbs @@ -33,6 +33,8 @@ <div class="identifier-module"> {{#if identifier.locationInfo.modulePath}} Defined in <b> {{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}} </b> <a href="/package/{{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}}/show/{{identifier.locationInfo.modulePath}}">{{identifier.locationInfo.modulePath}}</a> + {{else}} + Defined in <b> {{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}} </b> {{identifier.locationInfo.moduleName}} {{/if}} </div> <div>{{{identifier.doc}}}</div> |