From 5b6fa6f269000ed50a4812df424f190499c43048 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 6 May 2015 00:36:59 +0200 Subject: [PATCH] flags --- app/locales/en.yml | 1 + app/locales/fr.yml | 1 + bower.json | 3 ++- src/Gist/Resources/views/base.html.twig | 13 ++++++++++++- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/app/locales/en.yml b/app/locales/en.yml index cb42d79..664e486 100644 --- a/app/locales/en.yml +++ b/app/locales/en.yml @@ -1,4 +1,5 @@ app: + title: '#!GIST' title_prefix: '#!GIST - ' menu: diff --git a/app/locales/fr.yml b/app/locales/fr.yml index b1411d6..c06047d 100644 --- a/app/locales/fr.yml +++ b/app/locales/fr.yml @@ -1,4 +1,5 @@ app: + title: '#!GIST' title_prefix: '#!GIST - ' menu: diff --git a/bower.json b/bower.json index d135827..716f91d 100644 --- a/bower.json +++ b/bower.json @@ -12,6 +12,7 @@ "license": "LGPL", "homepage": "https://gitlab.deblan.org/deblan/gist.deblan.org", "dependencies": { - "bootstrap": "3.3.4" + "bootstrap": "3.3.4", + "flag-icon-css": "0.7.1" } } diff --git a/src/Gist/Resources/views/base.html.twig b/src/Gist/Resources/views/base.html.twig index 29ad64f..0452b51 100644 --- a/src/Gist/Resources/views/base.html.twig +++ b/src/Gist/Resources/views/base.html.twig @@ -3,6 +3,7 @@ {% block css %} + {% endblock %} @@ -23,7 +24,9 @@ - #!GIST + + {{ 'app.title'|trans }} +