This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/templates/about.hbs
Régis Hanol 0947191060 UX: improved our footer handling
- new "show-footer" mixins
- converted most of the routes to ES6
- FIX: handling of "indexStream" in user pages

There will now be a footer on all the following pages
- /exception
- /about
- /latest
- /new
- /unread
- /starred
- /top
- /categories
- /c/:category
- /c/:category/l/latest
- /c/:category/l/new
- /c/:category/l/unread
- /c/:category/l/top
- /t/:topic/:id
- /groups/:name/members
- /user/activity
- /user/activity/topics
- /user/activity/posts
- /user/activity/replies
- /user/activity/likes-given
- /user/activity/likes-received
- /user/activity/bookmarks
- /user/activity/starred
- /user/badges
- /user/notifications
- /user/flagged-posts
- /user/deleted-posts
- /user/private-messages
- /user/private-messages/mine
- /user/private-messages/unread
- /user/invited
- /user/:username/preferences
- /faq (static pages)
- /badges
- /badges/:id/:badge
2014-11-19 20:37:43 +01:00

65 lines
1.5 KiB
Handlebars

<div class='container body-page'>
<section class='about'>
<h2>{{i18n about.title title=title}}</h2>
<p>{{description}}</p>
</section>
{{#if admins}}
<section class='about admins'>
<h3>{{i18n about.our_admins}}</h3>
{{#each admins}}
{{user-small user=this}}
{{/each}}
<div class='clearfix'></div>
</section>
{{/if}}
{{#if moderators}}
<section class='about moderators'>
<h3>{{i18n about.our_moderators}}</h3>
<div class='users'>
{{#each moderators}}
{{user-small user=this}}
{{/each}}
</div>
<div class='clearfix'></div>
</section>
{{/if}}
<section class='about stats'>
<h3>{{i18n about.stats}}</h3>
<table class='table'>
<tr>
<th>&nbsp;</th>
<th>{{i18n about.stat.all_time}}</th>
<th>{{i18n about.stat.last_7_days}}</th>
<tr>
<td class='title'>{{i18n about.topic_count}}</td>
<td>{{number stats.topic_count}}</td>
<td>{{number stats.topics_7_days}}</td>
</tr>
<tr>
<td>{{i18n about.post_count}}</td>
<td>{{number stats.post_count}}</td>
<td>{{number stats.posts_7_days}}</td>
</tr>
<tr>
<td>{{i18n about.user_count}}</td>
<td>{{number stats.user_count}}</td>
<td>{{number stats.users_7_days}}</td>
</tr>
<tr>
<td>{{i18n about.like_count}}</td>
<td>{{number stats.like_count}}</td>
<td>{{number stats.likes_7_days}}</td>
</tr>
</table>
</table>
</section>
</div>