How to display the information of space Administrator on the page of space directory

Yong CHEN August 19, 2022

We're currently running Confluence server 6.13.

There are only three items displaying on the Space Directory:space name 、Description、 Categories,like below picture:

111.png

But we want to add Space Administrator to this page,like this:

222.png

How can I do? 

Thank Your help!

1 answer

0 votes
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 19, 2022

Hi @Yong CHEN 

 

I think that the reason why it is not displayed is that you can have many space admins and even groups set as space admin.

I don't know any useful hint how to do that or any app that you can download from the marketplace. 

You need to think about custom app to achieve that.


Regards,

Seba

Yong CHEN August 21, 2022

Thanks for your answer!

I have tried the method of this page:https://community.atlassian.com/t5/Confluence-questions/How-can-I-get-the-Browse-gt-Space-Directory-output-to-include/qaq-p/145038.

It likes a simple way to achive my need,but it doesn't work.

The item which I want to add is the value of property"Administrators",like below: 

333.png

How to fix the files of spacedirectory.soy and spacedirectory.vm:

space-directory.vm:

<div class="space-list-section entity-list-section">
<table id="space-list" class="aui list-container hidden">
<thead class="list-header">
<tr>
<td class="column-heading name-heading" colspan="2">$i18n.getText("space.name")</td>
<td class="column-heading desc-heading">$i18n.getText("description.name")</td>
<td class="column-heading labels-heading">$i18n.getText("categories.name")</td>
<td class="column-heading admins-heading">$i18n.getText("Administrators.name")</td>
<td class="column-heading icon-column-heading"></td>
</tr>
</thead>
</table>
</div>

 

spacedirectory.soy:

 <td class="entity-attribute space-logo entity-logo entity-icon">
<a href="{$spaceUrl}">
<img class="space logo" src="{$logoUrl}" alt="{getText('space.logo')}"/>
</a>
</td>
<td class="entity-attribute space-name">
<a title="{$spaceName}" href="{$spaceUrl}">{$truncatedSpaceName}</a>
</td>
<td class="entity-attribute space-desc">
<span>{$spaceDescHtml|noAutoescape}</span>
</td>
<td class="entity-attribute space-labels">
</td>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events