Loading src/UnicaenAuth/View/Helper/UserCurrent.php +2 −2 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ class UserCurrent extends UserAbstract $selectableRoles = $this->getUserContext()->getSelectableIdentityRoles(); $role = current($selectableRoles) ?: $this->getUserContext()->getIdentityRole('user'); } $status .= sprintf(", <small class='role-libelle'>%s</small>", !method_exists($role, '__toString') ? $role->getRoleId() : $role); $status .= sprintf("<br/><small class='role-libelle'>%s</small>", !method_exists($role, '__toString') ? $role->getRoleId() : $role); } $userProfileHelper = $this->getView()->plugin('userProfile'); /* @var $userProfileHelper UserProfile */ Loading @@ -77,7 +77,7 @@ class UserCurrent extends UserAbstract } $out = <<<EOS <a class="navbar-link" <a class="navbar-link dropdown-toggle" id="$id" title="$title" data-placement="bottom" Loading src/UnicaenAuth/View/Helper/UserProfileSelect.php +1 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ class UserProfileSelect extends UserAbstract $html .= <<<EOS <script> $(function() { $("input.$inputClass").change(function() { submitProfile(); }).tooltip({ delay: 500, placement: 'left' }); $("input.$inputClass").on("change", function() { submitProfile(); }).tooltip({ delay: 500, placement: 'left' }); }); function submitProfile() { Loading Loading
src/UnicaenAuth/View/Helper/UserCurrent.php +2 −2 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ class UserCurrent extends UserAbstract $selectableRoles = $this->getUserContext()->getSelectableIdentityRoles(); $role = current($selectableRoles) ?: $this->getUserContext()->getIdentityRole('user'); } $status .= sprintf(", <small class='role-libelle'>%s</small>", !method_exists($role, '__toString') ? $role->getRoleId() : $role); $status .= sprintf("<br/><small class='role-libelle'>%s</small>", !method_exists($role, '__toString') ? $role->getRoleId() : $role); } $userProfileHelper = $this->getView()->plugin('userProfile'); /* @var $userProfileHelper UserProfile */ Loading @@ -77,7 +77,7 @@ class UserCurrent extends UserAbstract } $out = <<<EOS <a class="navbar-link" <a class="navbar-link dropdown-toggle" id="$id" title="$title" data-placement="bottom" Loading
src/UnicaenAuth/View/Helper/UserProfileSelect.php +1 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ class UserProfileSelect extends UserAbstract $html .= <<<EOS <script> $(function() { $("input.$inputClass").change(function() { submitProfile(); }).tooltip({ delay: 500, placement: 'left' }); $("input.$inputClass").on("change", function() { submitProfile(); }).tooltip({ delay: 500, placement: 'left' }); }); function submitProfile() { Loading