diff --git a/lib/WebGUI/Admin.pm b/lib/WebGUI/Admin.pm index 25f9cd9fe..b3c4c7d2c 100644 --- a/lib/WebGUI/Admin.pm +++ b/lib/WebGUI/Admin.pm @@ -519,7 +519,7 @@ sub www_view { __DATA__
-
^International("admin console","AdminConsole");
+
^International("admin console","AdminConsole");
-
Version Tags (i18n)
+
^International('version tags','VersionTag');
-
Clipboard (i18n)
+
^International('1082','Asset');
- +
-
Asset Helpers (i18n)
+
^International('asset helpers','WebGUI');
-

Asset

+

-

History (i18n)

+

^International('history','Asset');

-
New Content (i18n)
+
^International('1083','Macro_AdminBar');
-
+
diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm index 1a845f376..7cad8561f 100644 --- a/lib/WebGUI/i18n/English/Asset.pm +++ b/lib/WebGUI/i18n/English/Asset.pm @@ -1469,6 +1469,12 @@ Couldn't open %-s because %-s
context => q{Class, as in name of class, or type of asset}, }, + 'history' => { + message => q{History}, + lastUpdated => 0, + context => q{Label for list of asset's revisions}, + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/VersionTag.pm b/lib/WebGUI/i18n/English/VersionTag.pm index e764956c0..0adb9c756 100644 --- a/lib/WebGUI/i18n/English/VersionTag.pm +++ b/lib/WebGUI/i18n/English/VersionTag.pm @@ -483,6 +483,18 @@ our $I18N = { context => q{}, }, + 'publish' => { + message => q{Publish}, + lastUpdated => 0, + context => q{Label to commit/publish a version tag}, + }, + + 'leave' => { + message => q{Leave}, + lastUpdated => 0, + context => q{Label to leave a version tag}, + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index a1cbde358..322bf327b 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -4698,6 +4698,23 @@ Users may override this setting in their profile. context => 'Description for pick style template page', }, + 'show all' => { + message => q{Show All}, + lastUpdated => 0, + context => q{Label to remove filtering and show all items in a list. Used by the Admin bar Clipboard pane.}, + }, + + 'asset helpers' => { + message => q{Asset Helpers}, + lastUpdated => 0, + context => q{Label for the asset helpers list. Used by the Admin bar.}, + }, + + 'log out' => { + message => q{Log Out}, + lastUpdated => 0, + context => q{Label for button to log out.}, + }, }; 1; diff --git a/www/extras/admin/admin.js b/www/extras/admin/admin.js index 01f364c5c..da8aad05b 100644 --- a/www/extras/admin/admin.js +++ b/www/extras/admin/admin.js @@ -445,6 +445,7 @@ WebGUI.Admin.prototype.updateAssetHelpers for ( var i = 0; i < assetDef.helpers.length; i++ ) { var helper = assetDef.helpers[i]; var li = document.createElement('li'); + li.className = "clickable"; li.appendChild( document.createTextNode( helper.label ) ); this.addHelperHandler( li, helper ); helperEl.appendChild( li ); @@ -686,6 +687,7 @@ WebGUI.Admin.prototype.updateAssetHistory for ( var i = 0; i < assetDef.revisions.length; i++ ) { var revisionDate = assetDef.revisions[i]; var li = document.createElement('li'); + li.className = "clickable"; // Create a descriptive date string var rDate = new Date( revisionDate * 1000 ); // JS requires milliseconds