fzngagan
(Faizaan Gagan)
6월 17, 2020, 3:37오전
1
이벤트 플러그인에서 현재 모바일 템플릿을 오버라이드하고 있습니다. 최근 모바일 템플릿에 추가된 아웃렛 덕분에 이미 훨씬 좋아진 것 같아 정말 감사드립니다. 혹시 데스크톱에서는 이미 사용 가능한 topic-list-after-title 아웃렛을 모바일에서도 사용할 수 있도록 해주시면, 오버라이드를 아예 제거할 수 있을 것 같은데 가능할까요?
요청이 합리적이라면 이 부분에 대한 PR을 작성해 드리겠습니다.
david
(David Taylor)
6월 17, 2020, 8:40오전
2
네, 합리적으로 들리네요. 모바일에서 누락된 항목에 표시할 이유가 전혀 생각나지 않습니다.
fzngagan:
우리의 오버라이드를 제거하자
fzngagan
(Faizaan Gagan)
6월 17, 2020, 8:44오전
3
This causes the topic-post-badge to be considered the same word as "text"
at the end of the link, preventing it from line wrapping onto its own line.
--}}
{{~raw-plugin-outlet name="topic-list-before-link"}}
<div class='main-link'>
{{~raw-plugin-outlet name="topic-list-before-status"}}
{{~raw "topic-status" topic=topic~}}
{{~topic-link topic class="raw-link raw-topic-link"}}
{{~#if topic.featured_link~}}
{{~topic-featured-link topic~}}
{{~/if~}}
{{~#if topic.unseen~}}
<span class="topic-post-badges"> <span class="badge-notification new-topic"></span></span>
{{~/if~}}
{{~#if expandPinned~}}
{{~raw "list/topic-excerpt" topic=topic~}}
{{~/if~}}
</div>
<div class='pull-right'>
{{raw "list/post-count-or-badges" topic=topic postBadgesEnabled=showTopicPostBadges}}
</div>
여기에 추가하는 것이 맞나요? 확인하려고 합니다.
fzngagan
(Faizaan Gagan)
6월 17, 2020, 8:56오전
5