Skip to content

Commit

Permalink
Add form help for subject
Browse files Browse the repository at this point in the history
- #17
  • Loading branch information
aljawaid committed Jan 17, 2023
1 parent 5b8b7a7 commit 0fedcd6
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Assets/css/kanboard-email-history.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@
border-radius: var(--border-radius-kbemailhistory);
border: 1px solid var(--blue-border-gradient-match);
}

.form-help-subject {
display: inline-block;
margin: auto 10px;
}
1 change: 1 addition & 0 deletions Locale/de_DE/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
'Options' => 'Optionen',
'Task Activity Report' => 'Aufgabenaktivitätsbericht',
'Email Recipient(s)' => 'E-mail Empfänger',
'If left blank then "Task Activity Report" is used as the subject' => 'Wenn das Feld leer gelassen wird, wird "Aufgabenaktivitätsbericht" als Betreff verwendet',
//
// comment/show.php
//
Expand Down
1 change: 1 addition & 0 deletions Locale/en_GB/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
'Options' => 'Options',
'Task Activity Report' => 'Task Activity Report',
'Email Recipient(s)' => 'Email Recipient(s)',
'If left blank then "Task Activity Report" is used as the subject' => 'If left blank then "Task Activity Report" is used as the subject',
//
// comment/show.php
//
Expand Down
1 change: 1 addition & 0 deletions Locale/fr_FR/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
'Options' => 'Choix',
'Task Activity Report' => 'Rapport d\'activité de tâche',
'Email Recipient(s)' => 'Destinataire(s) de l\'e-mail',
'If left blank then "Task Activity Report" is used as the subject' => 'Si laissé vide, "Rapport d\'activité de tâche" est utilisé comme sujet',
//
// comment/show.php
//
Expand Down
1 change: 1 addition & 0 deletions Locale/translations-starter-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
'Options' => '',
'Task Activity Report' => '',
'Email Recipient(s)' => '',
'If left blank then "Task Activity Report" is used as the subject' => '',
//
// comment/show.php
//
Expand Down
5 changes: 5 additions & 0 deletions Template/action_creation/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
<?php else: ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->text($param_name, $values, array(), array('placeholder="'. t('Task Activity Report') .'"'), 'subject-input') ?>
<?php if ($param_name == 'subject'): ?>
<div class="form-help form-help-subject">
<?= t('If left blank then "Task Activity Report" is used as the subject') ?>
</div>
<?php endif ?>
<?php endif ?>
<?php endforeach ?>
</fieldset>
Expand Down

0 comments on commit 0fedcd6

Please sign in to comment.