Skip to content

Commit

Permalink
Hide message reply button on twitter messages
Browse files Browse the repository at this point in the history
We can't reply on twitter, so don't show a broken UI.
Also hide pagination when less that 1 page of results

Refs ushahidi/platform #1480
  • Loading branch information
rjmackay committed Nov 8, 2016
1 parent 145c7d2 commit debf4aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main/posts/detail/post-messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ <h2 class="listing-item-title">
</div>
</div>

<div class="listing-item">
<div class="listing-item" ng-show="totalItems > itemsPerPage">
<div class="listing-item-primary">

<uib-pagination ng-model="currentPage" items-per-page="itemsPerPage" total-items="totalItems" ng-change="pageChanged()" max-size="5" rotate="false"></pagination>

</div>
</div>

<div class="listing-item">
<div class="listing-item" ng-show="contact.type !== 'twitter'">
<div class="listing-item-primary">
<h2 class="listing-item-title">
<a href="" class="button button-flat" ng-click="reply()">
Expand Down

0 comments on commit debf4aa

Please sign in to comment.