Using tpl for unify the way we display the preview of the publicatoin.

#5956 
The upload widget without uploaded imgage:
![screenshot from 2014-04-27 11 40 41](https://cloud.githubusercontent.com/assets/1222368/2810773/7702c2b4-cde8-11e3-8d0b-81f2876f204e.png)

The uploaded widget with image:
![screenshot from 2014-04-27 11 38 16](https://cloud.githubusercontent.com/assets/1222368/2810774/7704a520-cde8-11e3-9e24-1253c8f49b8e.png)

The second tooltip:
![screenshot from 2014-04-27 11 47 15](https://cloud.githubusercontent.com/assets/1222368/2810776/a12527da-cde8-11e3-8714-c1b3583dfcb3.png)