@switch (a.action.id) {
@case (1) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} created video {{ a.video.name }}
}
@case (2) {
{{ account }} created playlist {{ a.playlist.name }}
}
@case (4) {
{{ account }} created a channel synchronization: {{ a.channelSync.externalChannelUrl }}
}
@case (5) {
{{ account }} imported video {{ a.videoImport.name }}: {{ a.videoImport.targetUrl }}
}
}
}
@case (2) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} updated video {{ a.video.name }}
}
@case (2) {
{{ account }} updated playlist {{ a.playlist.name }}
}
@case (3) {
{{ account }} updated the channel
}
}
}
@case (3) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} deleted video {{ a.video.name }}
}
@case (2) {
{{ account }} deleted playlist {{ a.playlist.name }}
}
@case (4) {
{{ account }} delete channel synchronization {{ a.channelSync.externalChannelUrl }}
}
}
}
@case (4) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} updated captions of video {{ a.video.name }}
}
}
}
@case (5) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} updated chapters of video {{ a.video.name }}
}
}
}
@case (6) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} updated passwords of video {{ a.video.name }}
}
}
}
@case (7) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} created studio tasks of video {{ a.video.name }}
}
}
}
@case (8) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} updated source file of video {{ a.video.name }}
}
}
}
@case (9) {
@switch (a.targetType.id) {
@case (2) {
{{ account }} updated elements of playlist {{ a.playlist.name }}
}
}
}
@case (10) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} removed video {{ a.video.name }} by updating its channel
}
@case (2) {
{{ account }} removed playlist {{ a.playlist.name }} by updating its channel
}
}
}
@case (11) {
@switch (a.targetType.id) {
@case (1) {
{{ account }} created video {{ a.video.name }} by updating its channel
}
@case (2) {
{{ account }} created playlist {{ a.playlist.name }} by updating its channel
}
}
}
}