diff --git a/scripts/functions.sh b/scripts/functions.sh
index c875be20f..f90399189 100644
--- a/scripts/functions.sh
+++ b/scripts/functions.sh
@@ -1,7 +1,6 @@
#!/bin/bash
LANGPACKSFOLDER='../../moodle-langpacks'
-stepnumber=$1
function check_success_exit {
if [ $? -ne 0 ]; then
diff --git a/scripts/lang_functions.php b/scripts/lang_functions.php
index 7025faa8e..ea94ec3d1 100644
--- a/scripts/lang_functions.php
+++ b/scripts/lang_functions.php
@@ -186,7 +186,7 @@ function build_lang($lang, $keys) {
$local = 0;
$langparts = explode('-', $lang, 2);
- $parentname = $langparts[0] ?? "";
+ $parentname = $langparts[0] ? $langparts[0] : "";
$parent = "";
echo "Processing $lang";
@@ -307,8 +307,6 @@ function detect_lang($lang, $keys) {
$langname = $string['thislanguage'];
$title .= " ".$langname." -D";
-
-
// Add the translation to the array.
foreach ($keys as $key => $value) {
$string = get_translation_strings($langfoldername, $value->file);
diff --git a/src/addon/mod/workshop/components/index/addon-mod-workshop-index.html b/src/addon/mod/workshop/components/index/addon-mod-workshop-index.html
index c10216d25..f662c02ae 100644
--- a/src/addon/mod/workshop/components/index/addon-mod-workshop-index.html
+++ b/src/addon/mod/workshop/components/index/addon-mod-workshop-index.html
@@ -112,7 +112,7 @@
{{ 'addon.mod_workshop.publishedsubmissions' | translate }}
-
+
@@ -134,7 +134,7 @@
{{ 'addon.mod_workshop.assignedassessmentsnone' | translate }}
-
+
@@ -156,7 +156,7 @@
-
+
0 || hasNextPage">
diff --git a/src/addon/mod/workshop/components/submission/addon-mod-workshop-submission.html b/src/addon/mod/workshop/components/submission/addon-mod-workshop-submission.html
index 70b4e7063..b0b54fde5 100644
--- a/src/addon/mod/workshop/components/submission/addon-mod-workshop-submission.html
+++ b/src/addon/mod/workshop/components/submission/addon-mod-workshop-submission.html
@@ -1,6 +1,6 @@
-
+
{{profile.fullname}}
@@ -21,7 +21,7 @@
{{ 'core.notsent' | translate }}
{{ 'core.deletedoffline' | translate }}
-
+
diff --git a/src/addon/mod/workshop/components/submission/submission.scss b/src/addon/mod/workshop/components/submission/submission.scss
index 6775a13ac..6b67768d9 100644
--- a/src/addon/mod/workshop/components/submission/submission.scss
+++ b/src/addon/mod/workshop/components/submission/submission.scss
@@ -1,4 +1,13 @@
-ion-app.app-root addon-mod-workshop-submission,
-ion-app.app-root .card.with-borders addon-mod-workshop-submission {
- @include core-as-items();
+ion-app.app-root addon-mod-workshop-submission .addon-workshop-submission-title {
+
+ &.item-ios {
+ border-bottom: $list-ios-header-border-bottom;
+ }
+ &.item-md {
+ border-bottom: 1px solid $list-md-border-color;
+ }
+
+ &:last-child {
+ border: 0;
+ }
}
\ No newline at end of file
diff --git a/src/app/app.scss b/src/app/app.scss
index 51e512502..05557bc56 100644
--- a/src/app/app.scss
+++ b/src/app/app.scss
@@ -113,8 +113,8 @@ ion-app.app-root {
@include core-as-items();
}
- .card.with-borders .item,
- .list.with-borders .item {
+ .card.with-borders > .item,
+ .list.with-borders > .item {
@include core-items();
}
diff --git a/src/theme/variables.scss b/src/theme/variables.scss
index 61f401678..20a2d27e9 100644
--- a/src/theme/variables.scss
+++ b/src/theme/variables.scss
@@ -527,7 +527,7 @@ $core-dd-question-colors: $white, $blue-light, #DCDCDC, #D8BFD8, #87CEFA, #DAA52
border-bottom: $hairlines-width solid $list-ios-border-color;
}
- &:last-child > .item-inner {
+ &.item-block:last-child > .item-inner {
border-bottom: 0;
}
}