Browse Source

improved gui

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
module/files
Stephan Richter 1 month ago
parent
commit
4ed0f80345
  1. 5
      frontend/src/routes/files/Index.svelte
  2. 2
      translations/src/main/resources/de.json
  3. 2
      translations/src/main/resources/en.json

5
frontend/src/routes/files/Index.svelte

@ -123,7 +123,7 @@ @@ -123,7 +123,7 @@
</script>
<h1>{t('files')}{children?.title}</h1>
parent: {parent}
<ul>
{#if parent}
<li class="dir parent">
@ -136,6 +136,7 @@ parent: {parent} @@ -136,6 +136,7 @@ parent: {parent}
<li class="dir">
<span class="symbol"></span>
<a href={'/files'+k} {onclick}>{v}</a>
<button class="symbol">x</button>
</li>
{/each}
{/if}
@ -144,7 +145,7 @@ parent: {parent} @@ -144,7 +145,7 @@ parent: {parent}
<form onsubmit={create_dir} >
<span class="symbol">+</span>
<input type="text" bind:value={new_dir} />
<button type="submit" disabled={!available} >{t('create_directory')}</button>
<button type="submit" disabled={!available} >{t('create_new_object',{object:t('directory')})}</button>
</form>
</li>
{/if}

2
translations/src/main/resources/de.json

@ -56,6 +56,7 @@ @@ -56,6 +56,7 @@
"depends_on": "hängt ab von",
"description": "Beschreibung",
"detail": "Details",
"directory": "Verzeichnis",
"display_closed": "abgeschlossene anzeigen",
"display_closed_tasks": "abgeschlossene Aufgaben anzeigen",
"docs_of_company": "Dokumente von {company}",
@ -266,6 +267,7 @@ @@ -266,6 +267,7 @@
"unlink": "Trennen",
"update": "aktualisieren",
"UPDATE_USERS" : "Nutzer aktualisieren",
"upload_file": "Datei hochladen",
"user": "Benutzer",
"user_list": "Benutzer-Liste",
"user_module" : "Umbrella User-Verwaltung",

2
translations/src/main/resources/en.json

@ -56,6 +56,7 @@ @@ -56,6 +56,7 @@
"depends_on": "depends on",
"description": "description",
"detail": "detail",
"directory": "directory",
"display_closed": "display closed",
"display_closed_tasks": "display closed tasks",
"docs_of_company": "documents of {company}",
@ -266,6 +267,7 @@ @@ -266,6 +267,7 @@
"unlink": "unlink",
"update": "update",
"UPDATE_USERS" : "update users",
"upload_file": "upload file",
"user": "user",
"user_list": "user list",
"user_module" : "Umbrella user management",

Loading…
Cancel
Save