]> gitweb.hamatoma.de Git - gadeku.git/commitdiff
- Note: Registerblatt "Shift"
authorHamatoma <author@hamatoma.de>
Thu, 9 May 2024 17:33:29 +0000 (19:33 +0200)
committerHamatoma <author@hamatoma.de>
Thu, 9 May 2024 17:33:29 +0000 (19:33 +0200)
CHANGELOG.md
app/Helpers/ViewHelperLocal.php
database/migrations/2024_05_09_165242_alter_notes.php [new file with mode: 0644]
lang/de_DE.json
resources/views/page/edit.blade.php

index 082365d7079569a124569c2a24e244956bca2be2..ba1ebd7f1e5f3d8f02a800174d91720cf679c8e8 100644 (file)
@@ -1,3 +1,8 @@
+# V 0.3.1 Note
+
+## Added
+- Note: Registerblatt "Shift"
+
 # V 0.2.9 Group
 
 ## Added:
index ee922e5638d51c5bd0d9effc68d77507cc95b148..676a97d46dfaf84f3ee882015d54c6d1bbf0b450 100644 (file)
@@ -29,7 +29,8 @@ class ViewHelperLocal
             case 'note-edit':
                 $rc = new NavigationTabs([
                     "Properties;/note-edit/$referenceId",
-                    "Documents;/note-index_documents/$referenceId"
+                    "Documents;/note-index_documents/$referenceId",
+                    "Shift;/note-edit_shift/$referenceId",
                 ], $indexActive);
                 break;
             case 'word-edit':
diff --git a/database/migrations/2024_05_09_165242_alter_notes.php b/database/migrations/2024_05_09_165242_alter_notes.php
new file mode 100644 (file)
index 0000000..d7187d4
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration
+{
+    /**
+     * Run the migrations.
+     */
+    public function up(): void
+    {
+        Schema::table('notes', function(Blueprint $table) {
+            $table->string('options')->nullable();
+            $table->renameColumn('user_id', 'owner_id');
+          });
+          
+    }
+
+    /**
+     * Reverse the migrations.
+     */
+    public function down(): void
+    {
+        //
+    }
+};
index e1a6bbe9d6ce9ba6b4c74a1010212a7503fad301..70e0066f1fa8ad227adb401f01b7c8dae20ff6fe 100644 (file)
@@ -35,6 +35,7 @@
     "Comparative": "Komparativ",
     "Confirmation": "Best\u00e4tigung",
     "Contents": "Inhalt",
+    "Copy": "Kopieren",
     "Creation of a Document": "Hochladen eines Dokuments",
     "Creation of a File": "Hochladen einer Datei",
     "Creation of a Group": "Erstellen einer Gruppe",
     "Preview": "Vorschau",
     "Privacy": "Datenschutz",
     "Properties": "Eigenschaften",
+    "Recipient group": "Empfangsgruppe",
     "Reference": "Referenz",
     "Remain signed in": "Angemeldet bleiben",
     "Repetition": "Wiederholung",
     "Send": "Absenden",
     "Set Password": "Passwort \u00e4ndern",
     "Settings": "Einstellungen",
+    "Shift": "Verschiebung",
     "Shortname": "Kurzname",
     "Size (MByte)": "Gr\u00f6\u00dfe (MByte)",
     "Someone has requested a password reset.": "Jemand hat das Zur\u00fccksetzen des Passworts angefordert.",
index 236a15fd7e2559c2ce7a75f98f3bbd50ad97996e..152bef748a501d4ad6b9d354af1580e08db8badc 100644 (file)
@@ -25,8 +25,8 @@
             <x-laraknife.forms.text position="alone" name="info" label="Info" value="{{ $context->valueOf('info') }}"
                 width2="10" rows="2" />
             <x-laraknife.forms.file-protected position="alone" name="file" fieldId="{{ $context->model->audio_id }}"
-                label="Audio" width2="4" />
-            <x-laraknife.forms.string position="first" name="previous_id" label="Previous"
+                filename=" {{ $context->valueOf('audio') }}" label="Audio" width2="10" />
+            <x-laraknife.forms.string position="first" name="previous_id" label="Back"
                 value="{{ $context->valueOf('previous_id') }}" width2="1" />
             <x-laraknife.forms.string position="middle" name="up_id" label="Up"
                 value="{{ $context->valueOf('up_id') }}" width1="1" width2="1" />