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:
commit
e884e6d013
|
@ -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">
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user