Passed
Push — master ( c4c37f...3727b7 )
by Alexander
02:26
created

plugin.menu   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 10
dl 0
loc 17
rs 10
c 0
b 0
f 0
1
# Copyright (c) 2019 Alexander Todorov <[email protected]>
2
3
# Licensed under the GPL 2.0: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
4
5
from django.urls import reverse_lazy
6
7
8
# Follows the format of ``tcms.settings.common.MENU_ITEMS``
9
MENU_ITEMS = [
10
    ('Fake Plugin under TELEMETRY', reverse_lazy('a_fake_plugin-example_view')),
11
    ('Fake Plugin sub-menu', [
12
        ('Example', reverse_lazy('a_fake_plugin-example_view')),
13
        ('-', '-'),
14
        ('3rd level menu', [
15
            ('Go to Dashboard', '/'),
16
            ('Go to kiwitcms.org', 'http://kiwitcms.org'),
17
        ]),
18
    ]),
19
]
20