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 deletions
—
download
Diffstat
Diff options
+1/-1
M template/edit.twig
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
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
|
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
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;">
|