From 4964f03885ac9d3cf7c6848390de65c83a1c11d8 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 16 Jan 2012 10:27:21 +0000 Subject: [PATCH] add title in th element and use twipsy git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231897 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-web/archiva-webapp-js/src/main/webapp/index.html | 1 + .../src/main/webapp/js/archiva/repositories.js | 5 +++-- .../src/main/webapp/js/archiva/templates/repositories.html | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html index eb5ccde2c..c02a7df34 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html @@ -62,6 +62,7 @@ .script("bootstrap-modal.js").wait() .script("bootstrap-alerts.js").wait() .script("bootstrap-dropdown.js").wait() + .script("bootstrap-twipsy.js").wait() .script("knockout.simpleGrid.js").wait() .script("knockout.mapping-latest.debug.js").wait() .script("redback/user.js").wait() diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js index 6c985446c..32b02a2fc 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js @@ -110,7 +110,8 @@ $(function() { }, { headerText: $.i18n.prop('type'), - rowText: "layout" + rowText: "layout", + title: "Repository type (default is Maven 2)" } ], pageSize: 10 @@ -119,7 +120,7 @@ $(function() { $("#main-content #managed-repositories-pills").pills(); $("#managed-repositories-view").addClass("active"); removeMediumSpinnerImg("#main-content #managed-repositories-content"); - $.log("ok display managedRepositories"); + $("#main-content #managed-repositories-table [title]").twipsy(); } } ); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html index f562d174b..26d61b11c 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html @@ -61,7 +61,7 @@ {{each(i, columnDefinition) columns}} - ${ columnDefinition.headerText } + ${ columnDefinition.headerText } {{/each}} ${$.i18n.prop('release.included')} ${$.i18n.prop('snapshots.included')} @@ -90,7 +90,6 @@ {{/if}} - Edit {{/each}} -- 2.39.5