condition statement in index of dashboard