Project

General

Profile

« Previous | Next » 

Revision 59999

[Library|Trunk]

NavigationBar: remove unused variables, use header url and route for the beta indicator

View differences:

modules/uoa-services-library/trunk/ng-openaire-library/src/app/sharedComponents/navigationBar.component.html
1 1
<div *ngIf="showMenu">
2 2
  <div *ngIf="(properties.environment =='beta' || properties.environment =='development') && showLogo && header.badge"
3 3
       class="uk-visible@m">
4
    <a [routerLink]="logoRoute" [href]="logoUrl"><img class="large-beta-indication"
4
    <a [routerLink]="header.route" [href]="header.url"><img class="large-beta-indication"
5 5
                                                      [src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
6 6
                                                      alt="BETA">
7 7
    </a>
modules/uoa-services-library/trunk/ng-openaire-library/src/app/sharedComponents/navigationBar.component.ts
45 45
  @Input() showLogo: boolean = true;
46 46
  @Input() offCanvasFlip: boolean = false;
47 47
  keyword: string = '';
48

  
49
  logosrc: string = '';
50
  logoUrl: string;
51
  logoRoute: string;
52
  logoName: string;
53

  
54

  
55 48
  public isAuthorized: boolean = false;
56 49
  subs: Subscription[] = [];
57 50

  

Also available in: Unified diff