Skip to content

Commit

Permalink
frontend text resource fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MikkoKauhanen committed Jan 20, 2025
1 parent 04605cb commit 6541bc3
Show file tree
Hide file tree
Showing 14 changed files with 43 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ spring.profiles.active=prod
# spring.jackson.serialization.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS=false

# OAI-PMH FRAME IDENTIFIER
aoe.identify.repository-name=CSC - AOE Open Metadata Interface
aoe.identify.repository-name=OPH - AOE Open Metadata Interface
aoe.identify.base-url=https://aoe.fi/meta/oaipmh
aoe.identify.protocol-version=2.0
aoe.identify.admin-email=oppimateriaalivaranto@csc.fi
aoe.identify.admin-email=oppimateriaalivaranto@aoe.fi
aoe.identify.earliest-datestamp=2019-12-11T11:43:18Z
aoe.identify.deleted-record=persistent
aoe.identify.granularity=YYYY-MM-DDThh:mm:ssZ
Expand Down
4 changes: 2 additions & 2 deletions aoe-infra/environments/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"memory_limit": "1024",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-205",
"image_tag": "ga-306",
"allow_ecs_exec": true,
"env_vars": {
"SPRING_PROFILES_ACTIVE": "prod",
Expand All @@ -66,7 +66,7 @@
"memory_limit": "1024",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-205-dev",
"image_tag": "ga-306-dev",
"allow_ecs_exec": true
},
"web_backend": {
Expand Down
4 changes: 2 additions & 2 deletions aoe-infra/environments/prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"memory_limit": "4096",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-276",
"image_tag": "ga-306",
"allow_ecs_exec": true,
"env_vars": {
"SPRING_PROFILES_ACTIVE": "prod",
Expand All @@ -66,7 +66,7 @@
"memory_limit": "4096",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-276-prod",
"image_tag": "ga-306-prod",
"allow_ecs_exec": true
},
"web_backend": {
Expand Down
4 changes: 2 additions & 2 deletions aoe-infra/environments/qa.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"memory_limit": "1024",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-205",
"image_tag": "ga-306",
"allow_ecs_exec": true,
"env_vars": {
"SPRING_PROFILES_ACTIVE": "prod",
Expand All @@ -66,7 +66,7 @@
"memory_limit": "1024",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-257-qa",
"image_tag": "ga-306-qa",
"allow_ecs_exec": true
},
"web_backend": {
Expand Down
2 changes: 1 addition & 1 deletion aoe-semantic-apis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "dist/server.js",
"repository": {
"type": "git",
"url": "https://gitlab.ci.csc.fi/aoe/aoe-semantic-apis.git"
"url": "https://github.com/Opetushallitus/aoe.git"
},
"author": "CSC - IT Center for Science Ltd.",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion aoe-streaming-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Streaming Service for the Library of Open Educational Resources",
"repository": {
"type": "git",
"url": "git@gitlab.ci.csc.fi:10022/aoe/aoe-streaming-app.git"
"url": "/~https://github.com/Opetushallitus/aoe.git"
},
"author": "CSC - IT Center for Science Ltd.",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion aoe-web-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Library of Open Educational Resources",
"repository": {
"type": "git",
"url": "git@gitlab.ci.csc.fi:10022/aoe/aoe-web-backend.git"
"url": "/~https://github.com/Opetushallitus/aoe.git"
},
"author": "CSC - IT Center for Science Ltd.",
"contributors": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,11 @@ <h2 class="text-center">{{ "footer.name" | translate }}</h2>

<div class="col-sm-6 col-md">
<ul class="nav flex-column">
<li class="nav-item">
<a href="https://twitter.com/AOE_Suomi">{{ "footer.twitter" | translate }}</a>
</li>
<li class="nav-item">
<a href="https://finna.fi/">Finna.fi</a>
</li>
<li class="nav-item">
<a href="https://wiki.eduuni.fi/pages/viewrecentblogposts.action?key=CscOppimateriaalivaranto">
{{ "footer.blog" | translate }}
</a>
<a href="https://wiki.eduuni.fi/x/i_iLI">{{ "footer.blog" | translate }}</a>
</li>
</ul>
</div>
Expand Down
7 changes: 4 additions & 3 deletions aoe-web-frontend/src/app/mocks/accessibility-policy.mock.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Accessibility } from './accessibility.mock';
/* eslint-disable max-len */
import { environment } from '../../environments/environment';

/**
* Accessibility Policy mock
Expand All @@ -26,7 +27,7 @@ export const AccessibilityPolicy = {
{
heading: 'Oppimateriaalien saavutettavuus',
content: [
'Aoe.fi-palveluun tallennettujen oppimateriaalien saavutettavuudesta vastaa oppimateriaalin laatija. Lisätietoja digipalvelulain saavutettavuusvaatimuksista ja soveltamisalasta eri toimijoille voit lukea Aluehallintoviraston ylläpitämältä <a href="https://www.saavutettavuusvaatimukset.fi/digipalvelulain-vaatimukset/" target="_blank" rel="noopener noreferrer">saavutettavuusvaatimukset.fi-verkkosivustolta</a>. Aoe.fi-palvelussa on mahdollista rajata hakua tietyillä saavutettavuusominaisuuksilla. Käyttäjä voi materiaalia tallennettaessa voi lisätä tiedon, millä tavoin saavutettavuus on materiaalissa huomioitu. Lisätietoa saavutettavuuden huomioimisesta aoe.fi-palveluun tallennettavissa materiaaleissa voit lukea <a href="https://aoe.fi/#/saavutettavuus" target="_blank" rel="noopener noreferrer">aoe.fi-palvelun taulukosta</a>, johon on koottu esimerkkejä ja ohjeita.',
`Aoe.fi-palveluun tallennettujen oppimateriaalien saavutettavuudesta vastaa oppimateriaalin laatija. Lisätietoja digipalvelulain saavutettavuusvaatimuksista ja soveltamisalasta eri toimijoille voit lukea Aluehallintoviraston ylläpitämältä <a href="https://www.saavutettavuusvaatimukset.fi/digipalvelulain-vaatimukset/" target="_blank" rel="noopener noreferrer">saavutettavuusvaatimukset.fi-verkkosivustolta</a>. Aoe.fi-palvelussa on mahdollista rajata hakua tietyillä saavutettavuusominaisuuksilla. Käyttäjä voi materiaalia tallennettaessa voi lisätä tiedon, millä tavoin saavutettavuus on materiaalissa huomioitu. Lisätietoa saavutettavuuden huomioimisesta aoe.fi-palveluun tallennettavissa materiaaleissa voit lukea <a href="${environment.frontendUrl}/#/saavutettavuus" target="_blank" rel="noopener noreferrer">aoe.fi-palvelun taulukosta</a>, johon on koottu esimerkkejä ja ohjeita.`,
],
},
{
Expand Down Expand Up @@ -69,7 +70,7 @@ export const AccessibilityPolicy = {
{
heading: 'Accessibility of learning materials',
content: [
'The party responsible for the accessibility of an educational resource is the creator of the educational resource. More information about the accessibility requirements and scope of the Act on the Provision of Digital Services for different operators is available on <a href="https://www.webaccessibility.fi/requirements-of-the-act-on-the-provision-of-digital-services/" target="_blank" rel="noopener noreferrer">the webaccessibility.fi website</a> maintained by the Regional State Administrative Agency. The aoe.fi service offers the option of narrowing searches based on specific accessibility features. When uploading educational resources to the service, users can add information on how accessibility has been taken into account in the resource. For more information about how to take accessibility into account in the educational resources uploaded to the aoe.fi service, please see <a href="https://aoe.fi/#/saavutettavuus" target="_blank" rel="noopener noreferrer"> this table in the aoe.fi service</a>, which includes examples and instructions.',
`The party responsible for the accessibility of an educational resource is the creator of the educational resource. More information about the accessibility requirements and scope of the Act on the Provision of Digital Services for different operators is available on <a href="https://www.webaccessibility.fi/requirements-of-the-act-on-the-provision-of-digital-services/" target="_blank" rel="noopener noreferrer">the webaccessibility.fi website</a> maintained by the Regional State Administrative Agency. The aoe.fi service offers the option of narrowing searches based on specific accessibility features. When uploading educational resources to the service, users can add information on how accessibility has been taken into account in the resource. For more information about how to take accessibility into account in the educational resources uploaded to the aoe.fi service, please see <a href="${environment.frontendUrl}/#/saavutettavuus" target="_blank" rel="noopener noreferrer"> this table in the aoe.fi service</a>, which includes examples and instructions.`,
],
},
{
Expand Down Expand Up @@ -112,7 +113,7 @@ export const AccessibilityPolicy = {
{
heading: 'Läromedlens tillgänglighet',
content: [
'Den som har utarbetat lärresursen ansvarar för dess tillgänglighet. Mer information om tillgänglighetskraven enligt lagen om digitala tjänster och lagens tillämpningsområde för olika aktörer finns på webbplatsen <a href="https://www.tillganglighetskrav.fi/lagar-och-standarder/" target="_blank" rel="noopener noreferrer">Tillgänglighetskrav</a>, som drivs av Regionförvaltningsverket. I aoe.fi-tjänsten kan man avgränsa sökningen med vissa tillgänglighetsegenskaper. När användaren lagrar material kan den lägga till information om hur tillgängligheten har beaktats i materialet. Mer information om hur tillgängligheten har beaktats i material som lagrats i aoe.fi-tjänsten finns i <a href="https://aoe.fi/#/saavutettavuus" target="_blank" rel="noopener noreferrer">en tabell i aoe.fi-tjänsten</a>, som innehåller exempel och anvisningar.',
`Den som har utarbetat lärresursen ansvarar för dess tillgänglighet. Mer information om tillgänglighetskraven enligt lagen om digitala tjänster och lagens tillämpningsområde för olika aktörer finns på webbplatsen <a href="https://www.tillganglighetskrav.fi/lagar-och-standarder/" target="_blank" rel="noopener noreferrer">Tillgänglighetskrav</a>, som drivs av Regionförvaltningsverket. I aoe.fi-tjänsten kan man avgränsa sökningen med vissa tillgänglighetsegenskaper. När användaren lagrar material kan den lägga till information om hur tillgängligheten har beaktats i materialet. Mer information om hur tillgängligheten har beaktats i material som lagrats i aoe.fi-tjänsten finns i <a href="${environment.frontendUrl}/#/saavutettavuus" target="_blank" rel="noopener noreferrer">en tabell i aoe.fi-tjänsten</a>, som innehåller exempel och anvisningar.`,
],
},
{
Expand Down
Loading

0 comments on commit 6541bc3

Please sign in to comment.