Skip to content

Commit 9515f86

Browse files
committed
feat(project): Make repo URL a clickable URL.
Make the repository URL that appears along the right side of the project page a clickable URL using Django's urlize filter. This filter will only make a clickable link if the repository URL is a valid HTTP address. Closes #379
1 parent 140a970 commit 9515f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/templates/core/project_detail_right.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
{% if project.repo %}
88
<h3>{% trans "Repository" %}</h3>
9-
<p class="detail-long">{{ project.repo }}</p>
9+
<p class="detail-long">{{ project.repo|urlize }}</p>
1010
{% endif %}
1111

1212
<h3>{% trans "Last Built" %}</h3>

0 commit comments

Comments
 (0)