views/modals/mobile-*.html: stop interpolating prefix here

AngularJS doesn't like our interpolations, raising `$interpolate:noconcat`
errors. I don't know why the mobile version has these issues while desktop
doesn't. But, whatever, OK.
This commit is contained in:
Peter Williams 2020-03-28 19:30:27 -04:00
Родитель bba0f5a751
Коммит d49319432e
3 изменённых файлов: 18 добавлений и 9 удалений

Просмотреть файл

@ -1,11 +1,14 @@
<div class="modal fade" id="explorerModal" tabindex="-1" role="dialog" aria-hidden="true">
<!-- note: we are intentionally not using {{staticAssetsPrefix}} here, because for some reason
in this context AngularJS deems it a security risk ($interpolate:noconcat error) -->
<div class="modal fade" id="explorerModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<ng-include src="'{{staticAssetsPrefix}}views/research-menu.html'"></ng-include>
<ng-include src="'views/research-menu.html'"></ng-include>
<div ng-controller="ExploreController" id="exploreContainer">
<span ng-repeat="bc in breadCrumb" class="bc"><a href="javascript:void(0)" ng-click="breadCrumbClick($index)">{{bc}}</a>&nbsp;&gt;&nbsp;</span><br/>
<div style="display: inline-block; vertical-align: top;" ng-repeat="item in collectionPage" id="exploreList">
<ng-include src="'{{staticAssetsPrefix}}views/thumbnail.html'"></ng-include>
<ng-include src="'views/thumbnail.html'"></ng-include>
</div>
</div>

Просмотреть файл

@ -1,9 +1,12 @@
<div class="modal" id="nboModal" tabindex="-1" role="dialog" aria-hidden="true">
<!-- note: we are intentionally not using {{staticAssetsPrefix}} here, because for some reason
in this context AngularJS deems it a security risk ($interpolate:noconcat error) -->
<div class="modal" id="nboModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content thumbnails" id="contextContainer" data-ng-controller="ContextPanelController" data-scroll-buffer="3" ng-init="initNearbyObjects()">
<ng-include src="'{{staticAssetsPrefix}}views/research-menu.html'"></ng-include>
<ng-include src="'views/research-menu.html'"></ng-include>
<div ng-repeat="item in collectionPage track by $index" class="iblock tn" ng-if="scrollDepth > $index">
<ng-include src="'{{staticAssetsPrefix}}views/thumbnail.html'"></ng-include>
<ng-include src="'views/thumbnail.html'"></ng-include>
</div>
</div>
</div>

Просмотреть файл

@ -1,12 +1,15 @@
<div ng-controller="SearchController" data-scroll-buffer="3">
<!-- note: we are intentionally not using {{staticAssetsPrefix}} here, because for some reason
in this context AngularJS deems it a security risk ($interpolate:noconcat error) -->
<div ng-controller="SearchController" data-scroll-buffer="3">
<div style="width:88%;position:fixed;top:4px;left:4px" class="input-group iblock">
<input type="search" id="txtSearch" ng-model="q" ng-keydown="searchKeyPress()" localize="Object Search" localize-only="placeholder" style="width:94%;height:25px" />
<span class="fa fa-search form-control-feedback rel" style="top: 4px;right: 14px;position: absolute;"></span>
</div>
<ng-include src="'{{staticAssetsPrefix}}views/research-menu.html'"></ng-include>
<ng-include src="'views/research-menu.html'"></ng-include>
<div class="search-results" ng-if="collectionPage.length" id="searchContainer">
<div class="iblock tn" style="vertical-align:top;" ng-repeat="item in collectionPage" ng-if="scrollDepth > $index">
<ng-include src="'{{staticAssetsPrefix}}views/thumbnail.html'"></ng-include>
<ng-include src="'views/thumbnail.html'"></ng-include>
</div>
</div>
</div>