format inline submenu in time_line