Project

General

Profile

« Previous | Next » 

Revision 58632

[Trunk | Connect]:
1. affiliations.component & curators.component: In affiliations website_url, call method 'StringUtils.urlPrefix()' (add "//" prefix, when url does not start with protocol (http, https, //)).
2. community.component.html: [Bug fix] Add checks (<div *ngIf="communityInfo && community" class="publicationsSearchForm ">).

View differences:

curators.component.ts
12 12
import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
13 13
import {PiwikHelper} from "../utils/piwikHelper";
14 14
import {Breadcrumb} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.component";
15
import {StringUtils} from "../openaireLibrary/utils/string-utils.class";
15 16

  
16 17
@Component({
17 18
  selector: 'curators',
......
132 133
    }
133 134
  }
134 135

  
136
  public urlPrefix(url: string): string {
137
    return StringUtils.urlPrefix(url);
138
  }
139

  
135 140
  private updateDescription(description: string) {
136 141
    this._meta.updateTag({content: description}, "name='description'");
137 142
    this._meta.updateTag({content: description}, "property='og:description'");

Also available in: Unified diff