bring list of next events to eventPlaner appCard (currently breakes appCardLinking)

This commit is contained in:
marko
2021-12-24 11:34:42 +01:00
parent bfb024d288
commit eb2b32a85a
4 changed files with 96 additions and 8 deletions

View File

@@ -80,9 +80,9 @@ class AppCard{
"<div style=\"margin:1%;\" class=\"card blue-grey darken-1\">".
(($this->link!=null)?("<a href=\"".$this->link."\">"):(""))."<div class=\"card-content white-text\">".
"<span class=\"card-title\">".$this->title."</span>".
(($this->imgUrl!=null)?("<img style=\"display:block;margin-left:auto;margin-right:auto;max-height:10vh;\" class=\"responsive-img\" src=\"".$this->imgUrl."\" />"):("")).
(($this->imgUrl!=null)?("<img alt=\"".$this->title."\" style=\"display:block;margin-left:auto;margin-right:auto;max-height:10vh;\" class=\"responsive-img\" src=\"".$this->imgUrl."\" />"):("")).
"<p>".$this->description."</p>".
"</div>".(($this->link!=null)?("<a>"):("")).
"</div>".(($this->link!=null)?("</a>"):("")).
"<div class=\"card-action\">".$actionListCode."</div>".
"</div>".
"</div>";