Set direction of resource and connection (#650)
This commit is contained in:
parent
c53d764119
commit
7395cc910e
|
@ -1559,16 +1559,18 @@ user_info(User, Server, Query, Lang) ->
|
||||||
http_bind ->
|
http_bind ->
|
||||||
<<"http-bind">>
|
<<"http-bind">>
|
||||||
end,
|
end,
|
||||||
<<" (", ConnS/binary,
|
<<ConnS/binary,
|
||||||
"://",
|
"://",
|
||||||
(jlib:ip_to_list(IP))/binary,
|
(jlib:ip_to_list(IP))/binary,
|
||||||
":",
|
":",
|
||||||
(jlib:integer_to_binary(Port))/binary,
|
(jlib:integer_to_binary(Port))/binary,
|
||||||
"#",
|
"#",
|
||||||
(jlib:atom_to_binary(Node))/binary,
|
(jlib:atom_to_binary(Node))/binary>>
|
||||||
")">>
|
|
||||||
end,
|
end,
|
||||||
?LI([?C((<<R/binary, FIP/binary>>))])
|
case direction(Lang) of
|
||||||
|
[{_, <<"rtl">>}] -> ?LI([?C((<<FIP/binary, " - ", R/binary>>))]);
|
||||||
|
_ -> ?LI([?C((<<R/binary, " - ", FIP/binary>>))])
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
lists:sort(Resources))))]
|
lists:sort(Resources))))]
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue