home » zplus/freepost.git
Author zPlus <-> 2016-03-16 14:43:47
Committer zPlus <-> 2016-03-16 14:43:47
Commit fbdce65 (patch)
Tree 4c105ea
Parent(s)

Improve templates: - edit.twig - reply.twig - submit.twig


commits diff: 77317fc..fbdce65
3 files changed, 6 insertions, 6 deletionsdownload


Diffstat
-rw-r--r-- template/edit.twig 2
-rw-r--r-- template/reply.twig 8
-rw-r--r-- template/submit.twig 2

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+1/-1 M   template/edit.twig
index 147ffbe..7af56a8
old size: 864B - new size: 872B
@@ -23,7 +23,7 @@
23 23 <input type="hidden" name="{{ item.type }}" value="{{ item.data.hashId }}" />
24 24
25 25 <div style="margin: 2em 0;">
26 - <textarea name="text" class="form-control">{{ item.data.text }}</textarea>
26 + <textarea name="text" rows=10 class="form-control">{{ item.data.text }}</textarea>
27 27 </div>
28 28
29 29 <div>

+4/-4 M   template/reply.twig
index 0ec71e4..1c1c846
old size: 695B - new size: 859B
@@ -1,11 +1,11 @@
1 1 {% include 'header.twig' %}
2 2
3 3 <div class="reply">
4 - <h3>Reply to: {{ comment.postTitle }}</h3>
4 + <h3>Reply to <em>{{ comment.username }}</em></h3>
5 5
6 6 <div class="info">
7 - by {{ comment.username }}
8 - <em>{{ comment.created|ago }}</em>
7 + posted <em><a href="{{ 'post/'|docroot ~ comment.postHashId }}#comment-{{ comment.hashId }}">{{ comment.created|ago }}</a></em>
8 + on <a href="{{ ('post/' ~ comment.postHashId)|docroot }}">{{ comment.postTitle }}</a>
9 9 </div>
10 10
11 11 <div style="margin: 2em 0;">
@@ -16,7 +16,7 @@
16 16 <input type="hidden" name="parent_comment" value="{{ comment.hashId }}" />
17 17
18 18 <div style="margin: 2em 0;">
19 - <textarea name="text" class="form-control"></textarea>
19 + <textarea name="text" rows=10 class="form-control"></textarea>
20 20 </div>
21 21
22 22 <div>

+1/-1 M   template/submit.twig
index 26ad5a0..7f1d888
old size: 566B - new size: 574B
@@ -13,7 +13,7 @@
13 13
14 14 <h3>Text</h3>
15 15 <div>
16 - <textarea name="text" class="form-control"></textarea>
16 + <textarea name="text" rows=10 class="form-control"></textarea>
17 17 </div>
18 18
19 19 <div style="margin: 1em 0 0 0;">