Commit c78fc226 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

WIP bootstrap 3 => 4

parent bed77a91
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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" 
+1 −1
Original line number Diff line number Diff line
@@ -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()
    {