mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Extend extension coverage to include the 'self' relation in html case
This commit is contained in:
parent
934ea4bd5f
commit
ecd12c6c0f
@ -384,7 +384,8 @@ def _assemble_html(responses, resource, querydict, url, extension):
|
||||
yield 'Only fields that have their boxes checked will have their ' \
|
||||
'respective values honored by the confluent server.<hr>' \
|
||||
'<input type="hidden" name="restexplorerhonorkey" value="">' + \
|
||||
'<a rel="self" href="%s">%s</a><br>' % (resource, resource)
|
||||
'<a rel="self" href="{0}{1}">{0}{1}</a><br>'.format(
|
||||
resource, extension)
|
||||
if url == '/':
|
||||
iscollection = True
|
||||
elif resource[-1] == '/':
|
||||
|
Loading…
Reference in New Issue
Block a user