Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pronist committed Jun 27, 2024
1 parent 6954a66 commit b3f9d4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions views/Main/Post/Permalink/Comment/Form.pug
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ mixin guest(type)

mixin form(type)
#form(x-data='{ primary: /^(.*tistory\\.com)$/.test(location.hostname) }')
template(x-if='T.config.NEED_COMMENT_LOGIN && (! T.config.IS_LOGIN)')
a.warning(:href='"https://www.tistory.com/auth/login/?redirectUrl="+ location.href')
i.ico
span.txt ์ด ๋ธ”๋กœ๊ทธ๋Š” ๋กœ๊ทธ์ธํ•œ ์‚ฌ์šฉ์ž์—๊ฒŒ๋งŒ ๋Œ“๊ธ€์„ ํ—ˆ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค.
template(x-if='! primary')
a.warning(:href='TistoryBlog.tistoryUrl')
i.ico
span.txt ์ด ๋ธ”๋กœ๊ทธ๋Š” 2์ฐจ ๋„๋ฉ”์ธ์„ ์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค. ๋Œ“๊ธ€์„ ์ž‘์„ฑํ•˜๋ ค๋ฉด 1์ฐจ ๋„๋ฉ”์ธ์œผ๋กœ ์ด๋™ํ•ด์ฃผ์„ธ์š”.
template(x-if='primary && T.config.NEED_COMMENT_LOGIN && (! T.config.IS_LOGIN)')
a.warning(:href='"https://www.tistory.com/auth/login/?redirectUrl="+location.href')
i.ico
span.txt ์ด ๋ธ”๋กœ๊ทธ๋Š” ๋กœ๊ทธ์ธํ•œ ์‚ฌ์šฉ์ž์—๊ฒŒ๋งŒ ๋Œ“๊ธ€์„ ํ—ˆ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค.
template(x-if='primary && ((! T.config.NEED_COMMENT_LOGIN) || (T.config.NEED_COMMENT_LOGIN && T.config.IS_LOGIN))')
#{`s_${type}_input_form`}
.wrap(class='flex flex-col gap-y-2')
Expand Down

0 comments on commit b3f9d4d

Please sign in to comment.