diff --git a/app/components/owner-repo-tile.coffee b/app/components/owner-repo-tile.coffee index db65e286..1f491361 100644 --- a/app/components/owner-repo-tile.coffee +++ b/app/components/owner-repo-tile.coffee @@ -14,6 +14,15 @@ OwnerRepoTileComponent = Ember.Component.extend @get('repo.slug').split(/\//)[1] ).property('repo.slug') + isAnimating: (-> + state = @get('repo.default_branch.last_build.state') + animationStates = ['received', 'queued', 'started', 'booting'] + + unless animationStates.indexOf(state) == -1 + true + + ).property('repo.default_branch.last_build.state') + diff --git a/app/styles/app/modules/icons.sass b/app/styles/app/modules/icons.sass index 815086a7..6534f042 100644 --- a/app/styles/app/modules/icons.sass +++ b/app/styles/app/modules/icons.sass @@ -228,6 +228,13 @@ i:nth-of-type(3) animation-delay: 0.7s +.icon-owner-receiving + @extend .icon-receiving + margin-right: 0.5em !important + i + width: 5px + height: 5px + background-color: #ECCE4B @keyframes bubbleScale 0%, 80%, 100% diff --git a/app/templates/components/owner-repo-tile.hbs b/app/templates/components/owner-repo-tile.hbs index ef232f50..a9cb5749 100644 --- a/app/templates/components/owner-repo-tile.hbs +++ b/app/templates/components/owner-repo-tile.hbs @@ -2,7 +2,11 @@
{{/if}}
- + {{#if isAnimating}} + + {{else}} + + {{/if}}

{{#link-to "repo" ownerName repoName }}{{repoName}}{{/link-to}}

{{#if repo.default_branch.last_build}}