unserver-unify
Version:
39 lines (38 loc) • 1.58 kB
HTML
<div class="block-description" st-safe-src="src" st-table="displayedCollection" style="padding-bottom: 0 !important; background: #eaeaea;">
<!--=== News ===-->
<div class="container content">
<div class="row">
<div class="col-md-4" ng-repeat="news in displayedCollection">
<div class="tag-box new_style box-shadow shadow-effect-1" ui-sref="index.company.detail.news({id:news._id})">
<div class="row">
<div class="news-dateinfo">
{{news.created | date:'dd/MM/yyyy'}}
</div>
<div class="col-md-4 hidden-sm no-padding funny-boxes-img overflow-hidden easy-block-v1">
<a href="">
<img ng-if="news.photo" alt="" class="img-responsive" ng-src="{{ctrl.newsPhotoUrl}}{{news.photo}}"/>
<img ng-if="!news.photo" alt="" class="img-responsive" ng-src="{{defaultimage}}"/>
</a>
</div>
<div class="col-md-8 col-sm-12" style="height:126px; overflow:hidden">
<a href="">
{{news.name}}
</a>
<div class="clearfix">
</div>
<p class="clamped" style="max-height:70px;">
{{news.description}}
</p>
</div>
</div>
</div>
</div>
<div class="pull-right">
<td class="text-center" colspan="5">
<div st-displayed-pages="" st-items-by-page="9" st-pagination="">
</div>
</td>
</div>
</div>
</div>
</div>