fix #494 share and comment options for drafts

* fix a minor string formating issue
* fix #494: hide "share" and "comment" options for draft and pending posts, hide "share" for private posts