unserver-unify
Version:
47 lines (46 loc) • 2.05 kB
HTML
<div ng-controller="ExhibitionProductLisCtrl as ctrl">
<div class="row margin-bottom-20">
<div class="col-md-3 col-sm-4 col-xs-12" current-page="setting.currentPage" dir-paginate="item in ctrl.items | itemsPerPage: ctrl.itemNumber" pagination-id="setting.listName">
<div class="thumbnails thumbnail-style thumbnail-kenburn overflow-hidden relative">
<div class="thumbnail-img">
<div class="overflow-hidden text-center">
<a ui-sref="index.exhibition.detail.product({id:item._id})">
<img class="img-responsive" ng-src="{{item.photo? ctrl.productpath+item._id +'/'+ item.photo : ctrl.defaultPhoto}}"/>
</a>
</div>
</div>
<div class="margin-bottom-10"></div>
<div class="caption overflow-hidden clst">
<h3>
<a ui-sref="index.exhibition.detail.product({id:item._id})">
{{ item.name }}
</a>
</h3>
<p class="product_price" ng-if="item.price">
{{ctrl.currency}} {{ item.price | number : 2 }}
</p>
<p class="product_price" ng-if="!item.price && currentSchool.paymentFlag && lcourse.privacy=='fee'">
{{ctrl.currency}} {{'Free' | translate}}
</p>
<p>
{{ item.description }}
</p>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
<div class="row" ng-if="ctrl.items.length != 0">
<div class="col-md-12 forum">
<div class="tag-box tag-box-v6 margin-bottom-20 text-right clearfix">
<span class="pull-right">
<dir-pagination-controls boundary-links="true" class="with-others line_height" on-page-change="ctrl.getitems()" pagination-id="setting.listName" template-url="components/content/dirPagination.tpl.html">
</dir-pagination-controls>
</span>
</div>
</div>
</div>
<h3 class="row text-center" ng-if="ctrl.items.length == 0" translate>
No Result!
</h3>
</div>