added user position in dropdown panel"
This commit is contained in:
@@ -5,17 +5,20 @@
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<a class="btn btn-primary" role="button" href="/home">
|
||||
<a class="btn btn-primary" role="button" href="/">
|
||||
<span class="glyphicon glyphicon-chevron-left"></span> Retour</a>
|
||||
</div>
|
||||
<form method="POST" id="frm">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3" tal:condition="access >= 5">
|
||||
<select class="form-control" id="agenda" name="agenda" onChange="$('#frm').submit()">
|
||||
<optgroup tal:repeat="item agendas">
|
||||
<option value="${item.code}" tal:attributes="selected agenda==item.code and 'selected' or None">${item.nom}</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3" tal:condition="access >= 5">
|
||||
<input type="hidden" name="agenda" value="${agenda}"/>
|
||||
</div>
|
||||
</form>
|
||||
<div class="col-md-5">
|
||||
<p>
|
||||
|
||||
@@ -96,8 +96,8 @@
|
||||
<tr tal:repeat="detail details">
|
||||
<td>${detail.DATE.strftime('%d/%m/%Y')}</td>
|
||||
<td>
|
||||
<span tal:condition="detail.DATEVI==None"></span>
|
||||
<span tal:condition="detail.DATEVI<>None">
|
||||
<span tal:condition="detail.rdv_debut==None"></span>
|
||||
<span tal:condition="detail.rdv_debut<>None">
|
||||
<a href="${request.route_url('rdv_edit', nodossier=nodossier, nolig=detail.NOLIG)}">
|
||||
${detail.rdv_debut.strftime('%d/%m/%Y %H:%M')}</a>
|
||||
</span>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
<br />
|
||||
<div class="container">
|
||||
<h1>${page_title}</h1>
|
||||
|
||||
<br />
|
||||
<div id="messages" tal:attributes="class request.is_xhr and 'ajax-replace' or None">
|
||||
<div tal:repeat="queue ('', 'info', 'success', 'warning', 'danger')"
|
||||
tal:omit-tag="">
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
<ul class="dropdown-menu">
|
||||
<li class="dropdown-header">
|
||||
${logged_in_email}<br />
|
||||
Identifiant : ${logged_in}
|
||||
Identifiant : ${logged_in}<br />
|
||||
Fonction: ${logged_in_fonction}
|
||||
</li>
|
||||
|
||||
<li class="divider"></li>
|
||||
|
||||
Reference in New Issue
Block a user