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
This commit is contained in:
Olivier Lamy 2012-04-02 10:11:12 +00:00
parent 05521e3aa1
commit 056ed30edc
2 changed files with 3 additions and 3 deletions

View File

@ -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);