diff --git a/controllers/QuestsController.inc b/controllers/QuestsController.inc index 51d42cc8..51e1664c 100644 --- a/controllers/QuestsController.inc +++ b/controllers/QuestsController.inc @@ -265,6 +265,10 @@ // Get Questgroup $questgroup = $this->Questgroups->getQuestgroupByUrl($seminary['id'], $questgroupUrl); + $questgroup['picture'] = null; + if(!is_null($questgroup['questgroupspicture_id'])) { + $questgroup['picture'] = $this->Media->getMediaById($questgroup['questgroupspicture_id']); + } // Get Quest $quest = $this->Quests->getQuestByUrl($seminary['id'], $questgroup['id'], $questUrl); @@ -314,6 +318,10 @@ // Get Questgroup $questgroup = $this->Questgroups->getQuestgroupByUrl($seminary['id'], $questgroupUrl); + $questgroup['picture'] = null; + if(!is_null($questgroup['questgroupspicture_id'])) { + $questgroup['picture'] = $this->Media->getMediaById($questgroup['questgroupspicture_id']); + } // Get Quest $quest = $this->Quests->getQuestByUrl($seminary['id'], $questgroup['id'], $questUrl); diff --git a/views/html/charactergroups/group.tpl b/views/html/charactergroups/group.tpl index 9f5bd147..ff53d1cf 100644 --- a/views/html/charactergroups/group.tpl +++ b/views/html/charactergroups/group.tpl @@ -1,17 +1,14 @@ -
Platz
Aktive Beteiligung
@@ -47,7 +48,7 @@
@@ -65,7 +66,7 @@
Klassifikation (3/5)
diff --git a/views/html/characters/index.tpl b/views/html/characters/index.tpl index cd0fde8b..94759710 100644 --- a/views/html/characters/index.tpl +++ b/views/html/characters/index.tpl @@ -1,5 +1,5 @@ -=$code?>: =$string?>
diff --git a/views/html/introduction/index.tpl b/views/html/introduction/index.tpl index de8740da..90ca59f7 100644 --- a/views/html/introduction/index.tpl +++ b/views/html/introduction/index.tpl @@ -1,4 +1,4 @@ -Ein Projekt zum Thema „Gamification im Lehrumfeld“ – basierend auf Die Legende von Zyren.
Entwickler:
=\hhu\z\Utils::t($text['text'])?>
diff --git a/views/html/quests/quest.tpl b/views/html/quests/quest.tpl index 3d440d50..fe27c287 100644 --- a/views/html/quests/quest.tpl +++ b/views/html/quests/quest.tpl @@ -3,11 +3,9 @@