PageSourceSearch

https://nag.wiki/s/99914b932bd37a50b983c5e7c90ae93b-CDN/-8wn0l2/87…y:space-directory-templates.js?locale=en-US

js nag.wiki collected 2026-09-28 08:36:52 UTC 3,712 bytes, 43 lines download raw bytes

1WRMCB=function(e){var c=console;if(c&&c.log&&c.error){c.log('Error running batched script.');c.error(e);}}
2;
3try {
4/* module-key = 'com.atlassian.confluence.plugins.confluence-space-directory:space-directory-templates', location = 'templates/spacedirectory.soy' */
5// This file was automatically generated from spacedirectory.soy.
6// Please don't edit this file by hand.
7
8/**
9 * @fileoverview Templates in namespace Confluence.Templates.SpaceDirectory.
10 */
11
12if (typeof Confluence == 'undefined') { var Confluence = {}; }
13if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; }
14if (typeof Confluence.Templates.SpaceDirectory == 'undefined') { Confluence.Templates.SpaceDirectory = {}; }
15
16
17Confluence.Templates.SpaceDirectory.spaceListItem = function(opt_data, opt_ignored) {
18  var output = '';
19  var isLoggedIn__soy3 = opt_data.remoteUser != '';
20  output += '<tr class="space-list-item" data-spacekey="' + soy.$$escapeHtml(opt_data.spaceKey) + '"><td class="entity-attribute space-logo entity-logo entity-icon"><a href="' + soy.$$escapeHtml(opt_data.spaceUrl) + '"><img class="space logo" src="' + soy.$$escapeHtml(opt_data.logoUrl) + '" alt="' + soy.$$escapeHtml(AJS.format('{0} Logo',opt_data.spaceName)) + '"/></a></td><td class="entity-attribute space-name"><a title="' + soy.$$escapeHtml(opt_data.spaceName) + '" href="' + soy.$$escapeHtml(opt_data.spaceUrl) + '">' + soy.$$escapeHtml(opt_data.truncatedSpaceName) + '</a></td><td class="entity-attribute space-desc"><span>' + soy.$$filterNoAutoescape(opt_data.spaceDescHtml) + '</span></td><td class="entity-attribute space-labels"></td><td class="entity-attribute entity-icon entity-info-icon right" data-entity-id="' + soy.$$escapeHtml(opt_data.spaceKey) + '" data-entity-type="space"><a class="aui-icon aui-icon-small aui-iconfont-info" title="' + soy.$$escapeHtml('Space Details') + '" href="' + soy.$$escapeHtml("") + '/spaces/viewspacesummary.action?key=' + soy.$$escapeHtml(opt_data.spaceKey) + '">' + soy.$$escapeHtml('Space Details') + '</a></td>' + ((isLoggedIn__soy3) ? '<td class="entity-attribute entity-icon entity-favourites space-favourites ' + ((opt_data.accessMode == 'READ_ONLY') ? 'disabled' : '') + '" data-entity-id="' + soy.$$escapeHtml(opt_data.spaceKey) + '" data-entity-type="space" data-entity-scope="space-directory"><a class="aui-icon aui-icon-small aui-iconfont-star-filled hidden" title="' + soy.$$escapeHtml('Remove from my spaces') + '" href="#">' + soy.$$escapeHtml(AJS.format('Remove \x26quot;{0}\x26quot; from your favorites',opt_data.spaceName)) + '</a><a class="aui-icon aui-icon-small aui-iconfont-new-star hidden" title="' + soy.$$escapeHtml('Add to my spaces') + '" href="#">' + soy.$$escapeHtml(AJS.format('Add \x26quot;{0}\x26quot; to your favorites',opt_data.spaceName)) + '</a><span class="icon icon-wait hidden">' + soy.$$escapeHtml('Loading') + '</span></td>' : '') + '</tr>';
21  return output;
22};
23if (goog.DEBUG) {
24  Confluence.Templates.SpaceDirectory.spaceListItem.soyTemplateName = 'Confluence.Templates.SpaceDirectory.spaceListItem';
25}
26
27
28Confluence.Templates.SpaceDirectory.spaceLabel = function(opt_data, opt_ignored) {
29  return '' + aui.labels.label({text: opt_data.spaceLabel, extraClasses: 'space-label', url: '#space-search-result'});
30};
31if (goog.DEBUG) {
32  Confluence.Templates.SpaceDirectory.spaceLabel.soyTemplateName = 'Confluence.Templates.SpaceDirectory.spaceLabel';
33}
34
35
36Confluence.Templates.SpaceDirectory.spaceLabelEllipsis = function(opt_data, opt_ignored) {
37  return '<span>&hellip;</span>';
38};
39if (goog.DEBUG) {
40  Confluence.Templates.SpaceDirectory.spaceLabelEllipsis.soyTemplateName = 'Confluence.Templates.SpaceDirectory.spaceLabelEllipsis';
41}
42
43}catch(e){WRMCB(e)};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.