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,6 +29,8 @@
{{/if}}
</div>
<div class="list-controls">
<div class="container">
{{#mobile-nav class='group-nav' desktopClass="nav nav-pills" currentPath=application.currentPath}}
{{#each getTabs as |tab|}}
<li>
@ -41,6 +43,12 @@
{{/each}}
{{/mobile-nav}}
{{group-membership-button model=model
createNewMessageViaParams='createNewMessageViaParams'
showLogin='showLogin'}}
</div>
</div>
<div class='group-outlet'>
{{outlet}}
</div>

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 {