blob: 37b3992cc48d6e843cbbd6cefdec8c760151671d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<div class="search-results-header">
Query : {{model.query}}
</div>
<div class="search-results-content">
{{#paginated-list url=model.url as |identifiers|}}
<ul>
{{#each identifiers as |identifier|}}
<li class="search-result">
<span class="source-code" ><b>{{identifier.demangledOccName}}</b> :: {{type-signature-text components=identifier.idType.components}}</span>
<div><a href="#" onmouseup={{action "goToDefinition" identifier.locationInfo}}>Go to definition</a></div>
<div class="identifier-module">
{{#if identifier.locationInfo.modulePath}}
Defined in <a href="/package/{{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}}/show/{{identifier.locationInfo.modulePath}}">{{identifier.locationInfo.modulePath}}</a>
{{/if}}
</div>
<div>{{{identifier.doc}}}</div>
</li>
{{/each}}
</ul>
{{/paginated-list}}
</div>
|