Add author field for list
This commit is contained in:
		
							parent
							
								
									316d72d4a5
								
							
						
					
					
						commit
						daa29fdac6
					
				| 
						 | 
				
			
			@ -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?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,7 +23,6 @@
 | 
			
		|||
          <tr>
 | 
			
		||||
      			<th class="grid1"><%= t('personal_conference.year') %></th>
 | 
			
		||||
            <th class="grid8"><%= t('module_name.personal_conference') %></th>
 | 
			
		||||
      			<th class="grid3"><%= t('personal_conference.authors') %></th>
 | 
			
		||||
      		</tr>
 | 
			
		||||
        </thead>
 | 
			
		||||
        <tbody>
 | 
			
		||||
| 
						 | 
				
			
			@ -35,7 +34,6 @@
 | 
			
		|||
      			<td>
 | 
			
		||||
      			<%= link_to writing_conference.create_link, panel_personal_conference_front_end_writing_conference_path(writing_conference) %>
 | 
			
		||||
      			</td>
 | 
			
		||||
            <td><%= User.find(writing_conference.create_user_id).name rescue '' %></td>
 | 
			
		||||
      		</tr>		
 | 
			
		||||
      		
 | 
			
		||||
      	<% end %>	
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue