Added a central location (ViewHelper) for code that was previously duplicated in the multiple view rendering files.
This takes care of the obvious and simple duplication problems in these files. Larger design changes would be needed to refactor further and are not included in this pull request.
Refactoring of the rest services is also not included. I would prefer to first upgrade the gitlab library before refactoring the code.
Added a central location (ViewHelper) for code that was previously duplicated in the multiple view rendering files.
This takes care of the obvious and simple duplication problems in these files. Larger design changes would be needed to refactor further and are not included in this pull request.
Refactoring of the rest services is also not included. I would prefer to first upgrade the gitlab library before refactoring the code.