Added gettext calls into configuration view

Also rewritten some files from ERB to HAML
Parent issue: #1001