Merge: Added contributing guidelines and link from readme
[nit.git] / share / nitweb / directives / group-block.html
1 <div class='media'>
2 <div class='media-left text-center' ng-if='mentity.visibility' ng-class='{
3 "text-success": mentity.visibility == "public",
4 "text-warning": mentity.visibility == "protected",
5 "text-danger": mentity.visibility == "private",
6 }'>
7 <span class="glyphicon glyphicon-tag"></span>
8 </div>
9 <div class='media-body'>
10 <h5 class='media-heading'>
11 <entity-signature mentity='mentity'/>
12 </h5>
13 <span class='synopsis'>{{mentity.mdoc.synopsis}}</span>
14 <div ng-if='recursive && mentity.mgroups'>
15 <group-block mentity-id='mgroup' ng-repeat='mgroup in mentity.mgroups' />
16 </div>
17 <div ng-if='recursive && mentity.mmodules'>
18 <module-block mentity-id='mmodule' ng-repeat='mmodule in mentity.mmodules' />
19 </div>
20 </div>
21 </div>