diff --git a/src/main/java/org/olat/course/editor/_content/index.html b/src/main/java/org/olat/course/editor/_content/index.html index 4754ea121a9e5d3adf2d392715a1ca2c493e56f8..2b0019a672cd9c7f55290b4240ac0a3dff8ace56 100644 --- a/src/main/java/org/olat/course/editor/_content/index.html +++ b/src/main/java/org/olat/course/editor/_content/index.html @@ -11,7 +11,7 @@ </div> #end #if($courseNodeDeprecated) -<div class="o_block"> +<div class="o_block o_important"> <p>$r.translate("course.building.block.deprecated")</p> $r.render("alternative") </div> diff --git a/src/main/java/org/olat/course/editor/_i18n/LocalStrings_de.properties b/src/main/java/org/olat/course/editor/_i18n/LocalStrings_de.properties index bcdec6ca15a41de2391826d2cb3bf51e3ec7d4ee..027cd6c58305d4a04ffdecdefcbac66e556b3d57 100644 --- a/src/main/java/org/olat/course/editor/_i18n/LocalStrings_de.properties +++ b/src/main/java/org/olat/course/editor/_i18n/LocalStrings_de.properties @@ -352,7 +352,7 @@ condition.noAccessExplanation.title=Information wenn sichtbar und kein Zugang condition.visibility.title=Sichtbarkeit content=Wissensvermittlung copy.course.element.title=Kursbaustein kopieren -course.building.block.deprecated=Dieser Kursbausteintyp ist veraltet. +course.building.block.deprecated=<b>Dieser Kursbausteintyp ist veraltet.</b> <p> Kurse die diesen Bausteintyp enthalten k\u00F6nnen diesen weiterhin verwenden, es k\u00F6nnen aber keine neuen Bausteine von diesem Typ zum Kurs hinzugef\u00FCgt werden. W\u00E4hlen Sie die Schaltfl\u00E4che "$\:alternative" um einen alternativen Baustein mit \u00E4hnlicher Funktion zu suchen und den Baustein zu konvertieren. course.building.block.disabled=Dieser Kursbausteintyp wurde deaktiviert. Kontaktieren Sie den Administrator, l\u00F6schen Sie den Baustein aus Ihrem Kurs oder w\u00E4hlen Sie die Schaltfl\u00E4che "$\:alternative" um einen alternativen Baustein mit \u00E4hnlicher Funktion zu suchen und den Baustein zu konvertieren. course.building.block.disabled.user=Dieser Kursbausteintyp wurde deaktiviert. Kontaktieren Sie den Administrator oder die Kursleitung. coursefolder.close=Ablageordner schliessen diff --git a/src/main/java/org/olat/course/editor/_i18n/LocalStrings_en.properties b/src/main/java/org/olat/course/editor/_i18n/LocalStrings_en.properties index 372b53845818a137209a40cae2e17f8965738d72..fa4f69fcad0b4d7f0cf554aee4e6286beeffba8e 100644 --- a/src/main/java/org/olat/course/editor/_i18n/LocalStrings_en.properties +++ b/src/main/java/org/olat/course/editor/_i18n/LocalStrings_en.properties @@ -352,8 +352,8 @@ condition.noAccessExplanation.title=Information if visible and no access condition.visibility.title=Visibility content=Knowledge transfer copy.course.element.title=Copy course element -course.building.block.deprecated=This course element is deprecated. -course.building.block.disabled=This course element type has been deactivated. Please contact the system administrator or delete the course element from the course. +course.building.block.deprecated=<b>This course element is deprecated.</b><p>Courses that already use this course element can continue using it, however it is not possible to create new instances of this course element. Select the button "$\:alternative" to search for a course element with similar functionality and to convert the course element. +course.building.block.disabled=This course element type has been deactivated. Please contact the system administrator, delete the course element from the course or select the button "$\:alternative" to search for a course element with similar functionality and to convert the course element. course.building.block.disabled.user=This course element type has been deactivated. Please contact the system or course administrator. coursefolder.close=Close storage folder coursefolder.name=Storage folder diff --git a/src/main/java/org/olat/course/nodes/gta/ui/SubmitDocumentsController.java b/src/main/java/org/olat/course/nodes/gta/ui/SubmitDocumentsController.java index e86c9c4c64992a007af6c2eeb20a90d0157106a9..f9c9ed1942be1c29b2e97fa45733acdc468623f3 100644 --- a/src/main/java/org/olat/course/nodes/gta/ui/SubmitDocumentsController.java +++ b/src/main/java/org/olat/course/nodes/gta/ui/SubmitDocumentsController.java @@ -179,6 +179,8 @@ class SubmitDocumentsController extends FormBasicController { } flc.contextPut("maxDocsWarning", Boolean.FALSE); } + + flc.contextPut("hasDocuments", Boolean.valueOf((documents.length > 0))); } @Override diff --git a/src/main/java/org/olat/course/nodes/gta/ui/_content/documents.html b/src/main/java/org/olat/course/nodes/gta/ui/_content/documents.html index 2a2579d0e0303aa34b5935fa2e8eb46a9bf3c1fa..e2e2b8594ef4bd14084817cfbd11564d135bb307 100644 --- a/src/main/java/org/olat/course/nodes/gta/ui/_content/documents.html +++ b/src/main/java/org/olat/course/nodes/gta/ui/_content/documents.html @@ -13,4 +13,6 @@ #if($maxDocsWarning && !$maxDocsWarning.isEmpty()) <div class="o_warning">$maxDocsWarning</div> #end -$r.render("table") \ No newline at end of file +#if($hasDocuments) + $r.render("table") +#end \ No newline at end of file diff --git a/src/main/java/org/olat/course/nodes/gta/ui/_i18n/LocalStrings_de.properties b/src/main/java/org/olat/course/nodes/gta/ui/_i18n/LocalStrings_de.properties index b4ea2cd0dcd5914b1e2fb22c7e21c65e912c218b..001c7aa0049ad7999bb7589159d86e052cee39fd 100644 --- a/src/main/java/org/olat/course/nodes/gta/ui/_i18n/LocalStrings_de.properties +++ b/src/main/java/org/olat/course/nodes/gta/ui/_i18n/LocalStrings_de.properties @@ -154,7 +154,7 @@ sampling.reuse=Aufgabe wird mehreren Benutzern / Gruppe zugewiesen sampling.unique=Aufgabe wird genau einem Benutzer / Gruppe zugewiesen selected.group=Die Gruppe f\u00FCr diese Aufgabe ist\: <i class\="o_icon o_icon_group"> </i> "{0}" solution.file=Datei -solution.list.description=W\u00E4hlen Sie "Musterl\u00F6sung hochladen" um eine Musterl\u00F6sung hinzuzuf\u00FCgen, oder "Editieren" um eine bestehende Musterl\u00F6sung zu bearbeiten. Bitte beachten Sie dass Musterl\u00F6sungen keiner spezifischen Aufgabe zugewiesen werden. +solution.list.description=W\u00E4hlen Sie "$\:add.solution" um eine Musterl\u00F6sung hinzuzuf\u00FCgen, oder "$org.olat.core\:edit" um eine bestehende Musterl\u00F6sung zu bearbeiten. Bitte beachten Sie dass Musterl\u00F6sungen keiner spezifischen Aufgabe zugewiesen werden. solution.list.title=Musterl\u00F6sungen hochladen solution.title=Titel submission=Abgabe @@ -186,7 +186,7 @@ task.execution=Aufgabe task.execution.group=Als Gruppe task.execution.individual=Individuell task.file=Datei -task.list.description=Ausw\u00E4hlen... +task.list.description=W\u00E4hlen Sie "$\:add.task" um eine Aufgabe als Datei hochzuladen, "$\:create.task" um eine Aufbabe mit dem HTML Editor zu erfassen oder "$org.olat.core\:edit" um bereits hinzugef\u00FCgte Aufgabe zu ver\u00E4ndern. task.list.title=Aufgaben task.steps.description=W\u00E4hlen Sie welche Elemente f\u00FCr den Workflow aktiviert werden sollen und geben Sie optional die dazugeh\u00F6rigen F\u00E4lligkeitsdaten f\u00FCr das Workflow-Management ein. task.steps.title=Abschnitte diff --git a/src/main/java/org/olat/course/nodes/gta/ui/_i18n/LocalStrings_en.properties b/src/main/java/org/olat/course/nodes/gta/ui/_i18n/LocalStrings_en.properties index 43492621dd247255d4e362db9d462d013b5e3030..2b6244f8e20b1c6346909f79aa155dd3da5a83c5 100644 --- a/src/main/java/org/olat/course/nodes/gta/ui/_i18n/LocalStrings_en.properties +++ b/src/main/java/org/olat/course/nodes/gta/ui/_i18n/LocalStrings_en.properties @@ -148,7 +148,7 @@ sampling.reuse=Your task will be assigned to more than one user / group sampling.unique=Your task will be assigned to only one single user / group selected.group=The group for this task is\: <i class\="o_icon o_icon_group"> </i> "{0}" solution.file=File -solution.list.description=Select "Add solution" to add a solution or "Edit" to modify an existing solution. Please note that solutions are not assigned to a particular task. +solution.list.description=Select "$\:add.solution" to add a solution or "$org.olat.core\:edit" to modify an existing solution. Please note that solutions are not assigned to a particular task. solution.list.title=Upload sample solutions solution.title=Title submission=Submission @@ -160,7 +160,6 @@ submission.text=Text after handing in submit.deadline=Submission deadline table.header.comment=Comment table.header.details.gta=$org.olat.course.nodes.ta\:table.header.details.ta -table.header.edit=Action table.header.group.name=Group table.header.passed=Passed table.header.score=Points @@ -178,7 +177,7 @@ task.execution=Task execution task.execution.group=as a group task.execution.individual=individual task.file=File -task.list.description=Select "Add task" or "Create task" to add a new task or "Replace"or "Edit" to modify an existing task. If all users work on the same task, create a single task. +task.list.description=Select "$\:add.task" to add a new task, "$\:create.task" to create a new task using the HTML editor or "$org.olat.core\:edit" to modify an existing task. If all users work on the same task, create a single task. task.list.title=Tasks task.steps.description=Select which elements in the task workflow are enabled and set optional due dates for the workflow management. task.steps.title=Workflow steps