Fix tab link issue in device.html template