Commit 13948d02 authored by Matthieu Benoist's avatar Matthieu Benoist
Browse files

Merge branch 'DOS0141194' into development

parents 46377fad a72e3b74
Pipeline #15883 passed with stages
in 6 minutes and 24 seconds
<div class="page-container is-fullwidth">
<div class="page-header-container">
<div class="page-header-container ghost-style">
<app-page-header [pageInfo]="pageHeaderInfo"></app-page-header>
<p class="description">
<ng-container i18n="@@organizations.description">The Lyon Metropolitan Area has opened its portal to all
stakeholders in the region who wish to distribute their data, in open data or restricted access. If you wish to
make your data available on this shared platform, do not hesitate to </ng-container>
<a [routerLink]="['/', AppRoutes.contact.uri]" i18n="@@organizations.contactus">contact us</a>.
<ng-container i18n="@@organizations.description_first">
They have chosen to make their data available on data.grandlyon.com: Welcome to the partners of the Métropole de Lyon!
</ng-container>
</p>
<p class="description">
<ng-container i18n="@@organizations.description_middle">
For the players in the territory who wish to distribute their data, in open access or in exclusive sharing,
the data team of the Métropole de Lyon is at your disposal and offers you two types of partnership framework:
</ng-container>
</p>
<ul>
<p>
<li>
<a href="{{ opendata_url }}" i18n="@@organizations.opendata_conv">An open data distribution agreement</a>
</li>
<li>
<a href="{{ privatedata_url }}" i18n="@@organizations.privatedata_conv">A private access data distribution agreement</a>
</li>
</p>
</ul>
<p class="description">
<ng-container i18n="@@organizations.description_last">
Together, let's make data the catalyst for responsible development in Greater Lyon!
</ng-container>
</p>
</div>
......@@ -48,4 +68,4 @@
</div>
</div>
</div>
\ No newline at end of file
</div>
......@@ -10,10 +10,18 @@
.description {
font-size: 17px;
font-weight: 600;
padding-bottom: 1.875rem;
line-height: normal;
}
.ghost-style {
padding-bottom: 1.875rem;
ul p {
padding-top:0px;
}
}
img {
max-height: 100px;
}
......
......@@ -8,6 +8,7 @@ import { DatasetResearchService } from '../../../datasets/services';
import { Aggregation } from '../../../elasticsearch/models';
import { ElasticsearchService } from '../../../elasticsearch/services/elasticsearch.service';
import { AppRoutes } from '../../../routes';
import { environment } from '../../../../environments/environment';
import { IPageHeaderInfo } from '../../../shared/models';
import { scopesResearch } from '../../../shared/variables';
import { Organization } from '../../models';
......@@ -25,6 +26,10 @@ export class OrganizationsComponent implements OnInit {
title: pageTitles.partners,
};
organizations: Organization[];
opendata_url: string = '';
privatedata_url: string ='';
constructor(
private _organizationsService: OrganizationsService,
private _elasticSearchService: ElasticsearchService,
......@@ -32,9 +37,20 @@ export class OrganizationsComponent implements OnInit {
private _notificationService: NotificationService,
private _router: Router,
private _location: Location
) { }
ngOnInit() {
this.opendata_url = AppRoutes.contribution.opendata_url.fr;
this.privatedata_url = AppRoutes.contribution.privatedata_url.fr;
if (window.location.href.includes(environment.angularAppHost.en)) {
this.opendata_url = AppRoutes.contribution.opendata_url.en;
this.privatedata_url = AppRoutes.contribution.privatedata_url.en;
}
this._organizationsService.getOrganizations().pipe(
tap((organizations) => {
this.organizations = organizations;
......
......@@ -230,6 +230,14 @@ export const AppRoutes = {
fr: 'Contribution',
en: 'Contribution',
},
opendata_url: {
en: 'https://download.data.grandlyon.com/conventions/Version_EN_Convention_Cadre_Data_Partenaire_MetropoledeLyon_Donnees_Ouvertes_avec_Annexe.docx',
fr: 'https://download.data.grandlyon.com/conventions/Convention_Cadre_Data_Partenaire_MetropoledeLyon_Donnees_Ouvertes_avec_Annexe.docx'
},
privatedata_url: {
en: 'https://download.data.grandlyon.com/conventions/Version_EN_Convention_Cadre_Data_Partenaire_MetropoledeLyon_Donnees_Privees_avec_Annexe.docx',
fr: 'https://download.data.grandlyon.com/conventions/Convention_Cadre_Data_Partenaire_MetropoledeLyon_Donnees_Privees_avec_Annexe.docx'
},
},
reuses: {
uri: 'reutilisations',
......
......@@ -671,6 +671,26 @@ Here is the list of the last evolutions of the portal. If you wish to contribute
<source>Visit the website</source>
<target>Visit the website</target>
</trans-unit>
<trans-unit id="organizations.description_first" datatype="html">
<source>They have chosen to make their data available on data.grandlyon.com: Welcome to the partners of the Métropole de Lyon!</source>
<target>They have chosen to make their data available on data.grandlyon.com: Welcome to the partners of the Métropole de Lyon!</target>
</trans-unit>
<trans-unit id="organizations.description_middle" datatype="html">
<source>For the players in the territory who wish to distribute their data, in open access or in exclusive sharing, the data team of the Métropole de Lyon is at your disposal and offers you two types of partnership framework:</source>
<target>For the players in the territory who wish to distribute their data, in open access or in exclusive sharing, the data team of the Métropole de Lyon is at your disposal and offers you two types of partnership framework:</target>
</trans-unit>
<trans-unit id="organizations.description_last" datatype="html">
<source>Together, let's make data the catalyst for responsible development in Greater Lyon!</source>
<target>Together, let's make data the catalyst for responsible development in Greater Lyon!</target>
</trans-unit>
<trans-unit id="organizations.opendata_conv" datatype="html">
<source>An open data distribution agreement</source>
<target>An open data distribution agreement</target>
</trans-unit>
<trans-unit id="organizations.privatedata_conv" datatype="html">
<source>A private access data distribution agreement</source>
<target>A private access data distribution agreement</target>
</trans-unit>
<trans-unit id="organizations.description" datatype="html">
<source>The Lyon Metropolitan Area has opened its portal to all stakeholders in the region who wish to distribute their data, in open data or restricted access. If you wish to make your data available on this shared platform, do not hesitate to </source>
<target>The Lyon Metropolitan Area has opened its portal to all stakeholders in the region who wish to distribute their data, in open data or restricted access. If you wish to make your data available on this shared platform, do not hesitate to </target>
......
......@@ -679,6 +679,26 @@ Voici la liste des dernières évolutions du portail. Si vous souhaitez contribu
<source>Visit the website</source>
<target>Voir le site web</target>
</trans-unit>
<trans-unit id="organizations.description_first" datatype="html">
<source>They have chosen to make their data available on data.grandlyon.com: Welcome to the partners of the Métropole de Lyon!</source>
<target>Ils ont choisi de mettre à disposition leurs données sur data.grandlyon.com : Bienvenue aux partenaires de la Métropole de Lyon !</target>
</trans-unit>
<trans-unit id="organizations.description_middle" datatype="html">
<source>For the players in the territory who wish to distribute their data, in open access or in exclusive sharing, the data team of the Métropole de Lyon is at your disposal and offers you two types of partnership framework:</source>
<target>Pour les acteurs du territoire qui souhaitent diffuser leurs données, en accès ouvert ou en partage exclusif, l'équipe data de la Métropole de Lyon est à votre écoute et vous propose deux types de cadre partenarial :</target>
</trans-unit>
<trans-unit id="organizations.description_last" datatype="html">
<source>Together, let's make data the catalyst for responsible development in Greater Lyon!</source>
<target>Faisons ensemble de la donnée, le catalyseur du développement responsable du Grand Lyon ! </target>
</trans-unit>
<trans-unit id="organizations.opendata_conv" datatype="html">
<source>An open data distribution agreement</source>
<target>Une convention de diffusion de données ouvertes</target>
</trans-unit>
<trans-unit id="organizations.privatedata_conv" datatype="html">
<source>A private access data distribution agreement</source>
<target>Une convention de diffusion de données en accès privé</target>
</trans-unit>
<trans-unit id="organizations.description" datatype="html">
<source>The Lyon Metropolitan Area has opened its portal to all stakeholders in the region who wish to distribute their data, in open data or restricted access. If you wish to make your data available on this shared platform, do not hesitate to </source>
<target>La Métropole de Lyon a ouvert son portail à tous les acteurs du territoire qui souhaitent diffuser leurs données,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment