This commit is contained in:
Malishev Dmitry 2012-01-11 23:23:10 +03:00
parent ac6a3b397f
commit d97365d46e
2 changed files with 7 additions and 1 deletions

View file

@ -627,6 +627,12 @@ App.Actions.view_full_ns_list = function(evt)
App.Helpers.openInnerPopup(elm, $(elm).parents('.prop-box').find('.ns-full-list:first').html(), 'Name Server list');
}
App.Actions.view_full_web_templates = function(evt)
{
var elm = $(evt.target);
App.Helpers.openInnerPopup(elm, $(elm).parents('.prop-box').find('.ns-full-list:first').html(), 'Web Templates list');
}
App.Actions.view_template_info = function(evt)
{
var elm = $(evt.target);

View file

@ -362,7 +362,7 @@ App.Templates.html = {
user: {
WEB_TPL_MINIMIZED: ['~!:WEB_TPL_MINI~!\
<span class="group-switcher">\
<span class="group-values-count do_action_view_full_ns_list">~!:MORE_NUMBER~! more</span>\
<span class="group-values-count do_action_view_full_web_templates">~!:MORE_NUMBER~! more</span>\
</span><span class="hidden ns-full-list"><span class="group-values">~!:WEB_TPL_FULL~!</span></span>'],
WEB_TPL: ['<span class="prop-value">~!:NAME~!</span>'],
NS_MINIMIZED: ['~!:NS_MINI~!\