26 Commits

Author SHA1 Message Date
799893316d first implementation of timeline
refs #224

Some parts have evolved from issue, we should rethink some parts of the design
2015-02-18 00:05:27 +01:00
ab8c565ff3 add language fallback to translatable string
refs #332
2015-02-05 16:43:45 +01:00
caaab740a9 remove ref to %locale% in translatable form 2015-02-05 16:31:33 +01:00
5f117ffa4a enable twig intl extension
This extension allow bundles to format date and number according to localization.

We would like to use this to format date :

``` twig

date|localizeddate('medium', none)

```

refs #272
[documentation of the extension](http://twig.sensiolabs.org/doc/extensions/intl.html)
2015-01-23 11:38:54 +01:00
8f457e0a63 loads route automatically
route must now be indicated in config.yml under chill_main.routing.resources.

Other bundle may add routes prepending configuration
2015-01-22 17:05:21 +01:00
Marc Ducobu
787ed4a7c2 Order languages in alphabetical order in every language 2014-11-28 14:12:35 +01:00
Marc Ducobu
070b184dbe Order countries in alphabetical order in every language - close #360 2014-11-28 13:45:38 +01:00
Marc Ducobu
79ccfb184a Form type for Languages (select2) 2014-11-26 12:58:01 +01:00
51d6bed43d add search possibility throught all bundles, and remove deps between mainbundle and person bundle.
refs #223
2014-11-25 15:25:37 +01:00
Marc Ducobu
3abfd1cf63 Refactoring Resources/config/services.yml - removing useless line return 2014-11-17 11:32:10 +01:00
57f2fa3178 create an helper + twig filter to show translatable string in current locale.
The twig filter is localize_translatable_string

Example : {{ person.nationality|localize_translatable_string }}

The helper may be called with $container->get('chill.main.helper.translatable_string'). The main function is ->localize(array $strings)

Example:

$container->get('chill.main.helper.translatable_string')->localize($country->getName()); #return the name in current locale

close #299
2014-11-17 01:03:07 +01:00
234a3c9a5f translation of countries in form refs #317 2014-11-17 01:03:07 +01:00
2485f37f93 Create a type select2_entity and select2_chill_country refs #318
select2_entity inherits from entity with a class ".select2".
select2_chill_country inherit from select2_entity

[ci skip]
2014-11-14 11:59:25 +01:00
7b7cdeba21 create type select2_choice and apply select2 only on those fields 2014-11-13 16:57:13 +01:00
Marc Ducobu
b0ac03acd7 Adding TranslatableStringFormType.php 2014-11-08 11:04:35 +01:00
09bb021a3b create symfony login form using 2.6 version 2014-11-06 15:27:07 +01:00
Marc Ducobu
5c12e09267 Removing useless return line 2014-11-05 17:12:04 +01:00
d9aa417e3c move spacename to CLChillMain to ChillMain 2014-10-17 08:27:31 +02:00
78a522d48f add service_container to menuComposer instead of router to avoid circular references 2014-10-12 21:00:16 +02:00
68df4008a8 add chill_menu to render easily menu, refs #179 2014-10-12 20:38:26 +02:00
2e8fa3b064 move MenuComposer to Routing folder 2014-10-11 13:59:24 +02:00
d66583758a rename menu_composer service 2014-10-07 00:22:48 +02:00
5393473c11 Create a controller for rendering menu 2013-11-06 17:46:43 +01:00
75794d9323 make tabs and submenu working 2013-10-31 17:48:57 +01:00
7d9eeaf15d adapt layout for person search + standard rendering 2013-10-31 16:13:32 +01:00
c206337d2d move to correct directory 2013-10-11 12:34:54 +02:00