changing text based on whether this was a deployment

This commit is contained in:
Jeff Storey
2016-03-29 18:40:24 -04:00
parent 8a6857a74b
commit e68ae7145b
3 changed files with 25 additions and 6 deletions

View File

@@ -42,10 +42,16 @@ block content
h3 #{$build.Message}
p.card-text
em #{$build.Author}
span authored
if $build.Event != "deployment"
span authored
else
span deployed
em[data-livestamp=$build.Created]
span to
em #{$build.Branch}
if $build.Event != "deployment"
em ${build.Branch}
else
em #{$build.Deploy}
block append scripts