publish the unpublish button (bug 1035455)

![](http://f.cl.ly/items/2t3W3V0m1X1X1I182Y0D/Image%202014-08-05%20at%204.26.25%20PM.png)
Do a ternary if/else operator just for the text