Skip to content
Snippets Groups Projects
Commit c78fc226 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

WIP bootstrap 3 => 4

parent bed77a91
No related branches found
No related tags found
No related merge requests found
Pipeline #10534 passed
......@@ -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 */
......@@ -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"
......
......@@ -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()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment