UNPKG

unserver-unify

Version:

23 lines (22 loc) 964 B
<div ng-controller="ExhibitionListCtrl as ctrl" class="row col-md-12"> <div class="row"> <div class="col-md-12" ng-repeat="item in ctrl.items"> <div class="tag-box tag-box-v2 box-shadow shadow-effect-1" style="float:left; width:96%; height:150px; margin:0 3% 15px;"> <div class="item-image"> <a ui-sref="index.exhibition.detail({ id: item._id})"> <img ng-src="{{item.photo? ctrl.photoUrl+item._id +'/'+ item.photo : ctrl.defaultPhoto}}"/> </a> </div> <strong class="item-name" title="{{item.name}}"> <a ui-sref="index.exhibition.detail({ id: item._id})">{{ item.name }} </a> </strong> <div class="item-date"> {{ item.start| date: 'yyyy/MM/dd'}}&nbsp;-&nbsp;{{ item.end| date: 'yyyy/MM/dd'}} </div> <div class="item-content"> <p>{{ item.description }}</p> </div> </div> </div> </div> </div>