1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

Fixed fastlinks for owner. Thanks to Daniel Torregosa for the fix :)

This commit is contained in:
Adolfo Gómez García 2019-09-11 11:10:01 +02:00
parent eb270d883e
commit c6f3c87b93
2 changed files with 2 additions and 3 deletions

View File

@ -226,7 +226,7 @@ gui.providers.link = (event) ->
onData: (data) ->
$.each data, (index, value) ->
value.owner = gui.fastLink(value.owner.replace /@/, '<span class="text-danger">@</span>', "#{value.owner_info.auth_id},u#{value.owner_info.user_id}", 'gui.providers.fastLink', 'goAuthLink')
value.owner = gui.fastLink(value.owner.replace(/@/, '<span class="text-danger">@</span>'), "#{value.owner_info.auth_id},u#{value.owner_info.user_id}", 'gui.providers.fastLink', 'goAuthLink')
value.pool = gui.fastLink(value.pool, value.pool_id, 'gui.providers.fastLink', 'goPoolLink')
buttons: [

View File

@ -417,8 +417,7 @@ gui.servicesPools.link = (event) ->
value.in_use = gettext('Yes')
else
value.in_use = gettext('No')
value.owner = gui.fastLink(value.owner.replace /@/, '<span class="text-danger">@</span>', "#{value.owner_info.auth_id},u#{value.owner_info.user_id}", 'gui.servicesPools.fastLink', 'goAuthLink')
value.owner = gui.fastLink(value.owner.replace(/@/, '<span class="text-danger">@</span>'), "#{value.owner_info.auth_id},u#{value.owner_info.user_id}", 'gui.servicesPools.fastLink', 'goAuthLink')
return
onRefresh: () ->