we need add one custom buuton at bottom of pop-up box.
such as
What should I do to achieve it
you can contact me through email:
247546670@qq.com
This might help,
created a button following that info. Created a .vm file with:
<li id="test">
<a class="aui-button">Test Button</a>
</li>
Calling it from a web-panel:
<web-panel key="test" location="jira.agile.board.tools" weight="35">
<label>test</label>
<resource type="velocity" name="view" location="test.vm"/>
</web-panel>
but the button keeps turning into a drop-down :/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to write something linke this, (the li tag creates list)
<div id="test">
<a class="aui-button">Test Button</a>
</div>
-Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Didn't fix the problem :/
Almost looks like it's pulling things from the other button?
What i'm using to call the .vm file:
<web-panel key="toggleCSS" location="jira.agile.board.tools" weight="35">
<resource type="velocity" name="view" location="toggleCSS.vm"/>
</web-panel>
Code I have for my button in the toggleCSS.vm file:
<button class="aui-button">Compress</button>
But when i inspect what it's creating:
<button id="toggleCSS-button" class="aui-button ghx-actions-tools ghx-dropdown-trigger" aria-controls="toggleCSS-button_drop" aria-haspopup="true" aria-expanded="false">undefined</button>
No idea where it's getting all that from. It keeps showing a dropdown button called 'undefined'.
If I have nothing in the .vm file, it removed both buttons on the agile board. 'undefined' and the jira 'boards' one.
Even tried changing toggleCSS.vm to what you suggested and it did not work:
<div id="test">
<a class="aui-button">Test Button</a>
</div>
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.
Just tried. Same thing. Screenshot:
screenshot of code:
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.