aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/deletion.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/webapp/WEB-INF/app/views/project/deletion.html.erb')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/project/deletion.html.erb21
1 files changed, 3 insertions, 18 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/deletion.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/deletion.html.erb
index da66ac28b95..e9dd9ae3410 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/deletion.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/deletion.html.erb
@@ -1,18 +1,3 @@
-<div class="page">
- <%
- if !@snapshot || @project.root?
- resource_qualifier = message('qualifier.' + @project.qualifier)
- delete_resource_message = message('project_deletion.page', :params => resource_qualifier)
- %>
- <header class="page-header">
- <h1 class="page-title"><%= delete_resource_message -%></h1>
- <p class="page-description"><%= message('project_deletion.page.description') -%></p>
- </header>
-
- <div class="yui-g widget" id="widget_delete_project">
- <div class="alert alert-warning spacer-bottom"><%= message('project_deletion.operation_cannot_be_undone') -%></div>
- <a id="delete_resource" class="open-modal button button-red"
- href="<%= ApplicationController.root_context -%>/project/delete_form/<%= h(@project.id) -%>"><%= delete_resource_message -%></a>
- </div>
- <% end %>
-</div>
+<% content_for :extra_script do %>
+ <script src="<%= ApplicationController.root_context -%>/js/bundles/project-admin.js?v=<%= sonar_version -%>"></script>
+<% end %>