Created
March 19, 2018 09:37
-
-
Save kmaraz/41be166e8bc12cd944393ff8d453860b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="module-events"> | |
<div ng-show="!$ctrl.config.isLoaded"> | |
<div class="spinner">Loading...</div> | |
</div> | |
<div ng-show="$ctrl.config.isLoaded && !$ctrl.config.search"> | |
<!-- No events --> | |
<div ng-show="$ctrl.eventsCount === 0"> | |
No events for you. | |
</div> | |
<!-- No searched events --> | |
<div ng-show="$ctrl.eventsCount > 0"> | |
<!-- All events --> | |
<events-event-item | |
ng-repeat="event in $ctrl.events | limitTo: $ctrl.config.limit" | |
event="event" | |
select-event="$ctrl.EventsActions.selectEvent(eventHash, sectionId, url)" | |
open-present-view="$ctrl.EventsActions.openPresentView(url)" | |
open-audience-view="$ctrl.EventsActions.openAudienceView(url)" | |
current-user="$ctrl.currentUser" | |
duplicate-event="$ctrl.EventsActions.duplicateEvent(eventUuid)" | |
delete-event="$ctrl.EventsActions.deleteEvent(eventUuid, hash)"> | |
</events-event-item> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment