Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Hide empty outings in feed #2149

Merged
merged 1 commit into from
Aug 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions c2corg_ui/static/partials/feed.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ <h4 class="text-success text-center" translate ng-show="feedCtrl.noFeed">This us
<h3 class="title-feed" translate>Activity feed</h3>
<div class="in-feed-col-1">
<article ng-repeat="doc in feedCtrl.documentsCol[0] track by doc.id">
<app-card app-card-doc="::doc"></app-card>
<app-card ng-if="doc['document']['quality']!='empty' || feedCtrl.userId" app-card-doc="::doc"></app-card>
</article>
</div>
<div class="in-feed-col-2">
<article ng-repeat="doc in feedCtrl.documentsCol[1] track by doc.id">
<app-card app-card-doc="::doc"></app-card>
<app-card ng-if="doc['document']['quality']!='empty' || feedCtrl.userId" app-card-doc="::doc"></app-card>
</article>
</div>
<div class="in-feed-col-3">
<article ng-repeat="doc in feedCtrl.documentsCol[2] track by doc.id">
<app-card app-card-doc="::doc"></app-card>
<app-card ng-if="doc['document']['quality']!='empty' || feedCtrl.userId" app-card-doc="::doc"></app-card>
</article>
</div>
<div style="clear:both">&nbsp;</div>
Expand Down