UX: 'Join Group' button position moved to group header

This commit is contained in:
Vinoth Kannan 2017-03-15 12:22:49 +05:30 committed by Guo Xiang Tan
parent 61a7162c01
commit d3f07122c4
3 changed files with 21 additions and 16 deletions

View File

@ -1,7 +1,3 @@
{{group-membership-button model=model
createNewMessageViaParams='createNewMessageViaParams'
showLogin='showLogin'}}
{{#if hasMembers}}
{{#load-more selector=".group-members tr" action="loadMore"}}
<table class='group-members'>

View File

@ -29,17 +29,25 @@
{{/if}}
</div>
{{#mobile-nav class='group-nav' desktopClass="nav nav-pills" currentPath=application.currentPath}}
{{#each getTabs as |tab|}}
<li>
{{#link-to tab.location model title=tab.message}}
{{#if tab.icon}}{{fa-icon tab.icon}}{{/if}}
{{tab.message}}
{{#if tab.count}}<span class='count'>({{tab.count}})</span>{{/if}}
{{/link-to}}
</li>
{{/each}}
{{/mobile-nav}}
<div class="list-controls">
<div class="container">
{{#mobile-nav class='group-nav' desktopClass="nav nav-pills" currentPath=application.currentPath}}
{{#each getTabs as |tab|}}
<li>
{{#link-to tab.location model title=tab.message}}
{{#if tab.icon}}{{fa-icon tab.icon}}{{/if}}
{{tab.message}}
{{#if tab.count}}<span class='count'>({{tab.count}})</span>{{/if}}
{{/link-to}}
</li>
{{/each}}
{{/mobile-nav}}
{{group-membership-button model=model
createNewMessageViaParams='createNewMessageViaParams'
showLogin='showLogin'}}
</div>
</div>
<div class='group-outlet'>
{{outlet}}

View File

@ -20,6 +20,7 @@
.group-nav.mobile-nav {
margin-bottom: 15px;
float: left;
}
.group-activity {
@ -29,7 +30,7 @@
.group-activity-nav.mobile-nav {
position: absolute;
right: 0px;
top: -50px;
top: -55px;
}
.group-activity-outlet {