summaryrefslogtreecommitdiff
path: root/app/views/projects/tags/destroy.js.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/tags/destroy.js.haml')
-rw-r--r--app/views/projects/tags/destroy.js.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/tags/destroy.js.haml b/app/views/projects/tags/destroy.js.haml
new file mode 100644
index 00000000000..ffeacb5a004
--- /dev/null
+++ b/app/views/projects/tags/destroy.js.haml
@@ -0,0 +1,3 @@
+$('.js-totaltags-count').html("#{@repository.tags.size}");
+- if @repository.tags.empty?
+ $('.tags').load(document.URL + ' .nothing-here-block').hide().fadeIn(1000)