removed dead code from violence_view_dash and admin_violence_details_template
[Andrew / Augustine] Fixed the failing test  and did some refactoring