diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-11-15 13:45:24 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-11-15 13:45:24 -0500 |
commit | 2011c3534401f8aa8b4e4b72f0a024e58ca85560 (patch) | |
tree | 23ea6118f0cff3e4455815d7dda295cbb96fea61 | |
parent | 42b5b413bdd7b10c2f4143251333eb721543c879 (diff) |
Add missing template for activity stream
23 files changed, 33 insertions, 0 deletions
@@ -16,6 +16,7 @@ Bug fixes: * Datepicker is closed unexpectedly on blur event * Fix bug in daily project summary CSV export * Fix PHP error when adding a new user with email notification enabled +* Add missing template for activity stream to show event "file.create" Version 1.0.20 -------------- diff --git a/app/Locale/cs_CZ/translations.php b/app/Locale/cs_CZ/translations.php index 2631ab2a..647af0cc 100644 --- a/app/Locale/cs_CZ/translations.php +++ b/app/Locale/cs_CZ/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/da_DK/translations.php b/app/Locale/da_DK/translations.php index 6d221a7a..0e886604 100644 --- a/app/Locale/da_DK/translations.php +++ b/app/Locale/da_DK/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/de_DE/translations.php b/app/Locale/de_DE/translations.php index e566c0f6..631dc449 100644 --- a/app/Locale/de_DE/translations.php +++ b/app/Locale/de_DE/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/es_ES/translations.php b/app/Locale/es_ES/translations.php index 17554a3e..7b999882 100644 --- a/app/Locale/es_ES/translations.php +++ b/app/Locale/es_ES/translations.php @@ -1064,4 +1064,5 @@ return array( 'Duplicates are not imported' => 'Los duplicados no son importados', 'Usernames must be lowercase and unique' => 'Los nombres de usuario deben ser únicos y contener sólo minúsculas', 'Passwords will be encrypted if present' => 'Las contraseñas serán cifradas si es que existen', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/fi_FI/translations.php b/app/Locale/fi_FI/translations.php index 998684f9..128b7aaa 100644 --- a/app/Locale/fi_FI/translations.php +++ b/app/Locale/fi_FI/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/fr_FR/translations.php b/app/Locale/fr_FR/translations.php index 36047e84..05bc5e04 100644 --- a/app/Locale/fr_FR/translations.php +++ b/app/Locale/fr_FR/translations.php @@ -1067,4 +1067,5 @@ return array( 'Usernames must be lowercase and unique' => 'Les noms d\'utilisateurs doivent être en minuscule et unique', 'Passwords will be encrypted if present' => 'Les mots de passe seront chiffrés si présent', 'Assign automatically a category based on a color' => 'Assigner automatiquement une catégorie par rapport à un lien', + '%s attached a new file to the task %s' => '%s a attaché un nouveau fichier à la tâche %s', ); diff --git a/app/Locale/hu_HU/translations.php b/app/Locale/hu_HU/translations.php index 59b1d569..85084bbc 100644 --- a/app/Locale/hu_HU/translations.php +++ b/app/Locale/hu_HU/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/id_ID/translations.php b/app/Locale/id_ID/translations.php index 8408fc11..6bf69623 100644 --- a/app/Locale/id_ID/translations.php +++ b/app/Locale/id_ID/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/it_IT/translations.php b/app/Locale/it_IT/translations.php index 08bf7225..d2879fb0 100644 --- a/app/Locale/it_IT/translations.php +++ b/app/Locale/it_IT/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/ja_JP/translations.php b/app/Locale/ja_JP/translations.php index fb40271d..bfe3952e 100644 --- a/app/Locale/ja_JP/translations.php +++ b/app/Locale/ja_JP/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/nb_NO/translations.php b/app/Locale/nb_NO/translations.php index 598a15c9..eb064079 100644 --- a/app/Locale/nb_NO/translations.php +++ b/app/Locale/nb_NO/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/nl_NL/translations.php b/app/Locale/nl_NL/translations.php index fd74c977..bfda3aa4 100644 --- a/app/Locale/nl_NL/translations.php +++ b/app/Locale/nl_NL/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/pl_PL/translations.php b/app/Locale/pl_PL/translations.php index bcc0c433..4a4823e4 100644 --- a/app/Locale/pl_PL/translations.php +++ b/app/Locale/pl_PL/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/pt_BR/translations.php b/app/Locale/pt_BR/translations.php index e2bcecbd..3f40bfe9 100644 --- a/app/Locale/pt_BR/translations.php +++ b/app/Locale/pt_BR/translations.php @@ -1064,4 +1064,5 @@ return array( 'Duplicates are not imported' => 'Registros duplicados não são importados', 'Usernames must be lowercase and unique' => 'Nomes de usuário devem ser únicos e em letras minúsculas', 'Passwords will be encrypted if present' => 'Senhas serão encriptadas, se presentes', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/pt_PT/translations.php b/app/Locale/pt_PT/translations.php index 540a4a56..778f288b 100644 --- a/app/Locale/pt_PT/translations.php +++ b/app/Locale/pt_PT/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/ru_RU/translations.php b/app/Locale/ru_RU/translations.php index 0e9f2da8..6e7e5428 100644 --- a/app/Locale/ru_RU/translations.php +++ b/app/Locale/ru_RU/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/sr_Latn_RS/translations.php b/app/Locale/sr_Latn_RS/translations.php index 0e25033d..223055e4 100644 --- a/app/Locale/sr_Latn_RS/translations.php +++ b/app/Locale/sr_Latn_RS/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/sv_SE/translations.php b/app/Locale/sv_SE/translations.php index 8663d600..3c38621c 100644 --- a/app/Locale/sv_SE/translations.php +++ b/app/Locale/sv_SE/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/th_TH/translations.php b/app/Locale/th_TH/translations.php index 50181c79..6603eadf 100644 --- a/app/Locale/th_TH/translations.php +++ b/app/Locale/th_TH/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/tr_TR/translations.php b/app/Locale/tr_TR/translations.php index 05277797..c3f724df 100644 --- a/app/Locale/tr_TR/translations.php +++ b/app/Locale/tr_TR/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php index cc7de564..d8ac66d0 100644 --- a/app/Locale/zh_CN/translations.php +++ b/app/Locale/zh_CN/translations.php @@ -1064,4 +1064,5 @@ return array( // 'Duplicates are not imported' => '', // 'Usernames must be lowercase and unique' => '', // 'Passwords will be encrypted if present' => '', + // '%s attached a new file to the task %s' => '', ); diff --git a/app/Template/event/file_create.php b/app/Template/event/file_create.php new file mode 100644 index 00000000..1a36bc8f --- /dev/null +++ b/app/Template/event/file_create.php @@ -0,0 +1,11 @@ +<?= $this->user->avatar($email, $author) ?> + +<p class="activity-title"> + <?= e('%s attached a new file to the task %s', + $this->e($author), + $this->url->link(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) + ) ?> +</p> +<p class="activity-description"> + <em><?= $this->e($file['name']) ?></em> +</p>
\ No newline at end of file |