mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 07:48:39 -05:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user