Merge pull request #253 from travis-ci/hh-show-status-image-popup-everyone

feat(repo-tools): show status image popup to everyone
This commit is contained in:
Hiro Asari 2014-01-28 19:31:35 -08:00
commit e884e6d013
2 changed files with 0 additions and 8 deletions

View File

@ -12,13 +12,9 @@
</li>
{{/if}}
</ul>
{{#if view.displayStatusImages}}
<a href="#" id="status-image-popup" name="status-images" class="open-popup" {{action "statusImages" target="view"}}>
<img {{bind-attr src="view.statusImageUrl"}} title="Build Status Images"/>
</a>
{{/if}}
</div>
<div id="regenerate-key" class="popup">

View File

@ -124,10 +124,6 @@ Travis.reopen
Travis.Urls.statusImage(@get('slug'))
).property('slug')
displayStatusImages: (->
@get('hasPermission')
).property('hasPermission')
statusImages: ->
@popupCloseAll()
view = Travis.StatusImagesView.create(toolsView: this)