Changeset 814 for ether_statistics/web


Ignore:
Timestamp:
02/06/15 12:42:07 (9 years ago)
Author:
npipsl
Message:

Ajout de l'utilisateur Geisa à la connexion avec un affichage que du projet Geisa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ether_statistics/web/project/statistics-script.jsp

    r761 r814  
    2020        this.logoSizeBigger = 50; 
    2121 
     22        if( "Geisa" == this.jSONUser.name ) 
     23            { 
     24                this.projectsArray = [ 
     25                        {id:"GEISA", img:"logo_geisa_50.jpg", top:"22px", left:"167.667px"} 
     26                      ]; 
     27            } 
     28        else 
     29        { 
    2230        this.projectsArray = [ 
    2331            {id:"ETHER", img:"logo_Ether_50.jpg", top:"-16px", left:"125px"}, 
     
    3846            {id:"ARLETTY", img:"logo_arletty_50.jpg", top:"-79px", left:"161.667px"} 
    3947        ]; 
     48        } 
     49 
    4050        this.widthInitMentionsOrCredits = $( "#mentions" ).width(); 
    4151 
     
    279289 
    280290            // Logo 
     291            if( "Geisa" == this.jSONUser.name ) 
     292            { 
     293            this.selectedLogo = $( "#GEISA" )[0]; 
     294            this.isSelectedLogoGeisa = true; 
     295            this.onClickLogo(); 
     296            } 
     297            else 
     298            { 
    281299            this.selectedLogo = $( "#ETHER" )[0]; 
    282300            this.isSelectedLogoEther = true; 
    283301            this.onClickLogo(); 
     302            } 
    284303        }, this ) ); 
    285304    }, 
     
    374393    { 
    375394        this.isSelectedLogoEther = (this.selectedLogo == $( "#ETHER" )[0]); 
     395        this.isSelectedLogoGeisa = (this.selectedLogo == $( "#GEISA" )[0]); 
    376396        this.isMonthAndYearSelected = false; 
    377397 
Note: See TracChangeset for help on using the changeset viewer.