summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorFrédéric Guillot <fguillot@users.noreply.github.com>2014-03-16 13:51:30 -0400
committerFrédéric Guillot <fguillot@users.noreply.github.com>2014-03-16 13:51:30 -0400
commite108b952025a22e4f6782e9860044627fa914aae (patch)
tree667b59ad61f944e75a3d6bcb9459956e29555515 /templates
parente1b7e8013f725d8b73e94c3b69a143b412c608d8 (diff)
Link syntax help to the official documentation
Diffstat (limited to 'templates')
-rw-r--r--templates/task_edit.php2
-rw-r--r--templates/task_new.php1
-rw-r--r--templates/task_show.php4
3 files changed, 4 insertions, 3 deletions
diff --git a/templates/task_edit.php b/templates/task_edit.php
index eca4537a..07555432 100644
--- a/templates/task_edit.php
+++ b/templates/task_edit.php
@@ -28,7 +28,7 @@
<?= Helper\form_label(t('Description'), 'description') ?>
<?= Helper\form_textarea('description', $values, $errors) ?><br/>
- <div class="form-help"><a href="http://en.wikipedia.org/wiki/Markdown#Example" target="_blank"><?= t('Write your text in Markdown') ?></a></div>
+ <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?= t('Write your text in Markdown') ?></a></div>
<?= Helper\form_checkbox('another_task', t('Create another task'), 1) ?>
diff --git a/templates/task_new.php b/templates/task_new.php
index 30e97a85..88ffd53f 100644
--- a/templates/task_new.php
+++ b/templates/task_new.php
@@ -28,6 +28,7 @@
<?= Helper\form_label(t('Description'), 'description') ?>
<?= Helper\form_textarea('description', $values, $errors) ?><br/>
+ <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?= t('Write your text in Markdown') ?></a></div>
<?= Helper\form_checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
diff --git a/templates/task_show.php b/templates/task_show.php
index 59e00b1b..cc1d9e25 100644
--- a/templates/task_show.php
+++ b/templates/task_show.php
@@ -68,7 +68,7 @@
<?= Helper\form_hidden('id', $description_form['values']) ?>
<?= Helper\form_textarea('description', $description_form['values'], $description_form['errors'], array('required', 'placeholder="'.t('Leave a description').'"')) ?><br/>
- <div class="form-help"><a href="http://en.wikipedia.org/wiki/Markdown#Example" target="_blank"><?= t('Write your text in Markdown') ?></a></div>
+ <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?= t('Write your text in Markdown') ?></a></div>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
@@ -93,7 +93,7 @@
<?= Helper\form_hidden('task_id', $comment_form['values']) ?>
<?= Helper\form_hidden('user_id', $comment_form['values']) ?>
<?= Helper\form_textarea('comment', $comment_form['values'], $comment_form['errors'], array('required', 'placeholder="'.t('Leave a comment').'"'), 'comment-textarea') ?><br/>
- <div class="form-help"><a href="http://en.wikipedia.org/wiki/Markdown#Example" target="_blank"><?= t('Write your text in Markdown') ?></a></div>
+ <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?= t('Write your text in Markdown') ?></a></div>
<div class="form-actions">
<input type="submit" value="<?= t('Post comment') ?>" class="btn btn-blue"/>