]> source.dussan.org Git - sonarqube.git/blob
e781526e320b49c90b536a276a5232677f64ea5b
[sonarqube.git] /
1 exports[`test admin 1`] = `
2 <nav
3   className="navbar navbar-context page-container"
4   id="context-navigation">
5   <div
6     className="navbar-context-inner">
7     <div
8       className="container">
9       <h2
10         className="navbar-context-title">
11         <span
12           className="navbar-context-title-qualifier little-spacer-right">
13           <OrganizationIcon />
14         </span>
15         <Link
16           className="link-base-color"
17           onlyActiveOnIndex={false}
18           style={Object {}}
19           to="/organizations/foo">
20           <strong>
21             Foo
22           </strong>
23         </Link>
24       </h2>
25       <div
26         className="navbar-context-meta" />
27       <ul
28         className="nav navbar-nav nav-tabs">
29         <li>
30           <Link
31             className=""
32             onlyActiveOnIndex={false}
33             style={Object {}}
34             to="/organizations/foo/projects">
35             projects.page
36           </Link>
37         </li>
38         <li
39           className="">
40           <a
41             className="dropdown-toggle navbar-admin-link"
42             data-toggle="dropdown"
43             href="#">
44             layout.settings
45              
46             <i
47               className="icon-dropdown" />
48           </a>
49           <ul
50             className="dropdown-menu">
51             <li>
52               <Link
53                 activeClassName="active"
54                 onlyActiveOnIndex={false}
55                 style={Object {}}
56                 to="/organizations/foo/groups">
57                 user_groups.page
58               </Link>
59             </li>
60             <li>
61               <Link
62                 activeClassName="active"
63                 onlyActiveOnIndex={false}
64                 style={Object {}}
65                 to="/organizations/foo/permissions">
66                 permissions.page
67               </Link>
68             </li>
69             <li>
70               <Link
71                 activeClassName="active"
72                 onlyActiveOnIndex={false}
73                 style={Object {}}
74                 to="/organizations/foo/permission_templates">
75                 permission_templates
76               </Link>
77             </li>
78             <li>
79               <Link
80                 activeClassName="active"
81                 onlyActiveOnIndex={false}
82                 style={Object {}}
83                 to="/organizations/foo/edit">
84                 edit
85               </Link>
86             </li>
87             <li>
88               <Link
89                 activeClassName="active"
90                 onlyActiveOnIndex={false}
91                 style={Object {}}
92                 to="/organizations/foo/delete">
93                 delete
94               </Link>
95             </li>
96           </ul>
97         </li>
98       </ul>
99     </div>
100   </div>
101 </nav>
102 `;
103
104 exports[`test regular user 1`] = `
105 <nav
106   className="navbar navbar-context page-container"
107   id="context-navigation">
108   <div
109     className="navbar-context-inner">
110     <div
111       className="container">
112       <h2
113         className="navbar-context-title">
114         <span
115           className="navbar-context-title-qualifier little-spacer-right">
116           <OrganizationIcon />
117         </span>
118         <Link
119           className="link-base-color"
120           onlyActiveOnIndex={false}
121           style={Object {}}
122           to="/organizations/foo">
123           <strong>
124             Foo
125           </strong>
126         </Link>
127       </h2>
128       <div
129         className="navbar-context-meta" />
130       <ul
131         className="nav navbar-nav nav-tabs">
132         <li>
133           <Link
134             className=""
135             onlyActiveOnIndex={false}
136             style={Object {}}
137             to="/organizations/foo/projects">
138             projects.page
139           </Link>
140         </li>
141       </ul>
142     </div>
143   </div>
144 </nav>
145 `;