mirror of https://github.com/apache/archiva.git
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:
parent
05521e3aa1
commit
056ed30edc
|
@ -17,19 +17,19 @@
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
define("archiva.templates",["text!templates/archiva/menu.html",
|
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/modal.html",
|
||||||
"text!templates/archiva/repositories.html",
|
"text!templates/archiva/repositories.html",
|
||||||
"text!templates/archiva/search.html",
|
"text!templates/archiva/search.html",
|
||||||
"text!templates/archiva/general-admin.html",
|
"text!templates/archiva/general-admin.html",
|
||||||
"jquery.tmpl","utils"],
|
"jquery.tmpl","utils"],
|
||||||
function(menu,message,modal,repositories,
|
function(menu,generics,modal,repositories,
|
||||||
search,general_admin) {
|
search,general_admin) {
|
||||||
|
|
||||||
var htmlFragment=$("#html-fragments");
|
var htmlFragment=$("#html-fragments");
|
||||||
// template loading
|
// template loading
|
||||||
htmlFragment.append(menu);
|
htmlFragment.append(menu);
|
||||||
htmlFragment.append(message);
|
htmlFragment.append(generics);
|
||||||
$.tmpl( modal ).appendTo(htmlFragment);
|
$.tmpl( modal ).appendTo(htmlFragment);
|
||||||
htmlFragment.append(repositories);
|
htmlFragment.append(repositories);
|
||||||
htmlFragment.append(search);
|
htmlFragment.append(search);
|
||||||
|
|
Loading…
Reference in New Issue