2017-09-18 15:27:19 +00:00
|
|
|
{% extends "base.htm" %}
|
|
|
|
{% block title %}Dettagli impiegato • estus{% endblock %}
|
|
|
|
{% block content %}
|
2017-09-20 10:01:07 +00:00
|
|
|
<div class="page-header">
|
|
|
|
<h1>
|
|
|
|
{{ impiegato }}
|
|
|
|
<a href="/imp_show/{{ impiegato.iid }}" class="btn btn-primary">
|
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Modifica
|
|
|
|
</a>
|
|
|
|
</h1>
|
|
|
|
</div>
|
2017-09-18 15:27:19 +00:00
|
|
|
<ul class="list-group">
|
|
|
|
<li class="list-group-item">
|
|
|
|
<h4 class="list-group-item-heading">
|
|
|
|
Nome impiegato
|
|
|
|
</h4>
|
|
|
|
<div class="list-group-item-text">
|
|
|
|
{{ impiegato.nomeimpiegato }}
|
|
|
|
</div>
|
|
|
|
</li>
|
2017-09-19 15:22:11 +00:00
|
|
|
<li class="list-group-item">
|
2017-09-18 15:27:19 +00:00
|
|
|
<h4 class="list-group-item-heading">
|
|
|
|
Servizio di appartenenza
|
|
|
|
</h4>
|
|
|
|
<div class="list-group-item-text">
|
|
|
|
{{ impiegato.servizio.ente.nomeente }} - {{ impiegato.servizio.nomeservizio }}
|
|
|
|
</div>
|
2017-09-19 15:22:11 +00:00
|
|
|
</li>
|
|
|
|
{% if impiegato.username %}
|
|
|
|
<li class="list-group-item">
|
|
|
|
<h4 class="list-group-item-heading">
|
|
|
|
Username
|
|
|
|
</h4>
|
|
|
|
<div class="list-group-item-text">
|
|
|
|
<code>{{ impiegato.username }}</code>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% if impiegato.passwd %}
|
|
|
|
<li class="list-group-item">
|
|
|
|
<h4 class="list-group-item-heading">
|
|
|
|
Password
|
|
|
|
</h4>
|
|
|
|
<div class="list-group-item-text">
|
|
|
|
<code>{{ impiegato.passwd }}</code>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% if accessi %}
|
2017-09-18 15:27:19 +00:00
|
|
|
<li class="list-group-item">
|
|
|
|
<h4 class="list-group-item-heading">
|
|
|
|
Dispositivi associati
|
|
|
|
</h4>
|
|
|
|
<div class="list-group-item-text">
|
|
|
|
{% for accesso in accessi %}
|
2017-09-18 15:57:40 +00:00
|
|
|
<a href="/disp_details/{{ accesso.dispositivo.did }}">{{ accesso.dispositivo }}</a><br>
|
2017-09-18 15:27:19 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2017-09-19 15:22:11 +00:00
|
|
|
</li>
|
|
|
|
{% endif %}
|
2017-09-18 15:27:19 +00:00
|
|
|
</ul>
|
|
|
|
{% endblock %}
|