Hide the "start" and "stop" fields if an element is not published (see #7148)