Project

General

Profile

« Previous | Next » 

Revision 46792

fix dropdown change in orcid tab of claim| add free guard in every route with no authentication required | add '*' route in server in order to show erro page not json-no contnet| Claims: get user mail from Session -jwt,tidy up display claims component (myclaims, claims)| remove folder src/app/home | LOgin: change login method to post, redirect after login/logout using queryparams of the current page, add Session helper class

View differences:

claimsAdmin.component.ts
5 5
@Component({
6 6
    selector: 'claims-admin',
7 7
    template: `
8
    <div *ngIf="user" class="container">
8
    <div class="container">
9 9
      <div class="page-header">
10 10
          <h1> Claims Administrator </h1>
11 11
      </div>
12 12
      <div>
13 13
        <div class="uk-text-right"><a  routerLink="/participate/claim">Add more Links?</a></div>
14
        <displayClaims enableDelete="false" myClaims="false" isAdim="true"></displayClaims>
14
        <displayClaims [enableDelete]=false [myClaims]=false [isAdmin]=true></displayClaims>
15 15
      </div>
16 16
    </div>
17

  
18

  
19
    <div *ngIf="!user" class="container">
20
      TODO login
21
    </div>
22 17
    `,
23 18

  
24 19
})
......
26 21
  constructor ( ) {
27 22

  
28 23
  }
29
user:string="argirok@di.uoa.gr";
30 24
  ngOnInit() {
31

  
32

  
33 25
  }
34

  
35

  
36 26
}

Also available in: Unified diff