Project

General

Profile

« Previous | Next » 

Revision 52836

added cookie-law banner - 403 authorization via ui and new usage-stats pages

View differences:

adminPg-metrics.component.ts
35 35
  getPiwiks() {
36 36
    this.loadingMessage = loadingReposMessage;
37 37
    this.piwikService.getPiwikSitesForRepos()
38
      .subscribe(
39
        piwiks => this.piwiks = piwiks.sort( function(a,b){
40
          if(a.repositoryName<b.repositoryName){
38
      .subscribe (
39
        piwiks => this.piwiks = piwiks.sort( function(a,b) {
40
          if (a.repositoryName<b.repositoryName) {
41 41
            return -1;
42
          } else if(a.repositoryName>b.repositoryName){
42
          } else if (a.repositoryName>b.repositoryName) {
43 43
            return 1;
44 44
          } else {
45 45
            return 0;

Also available in: Unified diff