Added basic activity stream functionality by leveraging the data attribute of the state provider. The breadcrumb directive pulls this information from the state provider and uses it to hide/show the activity stream button and pass the stream the correct data.

This commit is contained in:
Michael Abashian
2016-02-01 15:23:27 -05:00
parent 6efe8a9360
commit 41589ed558
15 changed files with 184 additions and 170 deletions
@@ -7,8 +7,8 @@
data-trigger="hover"
data-container="body"
ng-class="{'BreadCrumb-menuLinkActive' : activityStreamActive}"
ng-if="isActive('dashboard')"
ng-click="toggleActivityStreamActive()">
ng-if="showActivityStreamButton"
ng-click="openActivityStream()">
<i class="BreadCrumb-menuLinkImage icon-activity-stream"
alt="Activity Stream">
</i>
@@ -20,7 +20,7 @@
data-placement="left"
data-trigger="hover"
data-container="body"
ng-if="!isActive('dashboard')">
ng-if="!showActivityStreamButton">
<i class="BreadCrumb-menuLinkImage fa fa-tachometer"
alt="Dashboard">
</i>