This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See http://git.codelutin.com/coselmar.git commit 289e7d4e9928059ad06ebd6e947c4c983a283a5d Merge: f13b8d3 5e0d885 Author: Yannick Martel <martel@©odelutin.com> Date: Tue Jan 20 12:03:02 2015 +0100 merge changes from develop coselmar-ui/src/main/webapp/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --cc coselmar-ui/src/main/webapp/index.html index ca492a1,f4a19ce..c7c1808 --- a/coselmar-ui/src/main/webapp/index.html +++ b/coselmar-ui/src/main/webapp/index.html @@@ -73,14 -74,9 +74,15 @@@ </div> <nav class="hidden-xs"> <ul class="nav navbar-nav"> - <a href="#" role="button" class="navbar-brand">Coselmar Traceability</a> + <a href="#" role="button" class="navbar-brand">Coselmar Platform</a> - <li ng-if="currentUser.role == 'ADMIN'"> - <a href="#/users" class="dropdown-toggle">User</a> ++ + <li class="dropdown" ng-if="currentUser.role == 'ADMIN' || currentUser.role == 'SUPERVISOR'"> + <a class="dropdown-toggle" data-toggle="dropdown">Users<span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="#/users" role="menuitem">List</a></li> + <li><a href="#/users/new" role="menuitem" ng-if="currentUser.role == 'ADMIN'">Add an user</a></li> + <li><a href="#/users/new" role="menuitem" ng-if="currentUser.role == 'SUPERVISOR'">Add a client</a></li> + </ul> </li> <li ng-if="currentUser"> <a href="#/documents" role="button" class="dropdown-toggle">Documents</a> -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.