Hi,
I have developed an add-on and I would like for it to be enabled or disabled at the repository level. I have added a web-item in the add-on section of settings page of the repository. But, I am not sure how to get my html content on the same page like other add-ons. Right now, when I click my add-on settings web-item, it calls a servlet and takes me to a different page.
How do I achieve this? Do I create a web-resource and invoke a jQuery code on the settings page to modify the DOM elements?
Community moderators have prevented the ability to post new answers.
You will have to add the appropriate decorators on the page head. See https://developer.atlassian.com/bitbucket/server/docs/latest/reference/plugin-decorators.html
Thanks Jobin. This answer helped in designing the page. The only link I was missing was to use .soy templates. Thanks a ton!
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.