diff --git a/app/models/writing_conference.rb b/app/models/writing_conference.rb index fd27478..04fef8f 100644 --- a/app/models/writing_conference.rb +++ b/app/models/writing_conference.rb @@ -84,7 +84,9 @@ class WritingConference end def create_link - title = ["#{self.paper_title}"] + title = [] + title << self.authors if self.authors.present? + title << self.paper_title if self.paper_title.present? title << self.conference_title if self.conference_title.present? title << self.sponsor if self.sponsor.present? title << self.location if self.location.present? diff --git a/app/views/panel/personal_conference/front_end/_profile.html.erb b/app/views/panel/personal_conference/front_end/_profile.html.erb index a0e1350..ad80cbb 100644 --- a/app/views/panel/personal_conference/front_end/_profile.html.erb +++ b/app/views/panel/personal_conference/front_end/_profile.html.erb @@ -23,7 +23,6 @@ <%= t('personal_conference.year') %> <%= t('module_name.personal_conference') %> - <%= t('personal_conference.authors') %> @@ -35,7 +34,6 @@ <%= link_to writing_conference.create_link, panel_personal_conference_front_end_writing_conference_path(writing_conference) %> - <%= User.find(writing_conference.create_user_id).name rescue '' %> <% end %>