MOD: edit && slide switch style

hide edit and slide switch when user has no privilege for any project
Merge pull request #109 from slycloud/master

MOD: edit && slide switch style