Skip to content

Commit

Permalink
Show ProviderImages in TargetImage views
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaylor committed Oct 11, 2012
1 parent 36635aa commit 5607609
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/tim/target_images/_target_image.xml.haml
Expand Up @@ -7,5 +7,7 @@
- if target_image.image_version
= render :partial => 'tim/image_versions/image_version_minimal', :locals => {:image_version => target_image.image_version}
%provider_images
- target_image.provider_images.each do |provider_image|
= render :partial => 'tim/provider_images/provider_image_minimal', :locals => {:provider_image => provider_image}
- if controller.template_exists?("custom", "tim/target_images", true)
= render :partial => 'tim/target_images/custom', :locals => {:target_image => target_image}

0 comments on commit 5607609

Please sign in to comment.