@@ -52,6 +52,13 @@ block content
ng-href="{{ announcement.url }}"
target="_blank"
) Read more
+ div.text-center(
+ ng-if="ui.newItems > 0 && ui.newItems < announcements.length"
+ )
+ a.btn.btn-default.btn-sm(
+ href
+ ng-click="showAll();"
+ ) Show all
.row(ng-cloak)
span(ng-if="projects.length > 0")
@@ -24,4 +24,6 @@ define [
$scope.ui.newItems = 0
markAnnouncementsAsRead()
+ $scope.showAll = ->
+ $scope.ui.newItems = 0