Commit column
This commit is contained in:
		
							parent
							
								
									c28df601dc
								
							
						
					
					
						commit
						b31c9f5318
					
				|  | @ -76,7 +76,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController | |||
|         last_deployment: { | ||||
|           include: { | ||||
|             user: { only: [:id, :name, :username], methods: [:avatar_url] }, | ||||
|             deployable: { only: [:id, :name] } | ||||
|             deployable: { only: [:id, :name, :ref, :tag, :short_sha] } | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|  |  | |||
|  | @ -35,7 +35,7 @@ | |||
| 
 | ||||
|     %td | ||||
|       %a{ "v-if" => "!isFolder && model.last_deployment" } | ||||
|       /  = render "projects/deployments/commit", deployment: "{{model.last_deployment}}" | ||||
|       -#  = render "projects/deployments/commit", deployment: "{{model.last_deployment}}" | ||||
|       %p.commit-title{ "v-if" => "!isFolder && !model.last_deployment"} | ||||
|         No deployments yet | ||||
| 
 | ||||
|  | @ -80,7 +80,7 @@ | |||
| 
 | ||||
|     %td | ||||
|       %a{ "v-if" => "child.last_deployment" } | ||||
|       /  = render "projects/deployments/commit", deployment: "{{child.last_deployment}}" | ||||
|       -#  = render "projects/deployments/commit", deployment: "{{child.last_deployment}}" | ||||
|       %p.commit-title{ "v-if" => "!child.last_deployment"} | ||||
|         No deployments yet | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue