From: Badlop Date: Wed, 15 Jul 2015 19:36:36 +0000 (+0200) Subject: Set direction of resource and connection (#650) X-Git-Tag: 15.07~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7395cc910e4cca4ca8adf6109b220d61f50bb4d9;p=ejabberd Set direction of resource and connection (#650) --- diff --git a/src/ejabberd_web_admin.erl b/src/ejabberd_web_admin.erl index 4ff80eced..3347f3e6e 100644 --- a/src/ejabberd_web_admin.erl +++ b/src/ejabberd_web_admin.erl @@ -1559,16 +1559,18 @@ user_info(User, Server, Query, Lang) -> http_bind -> <<"http-bind">> end, - <<" (", ConnS/binary, + <> + (jlib:atom_to_binary(Node))/binary>> end, - ?LI([?C((<>))]) + case direction(Lang) of + [{_, <<"rtl">>}] -> ?LI([?C((<>))]); + _ -> ?LI([?C((<>))]) + end end, lists:sort(Resources))))] end,