From 53da1ed43145f636a3fea92f51f643e4d31fb813 Mon Sep 17 00:00:00 2001 From: hylom Date: Fri, 29 Sep 2017 19:54:45 +0900 Subject: [PATCH] template: fix author's url --- src/newslash_web/templates/common/article/article.html.tt2 | 2 +- src/newslash_web/templates/common/comment/comment.html.tt2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/newslash_web/templates/common/article/article.html.tt2 b/src/newslash_web/templates/common/article/article.html.tt2 index 239efa1e..a9179e66 100644 --- a/src/newslash_web/templates/common/article/article.html.tt2 +++ b/src/newslash_web/templates/common/article/article.html.tt2 @@ -32,7 +32,7 @@ IF story.content_type == 'poll'; url = "/poll/" _ story.id _ "/"; END; [%- IF story.content_type == 'poll' -%]国民投票[%- END -%] - by [% story.author %] + by [% story.author %] [% dtf.mysql_to_user(story.create_time, user.config.offset_sec, user.config.time_format) %] [% IF story.content_type == 'story' %][% story.dept %] 部門より[% END %] diff --git a/src/newslash_web/templates/common/comment/comment.html.tt2 b/src/newslash_web/templates/common/comment/comment.html.tt2 index 289608b8..30954266 100644 --- a/src/newslash_web/templates/common/comment/comment.html.tt2 +++ b/src/newslash_web/templates/common/comment/comment.html.tt2 @@ -23,7 +23,7 @@ by [% IF comment.is_login || x_template %] - + [% comment.author %] [% comment.author %] -- 2.11.0