fix to support redmine 1.3.x / use erb instead of haml