gitlab-org--gitlab-foss/app/views/projects/tags/destroy.js.haml

5 lines
184 B
Plaintext

- if @error.present?
new Flash('#{escape_javascript(@error)}', 'alert');
- elsif @repository.tags.empty?
$('.tags').load(document.URL + ' .nothing-here-block').hide().fadeIn(1000)