Cleaning up the merge request diff view
authorMarius Mathiesen <marius@shortcut.no>
Tue, 8 Sep 2009 12:50:25 +0000 (14:50 +0200)
committerJohan Sørensen <johan@johansorensen.com>
Mon, 28 Sep 2009 08:21:06 +0000 (10:21 +0200)
commit23ccdedd6308c92e8a23c74972b8fb832d03f0c1
tree2e9dad93221e5ee0faced2ff49aeec2540eb3443
parent0ae1f500bd021c1ae36de17ed25da05cdf78027d
Cleaning up the merge request diff view

- Extracted the diff view to a partial
- Renamed MergeRequestVersion#commits -> diffs
- JS hooks, CSS fixes
app/controllers/merge_request_versions_controller.rb
app/helpers/merge_requests_helper.rb
app/models/merge_request_version.rb
app/views/merge_request_versions/_merge_request_version.html.erb [new file with mode: 0644]
app/views/merge_request_versions/show.html.erb
app/views/merge_requests/_version.html.erb
public/javascripts/application.js
public/stylesheets/base.css
test/functional/merge_request_versions_controller_test.rb
test/unit/merge_request_version_test.rb