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.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...
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