mirror of
				https://github.com/scinote-eln/scinote-web.git
				synced 2025-10-31 16:49:40 +08:00 
			
		
		
		
	Fix the mapping of the columns in the task's full view table [SCI-9978] (#6946)
This commit is contained in:
		
							parent
							
								
									939d31b642
								
							
						
					
					
						commit
						f19e7fed9c
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -21,9 +21,6 @@ | ||||||
|         </div> |         </div> | ||||||
|       </th> |       </th> | ||||||
|       <th id="assigned"><%= t("repositories.table.assigned") %></th> |       <th id="assigned"><%= t("repositories.table.assigned") %></th> | ||||||
|       <% if @repository.is_a?(LinkedRepository) %> |  | ||||||
|         <th id="row-external-id"><%= t('repositories.table.external_id') %></th> |  | ||||||
|       <% end %> |  | ||||||
|       <th id="row-id"><%= t("repositories.table.id") %></th> |       <th id="row-id"><%= t("repositories.table.id") %></th> | ||||||
|       <th id="row-name"><%= t("repositories.table.row_name") %></th> |       <th id="row-name"><%= t("repositories.table.row_name") %></th> | ||||||
|       <th id="relationship"><%= t("repositories.table.relationships") %></th> |       <th id="relationship"><%= t("repositories.table.relationships") %></th> | ||||||
|  | @ -31,6 +28,9 @@ | ||||||
|       <th id="added-by"><%= t("repositories.table.added_by") %></th> |       <th id="added-by"><%= t("repositories.table.added_by") %></th> | ||||||
|       <th id="archived-on"><%= t("repositories.table.archived_on") %></th> |       <th id="archived-on"><%= t("repositories.table.archived_on") %></th> | ||||||
|       <th id="archived-by"><%= t("repositories.table.archived_by") %></th> |       <th id="archived-by"><%= t("repositories.table.archived_by") %></th> | ||||||
|  |       <% if @repository.is_a?(LinkedRepository) %> | ||||||
|  |         <th id="row-external-id"><%= t('repositories.table.external_id') %></th> | ||||||
|  |       <% end %> | ||||||
|       <% @repository.repository_columns.order(:id).each do |column| %> |       <% @repository.repository_columns.order(:id).each do |column| %> | ||||||
|         <th |         <th | ||||||
|           class="repository-column <%= 'row-stock item-stock' if column.data_type == 'RepositoryStockValue' %>" |           class="repository-column <%= 'row-stock item-stock' if column.data_type == 'RepositoryStockValue' %>" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue