diff --git a/public/js/index.js b/public/js/index.js index c808a13de..d63f052a5 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1824,7 +1824,7 @@ function cancelStopwatch() { } function showAddDependencyModal() { - $('.tiny.modal') + $('.mini.modal') .modal({ duration: 200, onApprove: function() { diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 90b149ced..f418cf487 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -196,6 +196,7 @@
{{.i18n.Tr "repo.issues.dependency.no_dependencies"}}
+ {{end}} + + {{if (and (not .BlockedByDependencies) (not .BlockingDependencies))}} +{{.i18n.Tr "repo.issues.dependency.no_dependencies"}}
+ {{end}}