Created
January 21, 2010 13:24
-
-
Save ncri/282792 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-diff --git a/app/models/pdf_container.rb b/app/models/pdf_container.rb | |
-index 7187e3f..a871181 100644 | |
---- a/app/models/pdf_container.rb | |
-+++ b/app/models/pdf_container.rb | |
-@@ -133,12 +133,16 @@ class PdfContainer < Variant | |
- pdf.text picture.title | |
- pdf.text picture.year | |
- pdf.text picture.technique | |
-- pdf.text picture.edition | |
-+ unless picture.edition.blank? | |
-+ pdf.text "Edition of #{picture.edition}" + | |
-+ (picture.picture_attrs.find_by_key("artistsproofs") ? ", #{picture.artistsproofs} AP" : "") | |
-+ end | |
- if !picture.dimension_height_cm.blank? or |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment