← Back to team overview

perroquet-team team mailing list archive

[Bug 532228] Re: Add export tools

 

Pseudo code for Core

def onExport():
	self.gui.AskPropertiesAdvanced()
	template = copy(self.GetExercise())

	if template.isLockAtExport():
		template.setLock(True)
	template.setTemplate(True)
	Export(template)

-- 
Add export tools
https://bugs.launchpad.net/bugs/532228
You received this bug notification because you are a member of Perroquet
Team, which is subscribed to perroquet.

Status in Perroquet: Triaged

Bug description:
Add an menu entry to export a exercise perroquet file :

as template perroquet
as perroquet package

The menu entry could be in :

File > Export > Export as template...
                        Export as package...





References