gitlabhq/gitlabhq — pull request #1706 by riyad (2012-10-15 22:27:10+00:00)
Title: Refactor tree views and improve consistency

* rename `_tree_file` to `_blob`
* extract `_blob_actions` from `_blob` and also use them in the blame view
* fix blob actions to only show appropriate actions
* extract partials for rendering different blob contents
* replace file mode with file size in file views
* clean up `TreeDecorator`
* make buttons in titles of tree and file views look alike