Project

General

Profile

« Previous | Next » 

Revision 53689

In display claims redirect when session expires.
Update messages in user login errors

View differences:

user.component.html
33 33
 <div *ngIf="errorCode == '1'" class="uk-alert uk-alert-warning">
34 34
  The requested page requires authentication.
35 35
  <span  *ngIf="!loggedIn">
36
      <a  class=""  (click)="logIn()"  >Please Sign in</a>
36
    Please  <a  class=""  (click)="logIn()"  > sign in</a> to continue.
37 37
   </span>
38 38
</div>
39 39
<div *ngIf="errorCode == '2'" class="uk-alert uk-alert-warning">
40
  You are not authorized to use the requested page
40
  You are not authorized to use the requested page.
41 41
</div>
42 42
<div *ngIf="errorCode == '3'" class="uk-alert uk-alert-warning">
43
  The session has expired. Please sign in again or continue <a (click)="redirect();">browsing as a guest</a>.
44
  <span  *ngIf="!loggedIn">
45
      <!-- <a  class="loginLink"   [href]="loginUrl"   >Sign in</a> -->
46
      <a  class=""  (click)="logIn()"  >Please Sign in</a>
47
   </span>
43
  The session has expired. Please <a  class=""  (click)="logIn()"  >sign in</a> again or continue <a  class=""  (click)="redirect();">browsing as a guest</a>.
48 44
</div>
49 45
<div *ngIf="errorCode == '4'" class="uk-alert uk-alert-warning">
50
  You are not authorized to use the requested page
46
  You are not authorized to use the requested page.
51 47
</div>
52 48
<div *ngIf="errorCode == '5'" class="uk-alert uk-alert-warning">
53
  There is no community selected
49
  There is no research community selected.
54 50
</div>
55 51
<div *ngIf="errorCode == '6'" class="uk-alert uk-alert-warning">
56
  For this action you have to subscribe to community first
52
  For this action you have to subscribe to research community first.
57 53
</div>
58 54
<div *ngIf="!loggedIn && errorMessage.length > 0" class="uk-alert uk-alert-danger">{{errorMessage}}</div>
59 55

  

Also available in: Unified diff