Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commit a61ca1f

Browse files
authored
Merge pull request #387 from NDLANO/disable-externals
Disable external search
2 parents 6ed5566 + d440bdd commit a61ca1f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/learningPath/step/edit/LearningPathStepEmbed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class LearningPathStepEmbed extends React.Component {
5252
<button type="button" className="button--primary-outline" onClick={this.toggleNdlaDisplay}>
5353
{polyglot.t("embedSearch.ndlaButton")}
5454
</button>
55-
<button type="button" className="button--primary-outline" onClick={this.handleExternalDisplayOpen}>
55+
<button type="button" className="button--primary-outline" onClick={this.handleExternalDisplayOpen} disabled>
5656
{polyglot.t("embedSearch.externalButton")}
5757
</button>
5858
</div>

src/locale/phrases/phrases-en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ const phrases = {
213213
publish: "Publish",
214214
},
215215
editPathStep: {
216-
urlLabel: "Paste link (URL) from ndla.no or youtube.com",
216+
urlLabel: "Paste link (URL) from ndla.no",
217217
mediatype: {
218218
introduction: "Introduction",
219219
text: "Text",

src/locale/phrases/phrases-nb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ const phrases = {
214214
publish: "Publiser",
215215
},
216216
editPathStep: {
217-
urlLabel: "Lim inn lenke (URL) fra ndla.no eller youtube.com",
217+
urlLabel: "Lim inn lenke (URL) fra ndla.no",
218218
mediatype: {
219219
introduction: "Introduksjon",
220220
text: "Tekst",

src/locale/phrases/phrases-nn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ const phrases = {
214214
publish: "Publiser",
215215
},
216216
editPathStep: {
217-
urlLabel: "Lim inn lenke (URL) frå ndla.no eller youtube.com",
217+
urlLabel: "Lim inn lenke (URL) frå ndla.no",
218218
mediatype: {
219219
introduction: "Introduksjon",
220220
text: "Tekst",

src/locale/phrases/phrases-se.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ const phrases = {
214214
publish: "Publiser",
215215
},
216216
editPathStep: {
217-
urlLabel: "Lim inn lenke (URL) fra ndla.no eller youtube.com",
217+
urlLabel: "Lim inn lenke (URL) fra ndla.no",
218218
mediatype: {
219219
introduction: "Introduksjon",
220220
text: "Tekst",

src/locale/phrases/phrases-sma.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ const phrases = {
214214
publish: "Publiser",
215215
},
216216
editPathStep: {
217-
urlLabel: "Lim inn lenke (URL) fra ndla.no eller youtube.com",
217+
urlLabel: "Lim inn lenke (URL) fra ndla.no",
218218
mediatype: {
219219
introduction: "Introduksjon",
220220
text: "Tekst",

0 commit comments

Comments
 (0)