We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57e596c commit 2180e61Copy full SHA for 2180e61
app/views/admin/versions/_object_desc_and_link.html.haml
@@ -234,6 +234,12 @@
234
= link_to_organization(version.conference_id)
235
- else
236
(Organization Deleted)
237
+ - elsif version.item_type == 'Commercial'
238
+ - commercial = current_or_last_object_state(version.item_type, version.item_id)
239
+ - commercialable = current_or_last_object_state(commercial.commercialable_type, commercial.commercialable_id)
240
+ - unless commercial.commercialable_type == 'Conference'
241
+ in conference
242
+ = link_to_conference(version.conference_id)
243
244
in conference
245
= link_to_conference(version.conference_id)
0 commit comments