Skip to content

Commit d97365d

Browse files
committed
Closes hestiacp#16
1 parent ac6a3b3 commit d97365d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

web/js/actions.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,12 @@ App.Actions.view_full_ns_list = function(evt)
627627
App.Helpers.openInnerPopup(elm, $(elm).parents('.prop-box').find('.ns-full-list:first').html(), 'Name Server list');
628628
}
629629

630+
App.Actions.view_full_web_templates = function(evt)
631+
{
632+
var elm = $(evt.target);
633+
App.Helpers.openInnerPopup(elm, $(elm).parents('.prop-box').find('.ns-full-list:first').html(), 'Web Templates list');
634+
}
635+
630636
App.Actions.view_template_info = function(evt)
631637
{
632638
var elm = $(evt.target);

web/js/templates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ App.Templates.html = {
362362
user: {
363363
WEB_TPL_MINIMIZED: ['~!:WEB_TPL_MINI~!\
364364
<span class="group-switcher">\
365-
<span class="group-values-count do_action_view_full_ns_list">~!:MORE_NUMBER~! more</span>\
365+
<span class="group-values-count do_action_view_full_web_templates">~!:MORE_NUMBER~! more</span>\
366366
</span><span class="hidden ns-full-list"><span class="group-values">~!:WEB_TPL_FULL~!</span></span>'],
367367
WEB_TPL: ['<span class="prop-value">~!:NAME~!</span>'],
368368
NS_MINIMIZED: ['~!:NS_MINI~!\

0 commit comments

Comments
 (0)