debian-mirror-gitlab/app/views/projects/tags/destroy.js.haml
2017-08-17 22:00:37 +05:30

4 lines
184 B
Text

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