mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-03 01:17:56 +03:00
Fixed fastlinks for owner. Thanks to Daniel Torregosa for the fix :)
This commit is contained in:
parent
eb270d883e
commit
c6f3c87b93
@ -226,7 +226,7 @@ gui.providers.link = (event) ->
|
|||||||
|
|
||||||
onData: (data) ->
|
onData: (data) ->
|
||||||
$.each data, (index, value) ->
|
$.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')
|
value.pool = gui.fastLink(value.pool, value.pool_id, 'gui.providers.fastLink', 'goPoolLink')
|
||||||
|
|
||||||
buttons: [
|
buttons: [
|
||||||
|
@ -417,8 +417,7 @@ gui.servicesPools.link = (event) ->
|
|||||||
value.in_use = gettext('Yes')
|
value.in_use = gettext('Yes')
|
||||||
else
|
else
|
||||||
value.in_use = gettext('No')
|
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
|
return
|
||||||
|
|
||||||
onRefresh: () ->
|
onRefresh: () ->
|
||||||
|
Loading…
Reference in New Issue
Block a user