Make "Branch" property link to source viewer (Issue 101)
Review Request #55 — Created June 15, 2007 and discarded — Latest diff uploaded
This patch creates a new attribute on the Repository object called source_viewer. It is an interpolatable string, similar to that of bug_tracker, that allows the Branch: property to link to the appropriate branch in an online repository tool, such as Trac (or even the SVN http interface).
I have this deployed on my company's Review Board server and it seems to be working fine. I am not familiar with writing automated Python tests with Django, so therefore there are no tests for this patch.
Diff Revision 1 (Latest)
/trunk/reviewboard/htdocs/scripts/reviews.js |
---|
/trunk/reviewboard/htdocs/scripts/rb/widgets.js |
---|
/trunk/reviewboard/reviews/templatetags/reviewtags.py |
---|
/trunk/reviewboard/scmtools/models.py |
---|
/trunk/reviewboard/templates/reviews/review_detail.html |
---|
/trunk/reviewboard/templates/reviews/review_request_box.html |
---|