예제 #1
0
파일: stories.py 프로젝트: pneff/scrumboard
 def bulk_import(self):
     if request.method == 'GET':
         return render('/derived/stories/bulk_import.html')
     else:
         from scrumboard.model.importer import StoryImporter
         importer = StoryImporter()
         importer.fetch(request.params.get('content'))
         return redirect_to(controller='stories', action='list')
예제 #2
0
파일: sprints.py 프로젝트: pneff/scrumboard
 def show(self, id):
     sprint = model.meta.Session.query(model.Sprint).get(id)
     return render('/derived/sprints/show.html')
예제 #3
0
파일: stories.py 프로젝트: pneff/scrumboard
 def list(self):
     c.heading = "Backlog"
     c.stories = model.Story.get_unassigned()
     return render('/derived/stories/list.html')
예제 #4
0
파일: sprints.py 프로젝트: pneff/scrumboard
 def list(self):
     c.heading = "Sprints"
     c.sprints = model.meta.Session.query(model.Sprint)
     c.sprints = c.sprints.order_by(model.sprint_table.c.start_date)
     c.sprints = c.sprints.all()
     return render('/derived/sprints/list.html')