Conference name repeated in revision_history on adding commercial
This commit is contained in:
parent
57e596c67e
commit
2180e6197c
1 changed files with 6 additions and 0 deletions
|
|
@ -234,6 +234,12 @@
|
||||||
= link_to_organization(version.conference_id)
|
= link_to_organization(version.conference_id)
|
||||||
- else
|
- else
|
||||||
(Organization Deleted)
|
(Organization Deleted)
|
||||||
|
- elsif version.item_type == 'Commercial'
|
||||||
|
- commercial = current_or_last_object_state(version.item_type, version.item_id)
|
||||||
|
- commercialable = current_or_last_object_state(commercial.commercialable_type, commercial.commercialable_id)
|
||||||
|
- unless commercial.commercialable_type == 'Conference'
|
||||||
|
in conference
|
||||||
|
= link_to_conference(version.conference_id)
|
||||||
- else
|
- else
|
||||||
in conference
|
in conference
|
||||||
= link_to_conference(version.conference_id)
|
= link_to_conference(version.conference_id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue