Project

General

Profile

« Previous | Next » 

Revision 58281

Almost final commit for the new UI

View differences:

content-notifications-of-subscription.component.ts
79 79
      this.currentPage = this.currentPage + 1;
80 80
      console.log(`Get me page ${this.currentPage}!`);
81 81
      this.getEventsPage(this.currentPage);
82

  
83
      window.scrollTo(0, 0);
82 84
    }
83 85
  }
84 86

  
......
94 96
      this.currentPage = this.currentPage - 1;
95 97
      console.log(`Get me page ${this.currentPage}!`);
96 98
      this.getEventsPage(this.currentPage);
99

  
100
      window.scrollTo(0, 0);
97 101
    }
98 102
  }
99 103

  
......
117 121
      this.selectedItemIndex = i;
118 122
    }
119 123
  }
124

  
125
  showMore(i: number) {
126
    this.selectedItemIndex = i;
127
  }
128

  
129
  showLess(i: number) {
130
    this.selectedItemIndex = null;
131
  }
120 132
}

Also available in: Unified diff