Commit d336156d authored by Janis Streib's avatar Janis Streib 🦉

UPD: some cleanup and optimisation

parent 6a7fa540
Pipeline #118196 passed with stages
in 5 minutes and 16 seconds
......@@ -3,7 +3,7 @@ import TransactionService from './transaction.service'
export default {
getOverview(config) {
const ta = [
{ name: 'nd.bcd.list', old: { is_own: true } },
{ name: 'nd.bcd.list', old: { is_own: true, sorting_params_list: ['name'] } },
{ name: 'org.unit.list', join: { 0: 'api_fkey_nd_bcd_ou' } },
{ name: 'nd.ip_subnet.list', join: { 0: 'api_fkey_nd_ip_subnet_bcd' } },
{ name: 'nd.vlan.list', join: { 0: 'api_fkey_nd_vlan_bcd' } }
......@@ -22,7 +22,7 @@ export default {
getDetail(config, name) {
const ta = [
{ name: 'nd.bcd.list', old: { name_list: [name] } },
{ name: 'org.unit.list', old: { do_rootpath: true }, join: { 0: 'api_fkey_nd_bcd_ou' } },
{ name: 'org.unit.list', join: { 0: 'api_fkey_nd_bcd_ou' } },
{ name: 'nd.ip_subnet.list', join: { 0: 'api_fkey_nd_ip_subnet_bcd' } },
{
name: 'dns.ip_addr.list',
......@@ -40,7 +40,7 @@ export default {
{ name: 'dns.fqdn2group.list', join: { 5: 'api_fkey_dns_fqdn2group_grp' } },
{
name: 'org.unit.list',
old_ref: { short_name: { idx: 1, param: 'short_name', allow_no_data: false } },
old_ref: { short_name: { idx: 1, param: 'short_name' } },
old: { do_rootpath: true }
},
{ name: 'cntl.mgr2ou.list', join: { 13: 'api_fkey_cntl_mgr2ou_ou' } },
......
......@@ -195,6 +195,7 @@
:id="'button-create-subgroup-' + group.name" @click="createSubgroup(group.name)" v-if="group.is_own">
<font-awesome-icon :icon="['fas', 'plus']"/>
</b-button>
<b-alert v-else variant="info" class="text-center" show>Sie können nur Untergruppen zu Gruppen anlegen, in denen Sie Mitglied sind.</b-alert>
<b-tooltip :target="'button-create-subgroup-' + group.name" triggers="hover"
variant="success" placement="bottom">
Neue Untergruppe anlegen
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment