added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<div class="pull-down"></div>
|
||||
{{ navigation-links title='Topic' optionObjects=foundTopics onSearch=(action "searchObjects") onGo=(action "goToTopic") isAuthenticatedUser=session.isAuthenticated }}
|
||||
|
||||
<header class="flaredown-transparent-box centered">
|
||||
<h3 class="topic-name">{{model.topic.name}}</h3>
|
||||
<div class="topic-type">
|
||||
{{capitalize model.type}}
|
||||
|
||||
{{#if session.isAuthenticated}}
|
||||
·
|
||||
{{pluralize model.topic.usersCount "user"}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{#if session.isAuthenticated}}
|
||||
<header class="centered vert-offset-bottom-1">
|
||||
<a {{action "toggleTopicFollowing"}}>{{if isFollowed 'Unfollow' 'Follow'}} this topic</a>
|
||||
</header>
|
||||
{{/if}}
|
||||
|
||||
<div class="flaredown-white-box">
|
||||
{{input type="text" value=query placeholder="Search..."}}
|
||||
</div>
|
||||
|
||||
{{#each model.posts as |post|}}
|
||||
{{posts/topic-post post=post isAuthenticatedUser=session.isAuthenticated}}
|
||||
{{/each}}
|
||||
|
||||
{{ember-ic-you triggerDistance=40}}
|
||||
|
||||
{{#if loadingTopics}}
|
||||
{{partial "application/three-bounce-spinner"}}
|
||||
{{/if}}
|
||||
|
||||
{{#unless session.isAuthenticated}}
|
||||
{{!-- {{additional-info}}
|
||||
--}}
|
||||
{{join-footer}}
|
||||
{{/unless}}
|
||||
Reference in New Issue
Block a user