Skip to content
Snippets Groups Projects
Commit f096095a authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #22943 TIME 0:05 set license href

parent 093dbb3c
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
Copyright © 2008-{{currentYear}} Maarch SAS {{'lang.groupeCompany' | translate}}
</ion-item>
<ion-item lines="none" style="margin-top:-10px;">
{{'lang.maarchLicense' | translate}} &nbsp;{{license}}.
{{'lang.maarchLicense' | translate}} &nbsp;<a target="blank" [href]="getLicenseHref()">{{license}}</a>.
</ion-item>
<ion-item style="margin-top: -15px;" lines="none">
<ul>
......
......@@ -95,4 +95,8 @@ export class AboutUsComponent implements OnInit {
).subscribe();
});
}
getLicenseHref(): string {
return `${this.functions.getBaseUrl().split('#')[0]}assets/LICENSE.txt`;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment