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