<!-- Edit this file to change the layout of the detail view print preview page -->


<div class="panel-heading"><h3 class="panel-title">
	<strong><%%DETAIL_VIEW_TITLE%%></strong>
	<div class="hidden-print pull-right">
		<div class="btn-group">
			<button type="button" id="print" onclick="window.print();" title="<%%TRANSLATION(Print)%%>" class="btn btn-primary"><i class="glyphicon glyphicon-print"></i> <%%TRANSLATION(Print)%%></button>
			<button type="submit" id="back" title="<%%TRANSLATION(Cancel Printing)%%>" class="btn btn-default"><i class="glyphicon glyphicon-remove-circle"></i> <%%TRANSLATION(Cancel Printing)%%></button>
		</div>
	</div>
	<div class="clearfix"></div>
</h3></div>

<div class="panel-body">
	<fieldset class="form-horizontal">
		<!-- Field: No -->
		<div class="form-group trabalho-id" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">No</label>
			<div class="col-xs-9">
				<div class="form-control-static"><%%VALUE(id)%%></div>
			</div>
		</div>
		<!-- Field: Data -->
		<div class="form-group trabalho-data" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">Data</label>
			<div class="col-xs-9">
				<div class="form-control-static"><%%COMBOTEXT(data)%%></div>
			</div>
		</div>
		<!-- Field: Nome -->
		<div class="form-group trabalho-nome" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">Nome</label>
			<div class="col-xs-9">
				<div class="form-control-static"><span id="nome<%%RND1%%>"><%%COMBOTEXT(nome)%%></span></div>
			</div>
		</div>
		<!-- Field: Tipo -->
		<div class="form-group trabalho-tipo" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">Tipo</label>
			<div class="col-xs-9">
				<div class="form-control-static"><%%COMBOTEXT(tipo)%%></div>
			</div>
		</div>
		<!-- Field: Descri&#231;&#227;o de Tarefa -->
		<div class="form-group trabalho-descricao" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">Descri&#231;&#227;o de Tarefa</label>
			<div class="col-xs-9">
				<div class="form-control-static"><%%VALUE(descricao)%%></div>
			</div>
		</div>
		<!-- Field: Atualizado por -->
		<div class="form-group trabalho-atualizado" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">Atualizado por</label>
			<div class="col-xs-9">
				<div class="form-control-static"><%%VALUE(atualizado)%%></div>
			</div>
		</div>
		<!-- Field: Dataatualizado -->
		<div class="form-group trabalho-dataatualizado" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">Dataatualizado</label>
			<div class="col-xs-9">
				<div class="form-control-static"><%%VALUE(dataatualizado)%%></div>
			</div>
		</div>
		<!-- Field: Aprovado por -->
		<div class="form-group trabalho-aprovado" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">Aprovado por</label>
			<div class="col-xs-9">
				<div class="form-control-static"><%%VALUE(aprovado)%%></div>
			</div>
		</div>
		<!-- Field: Trabalho Realizado -->
		<div class="form-group trabalho-realizado" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">Trabalho Realizado</label>
			<div class="col-xs-9">
				<div class="form-control-static"><%%VALUE(realizado)%%></div>
			</div>
		</div>
		<!-- Field: Username -->
		<div class="form-group trabalho-username" style="border-bottom: dotted 1px #DDD;">
			<label class="col-xs-3 control-label">Username</label>
			<div class="col-xs-9">
				<div class="form-control-static"><span id="username<%%RND1%%>"></span></div>
			</div>
		</div>
	</fieldset>
</div>
<script>
	$j(function() {
		// render read-only checkboxes in DVP
		$j('form input[type=checkbox]:not(.hidden):checked')
			.addClass('hidden')
			.after('<i class="glyphicon glyphicon-check"></i>');
		$j('form input[type=checkbox]:not(.hidden):not(:checked)')
			.addClass('hidden')
			.after('<i class="glyphicon glyphicon-unchecked"></i>')
	})
</script>
