-
Notifications
You must be signed in to change notification settings - Fork 2
MENDELU/Convert full item metadata to hyperlinks #1246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: customer/mendelu
Are you sure you want to change the base?
Changes from all commits
3225693
a44142d
63538f0
771e5a6
f4a6bc0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -119,6 +119,14 @@ export class FullItemPageComponent extends ItemPageComponent implements OnInit, | |
| ); | ||
| } | ||
|
|
||
| /** | ||
| * Check if a metadata value is an HTTP(S) URL. | ||
| */ | ||
| isHttpUrl(value: string | null | undefined): boolean { | ||
| const v = value?.trim().toLowerCase(); | ||
| return !!v && (v.startsWith('http://') || v.startsWith('https://')); | ||
| } | ||
|
Comment on lines
+122
to
+128
|
||
|
|
||
| /** | ||
| * Navigate back in browser history. | ||
| */ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.