Skip to content
Snippets Groups Projects
Commit 01280b67 authored by sramos's avatar sramos
Browse files

Bug en administracion de usuarios

svn path=/tags/gong-gor-2.52/; revision=7994
parent 4eb3eb88
No related branches found
No related merge requests found
......@@ -12,7 +12,7 @@
<div class="elementoderecha">
<% if elemento.grupo_usuario_id %>
<%= ventana_info_popup elemento, {:campos => [[_("Asignado en Grupo"),"1","grupo_usuario.nombre"]], :id => update + "_informacion" } %>
<% elsif (tipo != "agente" || @agente.id == elemento.agente_id) %>
<% elsif params[:seccion] == "administracion" || tipo != "agente" || (@agente && @agente.id == elemento.agente_id) %>
<%= editar( :url => { action: 'asignar_relacion', id: @usuario.id, tipo: tipo, elemento_id: elemento.id, update: update, update_listado: update_listado }) %>
<%= borrado( :url => { action: 'desasignar_relacion', id: @usuario.id, tipo: tipo, elemento_id: elemento.id, update: update }, :texto => (_("Vinculación con: ") + tipo.capitalize + " '" + elemento.send(tipo).nombre + "'"), :identificador => update ) %>
<% end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment