aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/about-us
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/about-us')
-rw-r--r--src/app/about-us/aboutus.component.html6
-rw-r--r--src/app/about-us/aboutus.component.ts23
2 files changed, 24 insertions, 5 deletions
diff --git a/src/app/about-us/aboutus.component.html b/src/app/about-us/aboutus.component.html
index 554fd4a..d7460f3 100644
--- a/src/app/about-us/aboutus.component.html
+++ b/src/app/about-us/aboutus.component.html
@@ -26,7 +26,7 @@ limitations under the License.
<div class="card">
<div class="mdl-dialog__content">
<div class="card">
- <div class="card-header" style="font-size: 20px">CONTACT DETAILS</div>
+ <div class="card-header" (click)="tlPlus()" style="font-size: 20px">CONTACT DETAILS</div>
<div class="mdl-card__title">
<div class="text-center">
Contact us @:
@@ -35,7 +35,7 @@ limitations under the License.
</div>
</div>&emsp;&emsp;&emsp;&emsp;
<div class="card">
- <div class="card-header" style="font-size: 20px">VERSION DETAILS</div>
+ <div class="card-header" (click)="tlMinus()" style="font-size: 20px">VERSION DETAILS</div>
<div class="mdl-card__title">
<table>
<thead></thead>
@@ -69,4 +69,4 @@ limitations under the License.
</div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/src/app/about-us/aboutus.component.ts b/src/app/about-us/aboutus.component.ts
index 5b0fd26..04eee0d 100644
--- a/src/app/about-us/aboutus.component.ts
+++ b/src/app/about-us/aboutus.component.ts
@@ -31,6 +31,7 @@ import { saveAs } from 'file-saver';
import { DialogService } from 'ng2-bootstrap-modal';
import { ConfirmComponent } from '../shared/confirmModal/confirm.component';
import { appConstants } from '../../constants/app-constants';
+import {UtilityService} from '../shared/services/utilityService/utility.service';
@Component({
selector: 'app-help',
@@ -38,7 +39,7 @@ import { appConstants } from '../../constants/app-constants';
styleUrls: ['./aboutus.component.css']
})
export class AboutUsComponent implements OnInit, OnDestroy {
-
+ clName= "AboutUsComponent";
public releaseName: any;
public versionNo: any;
public contactUsMail: any;
@@ -53,7 +54,9 @@ export class AboutUsComponent implements OnInit, OnDestroy {
maxLength: 200
};
- constructor(private http: Http, private dialogService: DialogService, private notificationsService: NotificationsService) {
+ constructor(
+ private http: Http, private dialogService: DialogService, private notificationsService: NotificationsService,
+ private utilSvc: UtilityService ) {
}
ngOnInit() {
@@ -101,4 +104,20 @@ export class AboutUsComponent implements OnInit, OnDestroy {
});
saveAs(blob, 'versionLog.txt');
}
+
+ tlPlus() { //.. increase tracelvl - more tracing in console
+ let tracelvl= this.utilSvc.getTracelvl();
+ if( tracelvl < 2 ) {
+ tracelvl++; this.utilSvc.setTracelvl( tracelvl);
+ };
+ console.log( this.clName+": tlPlus: tracelvl="+this.utilSvc.getTracelvl() );
+ }
+
+ tlMinus() { //.. decrease tracelvl - less tracing in console
+ let tracelvl= this.utilSvc.getTracelvl();
+ if( tracelvl > 0 ) {
+ tracelvl--; this.utilSvc.setTracelvl( tracelvl);
+ };
+ console.log( this.clName+": tlMinus: tracelvl="+this.utilSvc.getTracelvl() );
+ }
}