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:
parent
eb270d883e
commit
c6f3c87b93
@ -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: [
|
||||
|
@ -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: () ->
|
||||
|
Loading…
Reference in New Issue
Block a user