mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 10:23:04 -05:00
Show export user CSV even if the group has reached max capacity
This commit is contained in:
parent
37f009c3cd
commit
5d266c7f04
1 changed files with 22 additions and 19 deletions
|
@ -59,10 +59,9 @@ block content
|
||||||
.col-md-12.text-centered
|
.col-md-12.text-centered
|
||||||
small #{translate("no_members")}
|
small #{translate("no_members")}
|
||||||
|
|
||||||
div(ng-if="users.length < groupSize", ng-cloak)
|
|
||||||
hr
|
hr
|
||||||
p
|
div(ng-if="users.length < groupSize", ng-cloak)
|
||||||
.small #{translate("add_more_members")}
|
p.small #{translate("add_more_members")}
|
||||||
form.form
|
form.form
|
||||||
.row
|
.row
|
||||||
.col-xs-6
|
.col-xs-6
|
||||||
|
@ -78,11 +77,15 @@ block content
|
||||||
.col-xs-2
|
.col-xs-2
|
||||||
a(href="/subscription/group/export") Export CSV
|
a(href="/subscription/group/export") Export CSV
|
||||||
|
|
||||||
|
div(ng-if="users.length >= groupSize && users.length > 0", ng-cloak)
|
||||||
|
.row
|
||||||
|
.col-xs-2.col-xs-offset-10
|
||||||
|
a(href="/subscription/group/export") Export CSV
|
||||||
|
|
||||||
|
|
||||||
script(type="text/javascript").
|
script(type="text/javascript").
|
||||||
window.users = !{JSON.stringify(users)};
|
window.users = !{JSON.stringify(users)};
|
||||||
window.groupSize = #{subscription.membersLimit};
|
window.groupSize = #{subscription.membersLimit};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue