]> source.dussan.org Git - sonarqube.git/commitdiff
Rename Ruby partial
authorDavid Gageot <david@gageot.net>
Tue, 22 May 2012 15:44:54 +0000 (17:44 +0200)
committerDavid Gageot <david@gageot.net>
Tue, 22 May 2012 16:31:29 +0000 (18:31 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/filters/_menu.erb [deleted file]
sonar-server/src/main/webapp/WEB-INF/app/views/filters/_menu.html.erb [new file with mode: 0644]

diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_menu.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_menu.erb
deleted file mode 100644 (file)
index 63d0f4a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<% if logged_in? %>
-  <div id="page-operations">
-    <ul class="operations">
-      <li>
-        <a href="<%= url_for :action => 'new' -%>"><%= message('filters.add_filter') -%></a>
-      </li>
-      <% if @filter && @filter.id && @filter.authorized_to_edit?(self) %>
-        <li>
-          <a href="<%= url_for :action => 'edit', :id => @filter.id -%>"><%= message('filters.edit_filter') -%></a>
-        </li>
-      <% end %>
-      <li class="last"><%= link_to message('filters.manage_filters'), {:action => 'manage'} -%></li>
-    </ul>
-  </div>
-<% end %>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_menu.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_menu.html.erb
new file mode 100644 (file)
index 0000000..63d0f4a
--- /dev/null
@@ -0,0 +1,15 @@
+<% if logged_in? %>
+  <div id="page-operations">
+    <ul class="operations">
+      <li>
+        <a href="<%= url_for :action => 'new' -%>"><%= message('filters.add_filter') -%></a>
+      </li>
+      <% if @filter && @filter.id && @filter.authorized_to_edit?(self) %>
+        <li>
+          <a href="<%= url_for :action => 'edit', :id => @filter.id -%>"><%= message('filters.edit_filter') -%></a>
+        </li>
+      <% end %>
+      <li class="last"><%= link_to message('filters.manage_filters'), {:action => 'manage'} -%></li>
+    </ul>
+  </div>
+<% end %>