From 056ed30edcb00cbcf260098a2c88b94aac23782d Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 2 Apr 2012 10:11:12 +0000 Subject: [PATCH] use a better naming convention for template files git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308285 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/main-tmpl.js | 6 +++--- .../js/templates/archiva/{message.html => generics.html} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/{message.html => generics.html} (100%) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main-tmpl.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main-tmpl.js index c9f306813..44a741e93 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main-tmpl.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main-tmpl.js @@ -17,19 +17,19 @@ * under the License. */ define("archiva.templates",["text!templates/archiva/menu.html", - "text!templates/archiva/message.html", + "text!templates/archiva/generics.html", "text!templates/archiva/modal.html", "text!templates/archiva/repositories.html", "text!templates/archiva/search.html", "text!templates/archiva/general-admin.html", "jquery.tmpl","utils"], - function(menu,message,modal,repositories, + function(menu,generics,modal,repositories, search,general_admin) { var htmlFragment=$("#html-fragments"); // template loading htmlFragment.append(menu); - htmlFragment.append(message); + htmlFragment.append(generics); $.tmpl( modal ).appendTo(htmlFragment); htmlFragment.append(repositories); htmlFragment.append(search); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/message.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/generics.html similarity index 100% rename from archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/message.html rename to archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/generics.html -- 2.39.5