<? global $vis_language; 
$class='';$attached_id='';?>
<div  class="wrapper-sm m-b-none m-t">
	<?php if($total_release>0){ ?>
				<div class="row">
					<div class="col-sm-4 m-t-xs">
						<span class="m-l-sm"><a class="link m-l-xs" href="#/releases/releases_details/<? echo $attached_release[0]['release_hash'];?>/<? echo $attached_release[0]['release_id'];?>" title=""><? echo $attached_release[0]['release_hash'];?></a></span>
						<span class="m-l-sm"><? echo $attached_release[0]['release_name'];?></span>
					</div>
					<div class="col-sm-3 m-t-xs">
						<span class="m-l-sm"><? echo $attached_release[0]['domain_name'].' : '.$attached_release[0]['department_name'];?></span>
					</div>
					<div class="col-sm-2 m-t-xs">
					   <label><? echo $vis_language['TXTSTATUS']; ?></label>
					   <span class="m-l-sm"><? echo $attached_release[0]['status_name'];?></span>
					</div>
					<div class="col-sm-1 m-t-xs pull-right">
						<label><a class="text-muted link" href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=problem&vis_operation=confirm_detach_ci&vis_attach_type=3&vis_parent_id=<? echo $changes_details['changes_id'];?>&vis_detach_for=changes&vis_child_id=<? echo $attached_release[0]['release_id'];?>" title="<? echo $vis_language['TXTITILDETACH']; ?>"><?= $vis_language['TXTITILDETACH'];?></a></label>
					</div>	
				</div>
		<?php }else {?>
		<div class="row">
			<div class="col-sm-12 m-t-xs">
				<label><? echo  $vis_language['TXTNORELEASEATTACHED'];?></label>
				<span class="m-l-sm"><a class="link"  href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=changes&vis_operation=attach_release&ci_for=changes&vis_changes_id=<? echo $changes_details['changes_id'];?>&vis_domain_id=<? echo $changes_details['domain_id'];?>&attached_id=<?php echo $attached_id;?>" title="<? echo $vis_language['TXTLINKRELEASE']; ?>"><?= $vis_language['TXTLINKRELEASE'];?></a></span>
			</div>	
		</div>
		<?php }?>
</div>