Switch to unified view

a/Allura/allura/model/repo.py b/Allura/allura/model/repo.py
...
...
551
        return False
551
        return False
552
552
553
    @property
553
    @property
554
    def has_html_view(self):
554
    def has_html_view(self):
555
        if self.content_type.startswith('text/') or self.extension in VIEWABLE_EXTENSIONS or \
555
        if self.content_type.startswith('text/') or self.extension in VIEWABLE_EXTENSIONS or \
556
            self.extension in self._additional_viewable_extensions:
556
            self.extension in self.repo._additional_viewable_extensions:
557
            return True
557
            return True
558
        return False
558
        return False
559
559
560
    @property
560
    @property
561
    def has_image_view(self):
561
    def has_image_view(self):