Merge: doc: fixed some typos and other misc. corrections
[nit.git] / share / nitweb / directives / entity / tag.html
1 <span>
2 <!-- package -->
3 <span ng-if='mentity.class_name == "MPackage"'>
4 <span class='glyphicon glyphicon-book text-muted' style='top: 3px' />
5 </span>
6
7 <!-- groups -->
8 <span ng-if='mentity.class_name == "MGroup"'>
9 <span class='glyphicon glyphicon-folder-close text-muted' />
10 </span>
11
12 <!-- modules -->
13 <span ng-if='mentity.class_name == "MModule"'>
14 <span class='glyphicon glyphicon-file text-muted' style='top: 2px' />
15 </span>
16
17 <!-- classes -->
18 <span ng-if='mentity.class_name == "MClass"'>
19 <span class='glyphicon glyphicon-stop' ng-class='{
20 "text-success": mentity.visibility == "public",
21 "text-warning": mentity.visibility == "protected",
22 "text-danger": mentity.visibility == "private",
23 }' />
24 </span>
25
26 <!-- classdefs -->
27 <span ng-if='mentity.class_name == "MClassDef"' ng-class='{
28 "text-success": mentity.visibility == "public",
29 "text-warning": mentity.visibility == "protected",
30 "text-danger": mentity.visibility == "private",
31 }'>
32 <span class='glyphicon' style='top: 2px; left:2px' ng-class='{
33 "glyphicon-plus": mentity.is_intro,
34 "glyphicon-asterisk": !mentity.is_intro
35 }' />
36 </span>
37
38 <!-- props -->
39 <span ng-if='mentity.class_name == "MAttribute" ||
40 mentity.class_name == "MMethod" ||
41 mentity.class_name == "MVirtualTypeProp"
42 '>
43 <span class='glyphicon glyphicon-tag' ng-class='{
44 "text-success": mentity.visibility == "public",
45 "text-warning": mentity.visibility == "protected",
46 "text-danger": mentity.visibility == "private",
47 }' />
48 </span>
49
50 <!-- propdefs -->
51 <span ng-if='mentity.class_name == "MAttributeDef" ||
52 mentity.class_name == "MMethodDef" ||
53 mentity.class_name == "MVirtualTypePropDef"'
54 ng-class='{
55 "text-success": mentity.visibility == "public",
56 "text-warning": mentity.visibility == "protected",
57 "text-danger": mentity.visibility == "private"
58 }'>
59 <span class='glyphicon' style='top: 2px; left:2px' ng-class='{
60 "glyphicon-plus": mentity.is_intro,
61 "glyphicon-asterisk": !mentity.is_intro
62 }' />
63 </span>
64 </span>