We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d075d54 commit 2f337ddCopy full SHA for 2f337dd
readthedocs/builds/views.py
@@ -109,13 +109,13 @@ class BuildDetail(BuildBase, DetailView):
109
110
def get_context_data(self, **kwargs):
111
context = super(BuildDetail, self).get_context_data(**kwargs)
112
+ context['project'] = self.project
113
114
build = self.get_object()
115
if build.error != BuildEnvironmentError.GENERIC_WITH_BUILD_ID.format(build_id=build.pk):
116
# Do not suggest to open an issue if the error is not generic
117
return context
118
- context['project'] = self.project
119
scheme = (
120
'https://github.com/rtfd/readthedocs.org/issues/new'
121
'?title={title}{build_id}'
0 commit comments