Closed scizzorz closed 11 years ago
Wow, awesome. I'll check this out in detail in the morning.
Looking back, I'm not sure you even ever had a user file for the admins... That might have just been something I had to do when I was testing stuff. Hmm. Feel free to reject this and I'll rework the admin part back to the way it was. Either way, migration instructions since I forgot them in the PR:
emails
to users
admins
file, create a file in users
with their email and admin
as their sectionadmins
fileShould cover it.
I didn't, but that doesn't matter, this way is easier and would also auto email announcements to the admins as well, which is desired.
f593935bef9c96fa7df4042f2060bdffe7062c71 2e293c08cfac508bfa604e8a59d65a9572d8a1fc 2953b0f67eb0fc4e041dc0831548fc5105eecb01 ffb50e0808d3b2297dea329661fa86c412dc9454
No more arrays of lines in a file, and no more passing
username
andinfo
into the template! I also added anadmin
group instead of having anadmins
file. Administrators now have a different navbar with 'grades' and 'submit' replaced with 'admin'./emails
has been renamed/users
, although this is pretty superficial and could easily be reverted.