2016-01-25 21:22:22 +01:00
|
|
|
<div class="header">
|
|
|
|
<div class="title">
|
|
|
|
<h1 translate>Search results</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="details">
|
2016-08-05 17:10:18 +02:00
|
|
|
<form class="input-group" ng-submit="search()">
|
2016-01-25 21:22:22 +01:00
|
|
|
<input type="text" ng-model="query" class="form-control">
|
|
|
|
<span class="input-group-btn">
|
|
|
|
<button type="submit" class="btn btn-default" translate>Search</button>
|
|
|
|
</span>
|
|
|
|
</form>
|
2016-08-05 17:10:18 +02:00
|
|
|
<div class="searchfilter spacer-top">
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
<input type="checkbox" ng-model="filterAgenda">
|
|
|
|
<translate>Agenda items</translate>
|
|
|
|
</label>
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
<input type="checkbox" ng-model="filterMotion">
|
|
|
|
<translate>Motions</translate>
|
|
|
|
</label>
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
<input type="checkbox" ng-model="filterAssignment">
|
|
|
|
<translate>Elections</translate>
|
|
|
|
</label>
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
<input type="checkbox" ng-model="filterUser">
|
|
|
|
<translate>Participants</translate>
|
|
|
|
</label>
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
<input type="checkbox" ng-model="filterMedia">
|
|
|
|
<translate>Files</translate>
|
|
|
|
</label>
|
|
|
|
<div>
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
<input type="checkbox" ng-model="fullword" ng-change="search()">
|
|
|
|
<translate>Only whole words</translate>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-01-25 21:22:22 +01:00
|
|
|
<div class="searchresults spacer-top-lg">
|
|
|
|
<ol ng-show="results">
|
2016-08-05 17:10:18 +02:00
|
|
|
<li ng-repeat="result in results | filter:filterresult()">
|
2016-02-09 22:09:38 +01:00
|
|
|
<a ng-if="!result.mediafileUrl" ui-sref="{{ result.urlState }}({{ result.urlParam }})">
|
|
|
|
{{ result.getSearchResultName() }}
|
|
|
|
</a>
|
|
|
|
<a ng-if="result.mediafileUrl" href="{{ result.mediafileUrl }}" target="_blank">
|
|
|
|
{{ result.getSearchResultName() }}
|
|
|
|
</a>
|
|
|
|
<br>
|
2016-01-25 21:22:22 +01:00
|
|
|
<span class="grey">{{ result.getSearchResultSubtitle() | translate }}</span>
|
|
|
|
</ol>
|
2016-08-05 17:10:18 +02:00
|
|
|
<p ng-show="!results || results.length == 0" translate>No results.</p>
|
2016-01-25 21:22:22 +01:00
|
|
|
</div>
|
|
|
|
</div>
|