we attempted to modify the template:
servicedesk/internal-api/core/feature/smartsearch/result/cv-smart-portal-search-results-view.soy
from
servicedesk-core-ui-plugin-3.2.0-139.jar
but it's not affecting what i expected, e.g. our "test" class isn't on this element:
{namespace ServiceDesk.Templates.Shared.Components.Search}
/**
* @param hasMoreThanOneResult Whether there are more than one result
*/
{template .searchResultsFooter}
<div class="cv-smart-portal-nav-bottom test">
{call aui.buttons.button}
{param text}
{if $hasMoreThanOneResult}
{getTextAsHtml('sd.customerview.smart.portal.none.helped')}
{else}
{getTextAsHtml('sd.customerview.smart.portal.none.helped.singular')}
{/if}
{/param}
{param type: 'link' /}
{param extraClasses: 'js-cv-view-portals' /}
{/call}
</div>
{/template}
/**
* A spinner with customizable size
*
* @param size the size of the spinner, available options are "small", "medium", "large" and "xlarge".
*/
{template .spinner}
<div class="cv-smart-portal-spinner-container">
<span class="sd-spinner-{$size}"></span>
</div>
{/template}
We also thought we might be able to use a plugin to inject javascript, but this issue seems to suggest that is not possible. https://jira.atlassian.com/browse/JSDSERVER-1938
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.