diff --git a/src/main/twirl/helper/activities.scala.html b/src/main/twirl/helper/activities.scala.html index 6b1662c..70435f5 100644 --- a/src/main/twirl/helper/activities.scala.html +++ b/src/main/twirl/helper/activities.scala.html @@ -12,31 +12,33 @@ @activityMessage(activity.message) @activity.additionalInfo.map { additionalInfo => - @(activity.activityType match { - case "create_wiki" => { -
- } - case "edit_wiki" => { - - } - case "push" => { - - } - case _ => { - - } - }) + @if(additionalInfo.nonEmpty){ + @(activity.activityType match { + case "create_wiki" => { + + } + case "edit_wiki" => { + + } + case "push" => { + + } + case _ => { + + } + }) + } } }