diff --git a/landingPages/result/resultLanding.component.html b/landingPages/result/resultLanding.component.html index ecc07859..a97b65ec 100644 --- a/landingPages/result/resultLanding.component.html +++ b/landingPages/result/resultLanding.component.html @@ -455,13 +455,9 @@ -
- - -
@@ -568,6 +564,31 @@
+ +
+
+ OA Routes +
+
+
+
+
+
+
Green
+
+
+
+
{{resultLandingInfo.oaRoutes.oaColor}}
+
+
+
+
+
Published in a Diamond OA journal
+
+
+
+
+

diff --git a/sharedComponents/base/base.component.ts b/sharedComponents/base/base.component.ts index a4838b8b..34fe7bc1 100644 --- a/sharedComponents/base/base.component.ts +++ b/sharedComponents/base/base.component.ts @@ -6,6 +6,8 @@ import {PiwikService} from "../../utils/piwik/piwik.service"; import {Meta, Title} from "@angular/platform-browser"; import {SEOService} from "../SEO/SEO.service"; import {ActivatedRoute, Data, NavigationEnd, Params, Router} from "@angular/router"; +import {StringUtils} from "../../utils/string-utils.class"; +import {RouterHelper} from "../../utils/routerHelper.class"; @Directive() export abstract class BaseComponent implements OnDestroy { @@ -24,6 +26,7 @@ export abstract class BaseComponent implements OnDestroy { protected seoService: SEOService; protected _title: Title; protected _router: Router; + public routerHelper: RouterHelper = new RouterHelper(); protected constructor() { } @@ -101,4 +104,8 @@ export abstract class BaseComponent implements OnDestroy { this.subscriptions.push(this._piwikService.trackView(properties, this.title).subscribe()); } } + + public quote(str: string) { + return StringUtils.quote(str); + } }