Fix status images
This commit is contained in:
parent
39b780e615
commit
55cf221b56
|
@ -10,5 +10,5 @@
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<label>{{view Ember.Select contentBinding="view.formats" selectionBinding="view.statusImageFormat"}}</label>
|
<label>{{view Ember.Select contentBinding="view.formats" selectionBinding="view.statusImageFormat"}}</label>
|
||||||
{{view 'status-image' valueBinding="view.statusString" class="url" rows=3}}
|
{{view 'status-image-input' valueBinding="view.statusString" class="url" rows=3}}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -36,7 +36,7 @@ format = (version, slug, branch) ->
|
||||||
url = urlRepo(slug)
|
url = urlRepo(slug)
|
||||||
|
|
||||||
switch version
|
switch version
|
||||||
when 'Image URL' then statusImageUrl(url, slug, branch)
|
when 'Image URL' then statusImageUrl(slug, branch)
|
||||||
when 'Markdown' then markdownStatusImage(url, slug, branch)
|
when 'Markdown' then markdownStatusImage(url, slug, branch)
|
||||||
when 'Textile' then textileStatusImage(url, slug, branch)
|
when 'Textile' then textileStatusImage(url, slug, branch)
|
||||||
when 'Rdoc' then rdocStatusImage(url, slug, branch)
|
when 'Rdoc' then rdocStatusImage(url, slug, branch)
|
||||||
|
|
|
@ -23,7 +23,7 @@ View = BasicView.extend
|
||||||
actions:
|
actions:
|
||||||
statusImages: () ->
|
statusImages: () ->
|
||||||
@popupCloseAll()
|
@popupCloseAll()
|
||||||
view = StatusImagesView.create(toolsView: this)
|
view = StatusImagesView.create(toolsView: this, container: @container)
|
||||||
BasicView.currentPopupView = view
|
BasicView.currentPopupView = view
|
||||||
view.appendTo($('body'))
|
view.appendTo($('body'))
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user