user can be added to group and team from user page
This commit is contained in:
parent
30d8b7bd85
commit
f0c6691df2
10 changed files with 298 additions and 55 deletions
8
accounts/static/js/tabswitch.js
Normal file
8
accounts/static/js/tabswitch.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* This script switch the visible add form when we
|
||||
* change between user and group tab on team page. */
|
||||
$('a[data-toggle="tab"]').on("show.bs.tab", function () {
|
||||
var tab = $(this).data('showtab');
|
||||
var hiddentab = $(this).data('hidetab');
|
||||
$('#add-' + hiddentab + '-form').addClass('hidden');
|
||||
$('#add-' + tab + '-form').removeClass('hidden');
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue