blob: 59d359bbf10cabc5cdd884562e24051e3b8fe2a2 (
plain)
1
2
3
4
|
- if @error.present?
new Flash({ message: '#{escape_javascript(@error)}', type: 'alert' });
- elsif @repository.tags.empty?
$('.tags').load(document.URL + ' .nothing-here-block').hide().fadeIn(1000)
|