@(alarms: List[Alarm], alarmForm: Form[Alarm]) @* alarms and alarmForm are the 2 inputs to this template, where alarms is of the type List[Alarm] and alarmForm of the type Form[Alarm]*@ @* template can not be started with a comment *@ @import helper._ @import play.api.libs.json._ @import play.i18n._ @main("Alarm list") {

  @Messages.get("arrow.reception")

  @Messages.get("arrow.registration")

  @Messages.get("arrow.assessment")

  @Messages.get("arrow.actions")

@Messages.get("assignedlist.title")

@for((alarm,index) <- alarms.zipWithIndex){ @if((null != alarm.attendant) && (alarm.attendant.username == "Karin") && (null == alarm.dispatchingTime)){ @if(null != alarm.expired && true == alarm.expired){ }

@Messages.get("listitem.arrived") @alarm.openingTime.format("dd/MM HH:mm")

@{Messages.get("listitem.callee")} @{alarm.callee.name} @{alarm.callee.phoneNumber} ;

} }

@Messages.get("followuplist.title")

@for((alarm,index) <- alarms.zipWithIndex){ @if((null != alarm.attendant) && (alarm.attendant.username == "Karin") && (null != alarm.dispatchingTime)){ @if(null != alarm.expired && true == alarm.expired){ }

@Messages.get("listitem.arrived") @alarm.openingTime.format("dd/MM HH:mm")

@{Messages.get("listitem.callee")} @{alarm.callee.name} @{alarm.callee.phoneNumber} ;

} }
@requestInfoFrame()
@Messages.get("assessment.tab.question.conscious")
@Messages.get("assessment.tab.question.breathing")
@Messages.get("assessment.tab.question.move")
@Messages.get("assessment.tab.question.standup")
@Messages.get("assessment.tab.question.talk")
@Messages.get("assessment.log") :
NMI assessment
@Messages.get("assessment.log.affirmation.conscious")
@Messages.get("assessment.log.affirmation.breathing")
@Messages.get("assessment.log.affirmation.move")
@Messages.get("assessment.log.affirmation.standup")
@Messages.get("assessment.log.affirmation.talk")
@Messages.get("assessment.log.negation.conscious")
@Messages.get("assessment.log.negation.breathing")
@Messages.get("assessment.log.negation.move")
@Messages.get("assessment.log.negation.standup")
@Messages.get("assessment.log.negation.talk")
@Messages.get("assessment.log.sensor")
@Messages.get("assessment.log.obs")
@dispatchFrame()

@Messages.get("statistics.avgresp"): 20,1 @Messages.get("statistics.timeunit")

@Messages.get("statistics.maxresptime"): 59 @Messages.get("statistics.timeunit")

@Messages.get("statistics.numberRespAbov30sec"): 15

@Messages.get("statistics.numberResponseToday"): 250

@Messages.get("actions.popup.send.notes"):
}