]> source.dussan.org Git - sonarqube.git/blob
06ffb28889b8b3043bc8c69527d4458c12387536
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`admin 1`] = `
4 <nav
5   className="navbar navbar-context page-container"
6   id="context-navigation"
7 >
8   <div
9     className="navbar-context-inner"
10   >
11     <div
12       className="container"
13     >
14       <h2
15         className="navbar-context-title"
16       >
17         <span
18           className="navbar-context-title-qualifier little-spacer-right"
19         >
20           <OrganizationIcon />
21         </span>
22         <Link
23           className="link-base-color"
24           onlyActiveOnIndex={false}
25           style={Object {}}
26           to="/organizations/foo"
27         >
28           <strong>
29             Foo
30           </strong>
31         </Link>
32       </h2>
33       <div
34         className="navbar-context-meta"
35       />
36       <ul
37         className="nav navbar-nav nav-tabs"
38       >
39         <li>
40           <Link
41             className=""
42             onlyActiveOnIndex={false}
43             style={Object {}}
44             to="/organizations/foo/projects"
45           >
46             projects.page
47           </Link>
48         </li>
49         <li>
50           <Link
51             activeClassName="active"
52             onlyActiveOnIndex={false}
53             style={Object {}}
54             to="/organizations/foo/members"
55           >
56             organization.members.page
57           </Link>
58         </li>
59         <li>
60           <Link
61             activeClassName="active"
62             onlyActiveOnIndex={false}
63             style={Object {}}
64             to="/organizations/foo/quality_profiles"
65           >
66             quality_profiles.page
67           </Link>
68         </li>
69         <li>
70           <Link
71             activeClassName="active"
72             onlyActiveOnIndex={false}
73             style={Object {}}
74             to="/organizations/foo/rules"
75           >
76             coding_rules.page
77           </Link>
78         </li>
79         <li
80           className=""
81         >
82           <a
83             className="dropdown-toggle navbar-admin-link"
84             data-toggle="dropdown"
85             href="#"
86           >
87             layout.settings
88              
89             <i
90               className="icon-dropdown"
91             />
92           </a>
93           <ul
94             className="dropdown-menu"
95           >
96             <li>
97               <Link
98                 activeClassName="active"
99                 onlyActiveOnIndex={false}
100                 style={Object {}}
101                 to="/organizations/foo/groups"
102               >
103                 user_groups.page
104               </Link>
105             </li>
106             <li>
107               <Link
108                 activeClassName="active"
109                 onlyActiveOnIndex={false}
110                 style={Object {}}
111                 to="/organizations/foo/permissions"
112               >
113                 permissions.page
114               </Link>
115             </li>
116             <li>
117               <Link
118                 activeClassName="active"
119                 onlyActiveOnIndex={false}
120                 style={Object {}}
121                 to="/organizations/foo/permission_templates"
122               >
123                 permission_templates
124               </Link>
125             </li>
126             <li>
127               <Link
128                 activeClassName="active"
129                 onlyActiveOnIndex={false}
130                 style={Object {}}
131                 to="/organizations/foo/projects_management"
132               >
133                 projects_management
134               </Link>
135             </li>
136             <li>
137               <Link
138                 activeClassName="active"
139                 onlyActiveOnIndex={false}
140                 style={Object {}}
141                 to="/organizations/foo/edit"
142               >
143                 edit
144               </Link>
145             </li>
146             <li>
147               <Link
148                 activeClassName="active"
149                 onlyActiveOnIndex={false}
150                 style={Object {}}
151                 to="/organizations/foo/delete"
152               >
153                 delete
154               </Link>
155             </li>
156           </ul>
157         </li>
158       </ul>
159     </div>
160   </div>
161 </nav>
162 `;
163
164 exports[`regular user 1`] = `
165 <nav
166   className="navbar navbar-context page-container"
167   id="context-navigation"
168 >
169   <div
170     className="navbar-context-inner"
171   >
172     <div
173       className="container"
174     >
175       <h2
176         className="navbar-context-title"
177       >
178         <span
179           className="navbar-context-title-qualifier little-spacer-right"
180         >
181           <OrganizationIcon />
182         </span>
183         <Link
184           className="link-base-color"
185           onlyActiveOnIndex={false}
186           style={Object {}}
187           to="/organizations/foo"
188         >
189           <strong>
190             Foo
191           </strong>
192         </Link>
193       </h2>
194       <div
195         className="navbar-context-meta"
196       />
197       <ul
198         className="nav navbar-nav nav-tabs"
199       >
200         <li>
201           <Link
202             className=""
203             onlyActiveOnIndex={false}
204             style={Object {}}
205             to="/organizations/foo/projects"
206           >
207             projects.page
208           </Link>
209         </li>
210         <li>
211           <Link
212             activeClassName="active"
213             onlyActiveOnIndex={false}
214             style={Object {}}
215             to="/organizations/foo/members"
216           >
217             organization.members.page
218           </Link>
219         </li>
220         <li>
221           <Link
222             activeClassName="active"
223             onlyActiveOnIndex={false}
224             style={Object {}}
225             to="/organizations/foo/quality_profiles"
226           >
227             quality_profiles.page
228           </Link>
229         </li>
230         <li>
231           <Link
232             activeClassName="active"
233             onlyActiveOnIndex={false}
234             style={Object {}}
235             to="/organizations/foo/rules"
236           >
237             coding_rules.page
238           </Link>
239         </li>
240       </ul>
241     </div>
242   </div>
243 </nav>
244 `;
245
246 exports[`undeletable org 1`] = `
247 <nav
248   className="navbar navbar-context page-container"
249   id="context-navigation"
250 >
251   <div
252     className="navbar-context-inner"
253   >
254     <div
255       className="container"
256     >
257       <h2
258         className="navbar-context-title"
259       >
260         <span
261           className="navbar-context-title-qualifier little-spacer-right"
262         >
263           <OrganizationIcon />
264         </span>
265         <Link
266           className="link-base-color"
267           onlyActiveOnIndex={false}
268           style={Object {}}
269           to="/organizations/foo"
270         >
271           <strong>
272             Foo
273           </strong>
274         </Link>
275       </h2>
276       <div
277         className="navbar-context-meta"
278       />
279       <ul
280         className="nav navbar-nav nav-tabs"
281       >
282         <li>
283           <Link
284             className=""
285             onlyActiveOnIndex={false}
286             style={Object {}}
287             to="/organizations/foo/projects"
288           >
289             projects.page
290           </Link>
291         </li>
292         <li>
293           <Link
294             activeClassName="active"
295             onlyActiveOnIndex={false}
296             style={Object {}}
297             to="/organizations/foo/members"
298           >
299             organization.members.page
300           </Link>
301         </li>
302         <li>
303           <Link
304             activeClassName="active"
305             onlyActiveOnIndex={false}
306             style={Object {}}
307             to="/organizations/foo/quality_profiles"
308           >
309             quality_profiles.page
310           </Link>
311         </li>
312         <li>
313           <Link
314             activeClassName="active"
315             onlyActiveOnIndex={false}
316             style={Object {}}
317             to="/organizations/foo/rules"
318           >
319             coding_rules.page
320           </Link>
321         </li>
322         <li
323           className=""
324         >
325           <a
326             className="dropdown-toggle navbar-admin-link"
327             data-toggle="dropdown"
328             href="#"
329           >
330             layout.settings
331              
332             <i
333               className="icon-dropdown"
334             />
335           </a>
336           <ul
337             className="dropdown-menu"
338           >
339             <li>
340               <Link
341                 activeClassName="active"
342                 onlyActiveOnIndex={false}
343                 style={Object {}}
344                 to="/organizations/foo/groups"
345               >
346                 user_groups.page
347               </Link>
348             </li>
349             <li>
350               <Link
351                 activeClassName="active"
352                 onlyActiveOnIndex={false}
353                 style={Object {}}
354                 to="/organizations/foo/permissions"
355               >
356                 permissions.page
357               </Link>
358             </li>
359             <li>
360               <Link
361                 activeClassName="active"
362                 onlyActiveOnIndex={false}
363                 style={Object {}}
364                 to="/organizations/foo/permission_templates"
365               >
366                 permission_templates
367               </Link>
368             </li>
369             <li>
370               <Link
371                 activeClassName="active"
372                 onlyActiveOnIndex={false}
373                 style={Object {}}
374                 to="/organizations/foo/projects_management"
375               >
376                 projects_management
377               </Link>
378             </li>
379             <li>
380               <Link
381                 activeClassName="active"
382                 onlyActiveOnIndex={false}
383                 style={Object {}}
384                 to="/organizations/foo/edit"
385               >
386                 edit
387               </Link>
388             </li>
389           </ul>
390         </li>
391       </ul>
392     </div>
393   </div>
394 </nav>
395 `;