diff options
| author | czaks <marcin@6irc.net> | 2014-04-19 00:24:52 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-04-19 00:24:52 +0200 |
| commit | bfc4df8276f1f3577e8d40f300ed0f3f02613cd0 (patch) | |
| tree | ff3a2e0d49a9c3d8058aa46df600d2b6eac674f2 /templates/post/name.html | |
| parent | 5b9b0abc54d2aa7f632909ecdfeb11862dffb9ae (diff) | |
| parent | bd498227f5faebad7058efeae1f7badc469d7a0e (diff) | |
Merge branch 'master' of github.com:vichan-devel/Tinyboard into br-integration
Diffstat (limited to 'templates/post/name.html')
| -rw-r--r-- | templates/post/name.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/post/name.html b/templates/post/name.html new file mode 100644 index 00000000..009b234d --- /dev/null +++ b/templates/post/name.html @@ -0,0 +1,16 @@ +{% set capcode = post.capcode|capcode %} +{% if post.email|length > 0 %} + {# start email #} + <a class="email" href="mailto:{{ post.email }}"> +{% endif %} + <span {% if capcode.name %}style="{{ capcode.name }}" {% endif %}class="name">{{ post.name|bidi_cleanup }}</span> + {% if post.trip|length > 0 %} + <span {% if capcode.trip %}style="{{ capcode.trip }}" {% endif %}class="trip">{{ post.trip }}</span> + {% endif %} +{% if post.email|length > 0 %} + {# end email #} + </a> +{% endif %} +{% if capcode %} + {{ capcode.cap }} +{% endif %} |
