|
|
@@ -66,7 +66,7 @@ elif Type=='M': |
|
|
|
<a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a> |
|
|
|
<ul class="dropdown-menu"> |
|
|
|
<li><a href="javascript:DoGet('/${CurrentYear}/modal/${Form}${Type}/${item.exch_id}')"><i class="icon-pencil"></i> Modifier</a></li> |
|
|
|
<li><a href="javascript:DoGet('/${CurrentYear}/exchange/${Form}${Type}/${item.exch_id}/delete')"><i class="icon-trash"></i> Supprimer</a></li> |
|
|
|
<li><a onclick="return confirm_click();" href="javascript:DoGet('/${CurrentYear}/exchange/${Form}${Type}/${item.exch_id}/delete')"><i class="icon-trash"></i> Supprimer</a></li> |
|
|
|
</ul> |
|
|
|
% elif getattr(item, Me)==request.user.uid and item.exch_state==CurKind: |
|
|
|
Je ${What} <br> |
|
|
@@ -79,7 +79,7 @@ elif Type=='M': |
|
|
|
<li><a href="javascript:DoGet('/${CurrentYear}/exchange/${Form}${Type}/${item.exch_id}/accept')"><i class="icon-ok"></i> Accepter</a></li> |
|
|
|
<li><a href="javascript:DoGet('/${CurrentYear}/exchange/${Form}${Type}/${item.exch_id}/refuse')"><i class="icon-remove"></i> Refuser</a></li> |
|
|
|
<li class="divider"></li> |
|
|
|
<li><a href="javascript:DoGet('/${CurrentYear}/exchange/${Form}${Type}/${item.exch_id}/delete')"><i class="icon-trash"></i> Supprimer</a></li> |
|
|
|
<li><a onclick="return confirm_click();" href="javascript:DoGet('/${CurrentYear}/exchange/${Form}${Type}/${item.exch_id}/delete')"><i class="icon-trash"></i> Supprimer</a></li> |
|
|
|
</ul> |
|
|
|
% elif getattr(item, Me)==request.user.uid: |
|
|
|
Je ${What} <br> |
|
|
|