add incidents badge template in code