1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-27 17:19:42 +02:00

New theme layout

This commit is contained in:
Harvey Kandola 2018-12-02 16:19:25 +00:00
parent 679049d2b1
commit 34d54745f3
20 changed files with 2292 additions and 697 deletions

View file

@ -42,6 +42,7 @@ func AttachUserAccounts(ctx domain.RequestContext, s store.Store, orgID string,
u.Active = false
u.ViewUsers = false
u.Analytics = false
u.Theme = ""
for _, account := range u.Accounts {
if account.OrgID == orgID {
@ -50,6 +51,7 @@ func AttachUserAccounts(ctx domain.RequestContext, s store.Store, orgID string,
u.Active = account.Active
u.ViewUsers = account.Users
u.Analytics = account.Analytics
u.Theme = account.Theme
break
}
}