Project

General

Profile

« Previous | Next » 

Revision 50883

finished subscriptions and notifications

View differences:

content-events-of-repo-eventslist.component.html
12 12
        <div class="whiteFilm"></div>
13 13
      </div>
14 14
      <div *ngIf="noEvents" class="uk-alert">{{ noEvents }}</div>
15
      <div *ngIf="eventsPage.totalPages" class="events-results">
15
      <div *ngIf="eventsPage && eventsPage.totalPages" class="events-results">
16 16
        <div class="numberOfEventsLabel">
17
          <span>Showing {{(eventsPage.currPage*10)+1 }}-{{(eventsPage.currPage+1)*10 }} of {{ eventsPage.total }} results</span>
17
          <span>Showing {{(eventsPage.currPage*10)+1 }}-{{ ( (eventsPage.total < 10) || (eventsPage.total < (eventsPage.currPage+1)*10) ) ? (eventsPage.total) : (eventsPage.currPage+1)*10 }} of {{ eventsPage.total }} results</span>
18 18
          <span class="uk-float-right">
19 19
            <button id="subscribe" type="button" class="uk-button uk-button-primary uk-button-small" (click)="showSubscriptionModal()">Subscribe to these events</button>
20 20
          </span>

Also available in: Unified diff