From 50051e776f9183471570f2688d0a85f92b309a3c Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 23 Feb 2014 20:34:55 -0500 Subject: Display an error message when there is no column for a project --- assets/css/app.css | 4 +++ locales/fr_FR/translations.php | 1 + locales/pl_PL/translations.php | 4 +++ templates/board_index.php | 70 +++++++++++++++++++++++------------------- templates/board_public.php | 68 +++++++++++++++++++++------------------- 5 files changed, 83 insertions(+), 64 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index fb0bba98..ca9f5694 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -426,6 +426,10 @@ nav .active a { text-align: right; } +.public-board { + margin-top: 5px; +} + #board th a { text-decoration: none; font-size: 150%; diff --git a/locales/fr_FR/translations.php b/locales/fr_FR/translations.php index 7d021fcc..4e38e052 100644 --- a/locales/fr_FR/translations.php +++ b/locales/fr_FR/translations.php @@ -180,4 +180,5 @@ return array( '%d closed tasks' => '%d tâches terminées', 'no task for this project' => 'aucune tâche pour ce projet', 'Public link' => 'Accès public', + 'There is no column in your project!' => 'Il n\'y a aucune colonne dans votre projet !', ); diff --git a/locales/pl_PL/translations.php b/locales/pl_PL/translations.php index 2e6211ed..b1ecd1ed 100644 --- a/locales/pl_PL/translations.php +++ b/locales/pl_PL/translations.php @@ -180,4 +180,8 @@ return array( '%d closed tasks' => '%d zamkniętych zadań', 'no task for this project' => 'brak zadań dla tego projektu', 'Public link' => 'Link publiczny', + + /* Missing translations: + 'There is no column in your project!' => '', + */ ); diff --git a/templates/board_index.php b/templates/board_index.php index abd511b7..274e8227 100644 --- a/templates/board_index.php +++ b/templates/board_index.php @@ -21,44 +21,50 @@ - - - - - - - - - - +
- + - -
- -
-
+ +

+ + + + + + + + + + + + - - - -
+ + + +
+ +
+
- # - + # - - - - - - - - + + + + + + + -
- -
+
+ +
+
- + +
+
+ + diff --git a/templates/board_public.php b/templates/board_public.php index d01bae0f..ac9e80ae 100644 --- a/templates/board_public.php +++ b/templates/board_public.php @@ -1,41 +1,45 @@ -
+
- - - - - - - - - - +
- -
- -
-
+ +

+ + + + + + + + + + + - - - -
+ +
+ +
+
- # - + # - - - - - - - - + + + + + + + -
- -
+
+ +
+
- + +
+
+
\ No newline at end of file -- cgit v1.2.3