<div class="deploy container-fluid">
	<div class="row">
		<div class="col-md-12">
			<p><b>Description</b></p>
			<p class="prose">{{deployment.description || '(no description)'}}</p>
		</div>
	</div>
	<div class="row">
		<div class="col-md-2">
			<p><b>Deployed by</b></p>
			<a href="https://git-aws.internal.justin.tv/{{deployment.github_creator.login}}">
				<img class="deployer_avatar" title="{{deployment.github_creator.login}}" ng-src="{{deployment.github_creator.avatar_url}}"/>{{deployment.github_creator.login}}
			</a>
		</div>
		<div class="col-md-2">
			<p><b>Deployed</b></p>
			<a tooltip-placement="right" tooltip="{{deployments.statuses[deployment.id].description || 'Jenkins'}}" href="{{deployments.statuses[deployment.id].target_url}}">
				<span ng-class="deploy_status_for(deployment.id)" style="width: 14px;"></span>
			</a>
			<span am-time-ago="deployment.created_at" title="{{deployment.created_at}}"></span>
		</div>
		<div class="col-md-2">
			<p><b>Environment</b></p>
			{{deployment.environment}}
		</div>
		<div class="col-md-3">
			<p><b>Repository</b></p>
			{{deployment.owner}}/{{deployment.repository}}
		</div>
		<div class="col-md-3">
			<p><b>Commit</b></p>
			{{deployment.branch}} @ 
			<code>
				<a href="https://git-aws.internal.justin.tv/{{deployment.owner}}/{{deployment.repository}}/commit/{{deployment.sha}}">{{deployment.sha | limitTo:8}}</a>
			</code>
		</div>
	</div>
</div>

<h3>Log</h3>
<div>
	<pre>{{log}}</pre>
</div>