Removes revalidate URL because that doesn't belong on the results page.
This commit is contained in:
Родитель
bc952ff8f0
Коммит
afb8af6bdf
|
@ -20,7 +20,6 @@
|
|||
</div>
|
||||
<div class="suite-summary">
|
||||
<span></span>
|
||||
<a href="{{ validate_url }}">{{ _('Revalidate') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2963,9 +2963,6 @@ class TestUploadDetail(files.tests.UploadTest):
|
|||
suite = doc('#addon-validator-suite')
|
||||
eq_(suite.attr('data-validateurl'),
|
||||
reverse('devhub.upload_detail', args=[upload.uuid, 'json']))
|
||||
eq_(doc('.suite-summary a').text(), 'Revalidate')
|
||||
eq_(doc('.suite-summary a').attr('href'),
|
||||
reverse('devhub.upload_detail', args=[upload.uuid]))
|
||||
|
||||
|
||||
class TestUploadValidation(files.tests.UploadTest):
|
||||
|
|
|
@ -1163,10 +1163,4 @@ $(document).ready(function() {
|
|||
// Validate when the page loads.
|
||||
$('#addon-validator-suite').trigger('validate');
|
||||
|
||||
// Setup revalidate link.
|
||||
$('#addon-validator-suite .suite-summary a').click(function(e) {
|
||||
$('#addon-validator-suite').trigger('validate');
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче