add badge for view
add badge for view