+ {#if $cur_tab.doc.can_edit}
- {#if upload_progress !== null}
-
- {/if}
- {#if commits}
- {#await commits.load()}
-
{$t("connectivity.loading")}...
- {:then}
- {#each $commits.files as file}
-
-
- {#await get_blob(file, true)}
-
-
-
- {:then url}
- {#await isImage(url) then is}
- {#if is}
-
- {/if}
- {/await}
-
{file.name}
- {#if url === false}
-
{$t("errors.cannot_load_this_file")}
- {:else if prepare_url(file.nuri)}
-
-
download(file)}>
- {$t("doc.file.download")}
-
+ {/if}
+ {#if upload_progress !== null}
+
+ {/if}
+ {#if commits}
+ {#await commits.load()}
+
{$t("connectivity.loading")}...
+ {:then}
+ {#each $commits.files as file}
+
+
+ {#await get_blob(file, true)}
+
+
+
+ {:then url}
+ {#await isImage(url) then is}
+ {#if is}
+
{/if}
{/await}
-
- {/each}
- {/await}
- {/if}
+
{file.name}
+ {#if url === false}
+
{$t("errors.cannot_load_this_file")}
+ {:else if prepare_url(file.nuri)}
+
+
download(file)}>
+ {$t("doc.file.download")}
+
+ {/if}
+ {/await}
+
+ {/each}
+ {/await}
+ {/if}
\ No newline at end of file
diff --git a/ng-app/src/locales/en.json b/ng-app/src/locales/en.json
index 07b57912..c82ae57e 100644
--- a/ng-app/src/locales/en.json
+++ b/ng-app/src/locales/en.json
@@ -551,7 +551,8 @@
"NotARendezVous": "You scanned an invalid QR-Code.",
"camera_unavailable": "Camera is unavailable.",
"ServerAlreadyRunningInOtherProcess": "App is already running on this device. Check it and close it.",
- "cannot_load_this_file": "Cannot load this file"
+ "cannot_load_this_file": "Cannot load this file",
+ "graph_not_found": "Graph not found"
},
"connectivity": {
"stopped": "Stopped",
diff --git a/ng-app/src/store.ts b/ng-app/src/store.ts
index 3cb9038d..5089f4e5 100644
--- a/ng-app/src/store.ts
+++ b/ng-app/src/store.ts
@@ -45,7 +45,7 @@ init({
});
export const display_error = (error: string) => {
- console.log(error);
+ //console.log(error);
// TODO: Check, if error tranlsation does not exist
const parts = error.split(":");
let res = get(format)("errors." + parts[0]);
diff --git a/ng-oxigraph/src/oxigraph/sparql/dataset.rs b/ng-oxigraph/src/oxigraph/sparql/dataset.rs
index 5987ff33..3551f5dd 100644
--- a/ng-oxigraph/src/oxigraph/sparql/dataset.rs
+++ b/ng-oxigraph/src/oxigraph/sparql/dataset.rs
@@ -72,9 +72,9 @@ impl DatasetView {
fn parse_graph_name(&self, graph_name: &EncodedTerm) -> Result