diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index 4b9151e..0c368bc 100644 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -1,13 +1,21 @@ - - - - - {% block title %}Welcome!{% endblock %} - {% block stylesheets %}{% endblock %} - - - - {% block body %}{% endblock %} - {% block javascripts %}{% endblock %} - + + + + + OpenScrum{% block title %}{% endblock %} + + + + +

OpenScrum.org

+ + {% block body %}{% endblock %} + diff --git a/app/config/config.yml b/app/config/config.yml index b6da31e..3e45fe6 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -4,7 +4,7 @@ imports: framework: #esi: ~ - #translator: { fallback: %locale% } + translator: { fallback: %locale% } secret: %secret% charset: UTF-8 router: { resource: "%kernel.root_dir%/config/routing.yml" } diff --git a/src/OpenScrum/InfoBundle/Controller/DefaultController.php b/src/OpenScrum/InfoBundle/Controller/DefaultController.php index ef60b01..1c3882f 100644 --- a/src/OpenScrum/InfoBundle/Controller/DefaultController.php +++ b/src/OpenScrum/InfoBundle/Controller/DefaultController.php @@ -8,8 +8,13 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { - public function indexAction($name) + public function indexAction() { - return $this->render('OpenScrumInfoBundle:Default:index.html.twig', array('name' => $name)); + return $this->render('OpenScrumInfoBundle:' . $this->get('session')->getLocale() . ':index.html.twig', array()); + } + + public function infopageAction($page) + { + return $this->render('OpenScrumInfoBundle:' . $this->get('session')->getLocale() . ':' . $page . '.html.twig', array()); } } diff --git a/src/OpenScrum/InfoBundle/Resources/config/routing.yml b/src/OpenScrum/InfoBundle/Resources/config/routing.yml index da2b062..1598759 100644 --- a/src/OpenScrum/InfoBundle/Resources/config/routing.yml +++ b/src/OpenScrum/InfoBundle/Resources/config/routing.yml @@ -1,3 +1,17 @@ OpenScrumInfoBundle_homepage: - pattern: /hello/{name} - defaults: { _controller: OpenScrumInfoBundle:Default:index } + pattern: /{_locale} + defaults: + _controller: OpenScrumInfoBundle:Default:infopage + _locale: en + _format: html + page: index + +OpenScrumInfoBundle_infopage: + pattern: /{_locale}/info/{page}.{_format} + defaults: + _controller: OpenScrumInfoBundle:Default:infopage + _locale: en + page: about + requirements: + _format: html + _locale: en diff --git a/src/OpenScrum/InfoBundle/Resources/views/Default/index.html.twig b/src/OpenScrum/InfoBundle/Resources/views/Default/index.html.twig deleted file mode 100644 index 4ce626e..0000000 --- a/src/OpenScrum/InfoBundle/Resources/views/Default/index.html.twig +++ /dev/null @@ -1 +0,0 @@ -Hello {{ name }}! diff --git a/src/OpenScrum/InfoBundle/Resources/views/en/about.html.twig b/src/OpenScrum/InfoBundle/Resources/views/en/about.html.twig new file mode 100644 index 0000000..b7e563c --- /dev/null +++ b/src/OpenScrum/InfoBundle/Resources/views/en/about.html.twig @@ -0,0 +1,128 @@ +{% extends '::base.html.twig' %} +{% block body %} +

About OpenScrum.org!

+ +

What is OpenScrum?

+

OpenScrum is a tool for agile development. It is a web based tool to manage your project development.

+

Become a Product Owner, define your Product, gather a Team, add your Ideas, and then all you need to do is to watch as your Product is being developed.

+

Join as a developer, read the Product advertisements, apply to join a Team, split the Product Owner's Ideas into Tasks, and start developing! You get a fully functional discussion board for it.

+ +

What OpenScrum is not?

+ +

OpenScrum is not an issue tracker

+

Although the product backlog can be seen as one, issues should be tracked in a separate software. For example, the OpenScrum team uses Bugzilla for this purpose.

+ +

OpenScrum is not a project planner

+

Although the product and sprint backlogs can be seen as one, it doesn't (and won't) provide all features of a project planner.

+:wa + +

How does it work?

+

The whole story is depicted on our Terms and Definitions page.

+

Want to see a real life example with pictures and stuff? Check out the Examples page!

+ +

Extract of the TODO file

+

According to the sprint length, the user story estimations and priorities, the team and the stakeholder create the backlog of the next sprint. The team will use this backlog during the sprint.

+

However, sometimes it is required to discuss something. This can be done within the specific user story using a chat function. The sprint backlog can not be changed during a sprint, as it would change the sprint's length. Instead, in the discussion, the development of the story can be halted. This, of course will mean that tha story will not be finished at the end of the sprint and will appear as unfinished in the review.

+

OpenScrum also provides some help during the Daily Scrum. It provides a chat interface on which Team members can discuss the last and next day. If the Team holds the Daily Scrum in person instead, the Scrum Master should upload a brief extract of the Daily Scrum for documenting purposes. These documents are unseen by the Product Owner unless otherwise stated by the Scrum Master.

+

During the development Team members can login anytime to see or update the status of user stories. Some parts of these updates are published to the Product Owner, so they can monitor the development's status.

+

When the Sprint is finished, OpenScrum may come in handy for the Sprint Review, either.

+ +

User story sources

+ +

Product backlogs

+ + +

Sprint backlogs

+ + +

Help for the daily scrum

+ + +

Sprint review

+ + +

Sprint retrospective board

+ + +

Users and roles

+ + +

Products

+ + +

Teams

+ + +

Sprints

+ + +

OpenScrum.org user stories

+