fix admin display of digital products
copied from funkensturm's fix.
This commit is contained in:
committed by
Michael Bianco
parent
c997f03bc1
commit
ae106dd280
@@ -10,9 +10,9 @@
|
||||
<% else %>
|
||||
This product has no variants.
|
||||
|
||||
<% if @product.master.digital? %>
|
||||
<% if @product.master.digital? %>
|
||||
A digital version of this product currently exists:
|
||||
<%= render @product.master.digital %>
|
||||
<%= render @product.master.digitals %>
|
||||
<% end %>
|
||||
|
||||
<%= render 'form', :variant => @product.master %>
|
||||
|
||||
@@ -12,5 +12,6 @@ en:
|
||||
mp3: Audio MP3
|
||||
mobi: Kindle eBook
|
||||
epub: ePub eBook
|
||||
pdf: pdf eBook
|
||||
spree_digital:
|
||||
upload: Upload
|
||||
Reference in New Issue
Block a user