I was browsing the source code and I can't seem to locate the code for creating the 'Save' and 'Cancel' buttons that appear in the page for configuring the theme (http://localhost:8090/admin/doctheme/configuretheme.action).
The code that is responsible for the "Save" and "Cancel" buttons should be this one:
#bodytag( "Submit" "theme='aui'" ) #param ("submitValue" "$action.getText('save.name')") #end
Hope this helps
I already did that. I will just use "theme='notable'" and creat two separate buttons.
'aui' won`t even let me name the buttons. Must have something to do with the Confluence version I`m running because from what I know documentation theme isn`t supported by recent versions anymore.
Please take a look at the file submit.vm in the Confluence source code. It's all in there.
You probably need to set $editMode to true or add a parameter "editMode" which is "true".
#set($editMode = "true")
#bodytag( "Submit" "theme='aui'" ) #param ("submitValue" "$action.getText('save.name')") #param ("editMode" "true") #end
They also do this in the documentation theme plugin.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs