Fix search view and search autocomplete for apps
Had the wrong icon in search view and forgot to add the autocomplete handling for applications
This commit is contained in:
parent
17c4d4c84e
commit
21aff5ef9d
2 changed files with 9 additions and 1 deletions
|
@ -35,6 +35,14 @@
|
|||
first-line-only="true" placeholder-needed="false"></div>
|
||||
</div>
|
||||
</span>
|
||||
<span ng-switch-when="application">
|
||||
<span class="avatar" data="result.namespace.avatar" size="16"></span>
|
||||
<span class="result-name">{{ result.namespace.name }}/{{ result.name }}</span>
|
||||
<div class="result-description" ng-if="result.description">
|
||||
<div class="description markdown-view" content="result.description"
|
||||
first-line-only="true" placeholder-needed="false"></div>
|
||||
</div>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</script>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</span>
|
||||
<h4>
|
||||
<i class="fa fa-hdd-o" ng-if="result.kind == 'repository'"></i>
|
||||
<i class="fa ci-app-cube" ng-if="result.kind == 'application'"></i>
|
||||
<i class="fa ci-appcube" ng-if="result.kind == 'application'"></i>
|
||||
<a href="{{ result.href }}">{{ result.namespace.name }}/{{ result.name }}</a>
|
||||
</h4>
|
||||
<p class="description">
|
||||
|
|
Reference in a new issue