Revision 58229
Added by Michele Artini about 4 years ago
org_form_metadata.html | ||
---|---|---|
279 | 279 |
</form> |
280 | 280 |
</div> |
281 | 281 |
|
282 |
<div class="modal fade" id="selectRelatedOrgModal" tabindex="-1" role="dialog"> |
|
283 |
<div class="modal-dialog modal-xl" role="document"> |
|
284 |
<div class="modal-content"> |
|
285 |
<div class="modal-header"> |
|
286 |
<h5 class="modal-title">Select Organization</h5> |
|
287 |
<button type="button" class="close" data-dismiss="modal">×</button> |
|
288 |
</div> |
|
289 |
<div class="modal-body" style="min-height: 300px"> |
|
290 |
<div class="input-group input-group-sm"> |
|
291 |
<input type="text" class="form-control" ng-model="searchText" /> |
|
292 |
<div class="input-group-append"> |
|
293 |
<button type="button" class="btn btn-outline-primary" ng-click="search(searchText, 0, 25)">Search</button> |
|
294 |
</div> |
|
295 |
</div> |
|
296 |
<div ng-show="searchValue"> |
|
297 |
|
|
298 |
<org-results orgs="searchOrgs" |
|
299 |
prev-function="search(searchValue, searchOrgs.number - 1, searchOrgs.size)" |
|
300 |
next-function="search(searchValue, searchOrgs.number + 1, searchOrgs.size)" |
|
301 |
selected-org="newRelation" |
|
302 |
mode="select-modal"></org-results> |
|
303 |
|
|
304 |
</div> |
|
305 |
</div> |
|
306 |
</div> |
|
307 |
</div> |
|
308 |
</div> |
|
309 |
|
|
282 |
<select-org-modal modal-id="selectRelatedOrgModal" selected-org="newRelation"></select-org-modal> |
Also available in: Unified diff
new directive to select an organization