+
   
     
       
-        Gesamt
+        Gesamt
       
     
   
diff --git a/static/src/app/statistic/war-detail/scoreboard/scoreboard.component.ts b/static/src/app/statistic/war-detail/scoreboard/scoreboard.component.ts
index 945fbbe..4d9b059 100644
--- a/static/src/app/statistic/war-detail/scoreboard/scoreboard.component.ts
+++ b/static/src/app/statistic/war-detail/scoreboard/scoreboard.component.ts
@@ -1,5 +1,4 @@
-import {Component, ElementRef, SimpleChanges, ViewChild} from "@angular/core";
-import {ActivatedRoute, Router} from "@angular/router";
+import {Component, ElementRef, EventEmitter, SimpleChanges, ViewChild} from "@angular/core";
 import {War} from "../../../models/model-interfaces";
 import {Fraction} from "../../../utils/fraction.enum";
 
@@ -7,13 +6,14 @@ import {Fraction} from "../../../utils/fraction.enum";
   selector: 'scoreboard',
   templateUrl: './scoreboard.component.html',
   inputs: ['war', 'fractionFilterSelected'],
+  outputs: ['playerTabSwitch'],
   styleUrls: ['./scoreboard.component.css', '../../../style/list-entry.css', '../../../style/hide-scrollbar.css']
 })
 export class ScoreboardComponent {
 
   readonly fraction = Fraction;
 
-  @ViewChild('overview') private overviewContainer: ElementRef;
+  playerTabSwitch = new EventEmitter();
 
   war: War;
 
@@ -30,16 +30,14 @@ export class ScoreboardComponent {
     sortDescending: 'glyphicon glyphicon-triangle-bottom',
   };
 
-  constructor(private route: ActivatedRoute,
-              private router: Router) {
+  constructor() {
   }
 
   ngOnInit() {
   }
 
-  selectPlayerDetail(playerName: string) {
-      this.router.navigate(['../../campaign-player/' + this.war.campaign + '/' + playerName],
-        {relativeTo: this.route});
+  selectPlayerDetail(view: number, playerName: string) {
+    this.playerTabSwitch.emit({view: view, player: playerName})
   }
 
   ngOnChanges(changes: SimpleChanges) {
@@ -49,14 +47,6 @@ export class ScoreboardComponent {
     if (changes.fractionFilterSelected) {
       this.filterPlayersByFraction(this.fractionFilterSelected)
     }
-    this.scrollOverviewTop();
-  }
-
-  scrollOverviewTop() {
-    try {
-      this.overviewContainer.nativeElement.scrollTop = 0;
-    } catch (err) {
-    }
   }
 
   filterPlayersByFraction(fraction?: string) {
diff --git a/static/src/app/statistic/war-detail/war-detail.component.css b/static/src/app/statistic/war-detail/war-detail.component.css
index 11f1770..9f2dc98 100644
--- a/static/src/app/statistic/war-detail/war-detail.component.css
+++ b/static/src/app/statistic/war-detail/war-detail.component.css
@@ -36,6 +36,6 @@
   color: #FFF !important;
 }
 
-.nav-tabs > li.deactivated  > a.nav-link{
-  cursor: not-allowed!important;
+.nav-tabs > li.deactivated > a.nav-link {
+  cursor: not-allowed !important;
 }
diff --git a/static/src/app/statistic/war-detail/war-detail.component.html b/static/src/app/statistic/war-detail/war-detail.component.html
index 44e04a0..ea77b1b 100644
--- a/static/src/app/statistic/war-detail/war-detail.component.html
+++ b/static/src/app/statistic/war-detail/war-detail.component.html
@@ -66,13 +66,20 @@
     
+      [fractionFilterSelected]="fractionFilterSelected"
+      (playerTabSwitch)="switchToPlayerTab($event)">
     
     
     
+    
+    
   
 
  
diff --git a/static/src/app/statistic/war-detail/war-detail.component.ts b/static/src/app/statistic/war-detail/war-detail.component.ts
index 5560a9e..8f22cec 100644
--- a/static/src/app/statistic/war-detail/war-detail.component.ts
+++ b/static/src/app/statistic/war-detail/war-detail.component.ts
@@ -20,6 +20,10 @@ export class WarDetailComponent {
 
   logData;
 
+  singlePlayerView: number;
+
+  playerDetailName: string;
+
   tab: number;
 
   fractionStatsInitialized: boolean;
@@ -45,7 +49,7 @@ export class WarDetailComponent {
       .subscribe(war => {
         this.war = war;
 
-        this.tab = 0;
+        this.switchTab(0);
         this.fractionStatsInitialized = false;
         this.fractionFilterSelected = undefined;
 
@@ -62,6 +66,17 @@ export class WarDetailComponent {
         this.fractionStatsInitialized = true;
       });
     }
+    window.scroll({left: 0, top: 0, behavior: 'smooth'});
+  }
+
+  /**
+   * called by EventEmitter,
+   * @param event with fields: 'view' (0 = war-detail, 1 = campaign-detail); 'player' = player name
+   */
+  switchToPlayerTab(event) {
+    this.singlePlayerView = event.view;
+    this.playerDetailName = event.player;
+    this.switchTab(2);
   }
 
   filterPlayersByFraction(fraction?: string) {
diff --git a/static/src/app/users/user-list/user-list.component.html b/static/src/app/users/user-list/user-list.component.html
index 952dd50..0d664f9 100644
--- a/static/src/app/users/user-list/user-list.component.html
+++ b/static/src/app/users/user-list/user-list.component.html
@@ -31,7 +31,7 @@
                    [user]="user"
                    (userDelete)="deleteUser(user)"
                    (userSelected)="selectUser($event)"
-                   (userAward)="awardUser($event, $event)"
+                   (userAward)="awardUser($event)"
                    [selected]="user._id == selectedUserId">