ComunicWeb/assets/templates/pages/groups/sections/GroupTabs.html

24 lines
1.3 KiB
HTML
Raw Normal View History

2021-03-15 17:04:20 +00:00
<!-- Group tabs section -->
2021-03-15 17:30:18 +00:00
<div class="row group-page tabs-container">
<div class="col-md-6">
2021-03-15 17:04:20 +00:00
<div class="nav-tabs-custom">
<ul class="nav nav-tabs group-page-tabs" style="display: flex; flex-wrap: wrap; justify-content: start;">
2021-03-15 17:04:20 +00:00
<li v-bind:class="activePage == 'posts' ? 'active': ''"><a @click="openPage('posts')">tr("Posts")</a></li>
<!-- Group conversations -->
<li v-for="conv in conversations" v-bind:class="activePage == 'conversation' && firstArgument == conv.id ? 'active': ''">
<a @click="openPage('conversation/' + conv.id)">{{conv.name}}</a></li>
</li>
<!-- Group members -->
2021-03-15 17:04:20 +00:00
<li v-bind:class="activePage == 'members' ? 'active': ''"><a @click="openPage('members')" v-if="canSeeMembers">tr("Members")</a></li>
<!-- About the group -->
2021-03-15 17:04:20 +00:00
<li v-bind:class="activePage == 'about' ? 'active': ''"><a @click="openPage('about')">tr("About")</a></li>
<!-- Group settings -->
2021-03-15 17:54:34 +00:00
<li class="pull-right" v-if="isAdmin" v-bind:class="activePage == 'settings' ? 'active': ''"><a @click="openPage('settings')" class="text-muted"><i class="fa fa-gear"></i></a></li>
2021-03-15 17:04:20 +00:00
</ul>
</div>
</div>