Commit 06774916 authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: "Editor" tab guides user through deployment steps

parent f0719791
......@@ -309,9 +309,12 @@ def editCurrentProject():
return render_template('softwareFolder.html', workDir='workspace',
project=open(project).read(),
projectList=projectList)
flash('Please clone slapos repository and then, <br/>open or create a software to start with your project!!')
return redirect(url_for('manageRepository'))
elif not projectList:
flash('Please clone slapos repository, or your own repository')
return redirect(url_for('manageRepository'))
else:
flash('Please, <br/>open or create a software to start with your project!!')
return redirect(url_for('openProject', method='open'))
#create file or directory
def createFile():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment