We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b5660a6 + b3274fb commit 26102e0Copy full SHA for 26102e0
readthedocs/templates/builds/build_detail.html
@@ -1,6 +1,7 @@
1
{% extends "projects/base_project.html" %}
2
3
{% load i18n %}
4
+{% load privacy_tags %}
5
{% load static %}
6
7
{% block title %}{{ build.project.name }}{% endblock %}
@@ -62,7 +63,11 @@
62
63
64
<div class="build-version">
65
<span class="build-version-slug">
- {{ build.version.slug }}
66
+ {% if request.user|is_admin:project %}
67
+ <a href="{% url "project_version_detail" build.version.project.slug build.version.slug %}">{{ build.version.slug }}</a>
68
+ {% else %}
69
+ {{ build.version.slug }}
70
+ {% endif %}
71
</span>
72
<span class="build-commit"
73
data-bind="visible: commit">
0 commit comments