5d9c04635e46b24efa3b2f08587ff9f70ffca5de
[motion-next.git] /
1 <md-dialog class="session-dialog" aria-label="New Session">
2   <form name="sessionForm" class="md-inline-form" novalidate>
3     <md-toolbar class="md-accent md-hue-2">
4       <div
5         class="md-toolbar-tools"
6         layout="row"
7         layout-align="space-between center"
8       >
9         <span class="title">{{ vm.title | translate }}</span>
10         <md-button class="md-icon-button" ng-click="vm.closeDialog()">
11           <md-icon
12             md-font-icon="icon-close"
13             aria-label="Close dialog"
14           ></md-icon>
15         </md-button>
16       </div>
17     </md-toolbar>
18
19     <md-dialog-content ms-scroll>
20       <md-list>
21         <md-subheader class="md-no-sticky">
22           <div class="margin-bottom-5">
23             <span translate="JSCRIPTY.ANSWERS">Answers</span>
24           </div>
25           <div class="subtitle secondary-text">
26             <span
27               translate="JSCRIPTY.STARTTIME"
28               class="ng-scope font-weight-700"
29               >Start Time</span
30             >:
31             <span class="ng-binding"
32               >{{vm.session.starttime | date:'medium'}}</span
33             >
34           </div>
35           <div class="subtitle secondary-text">
36             <span
37               translate="JSCRIPTY.MEMBERNAME"
38               class="ng-scope font-weight-700"
39               >Member Name</span
40             >: <span class="ng-binding">{{vm.session.membername}}</span>
41           </div>
42           <div class="subtitle secondary-text">
43             <span translate="JSCRIPTY.PROJECT" class="ng-scope font-weight-700"
44               >Project</span
45             >: <span class="ng-binding">{{vm.project.name}}</span>
46           </div>
47         </md-subheader>
48         <md-list-item
49           ng-if="vm.questions.rows.length"
50           class="md-2-line contact-item"
51           ng-repeat="question in vm.questions.rows"
52         >
53           <div class="md-list-item-text compact">
54             <h3>{{$index+1}}. {{question.question}}</h3>
55             <p>{{question.answer}}</p>
56           </div>
57           <md-divider ng-if="!$last"></md-divider>
58         </md-list-item>
59         <md-list-item
60           ng-if="!vm.questions.rows.length"
61           class="md-2-line contact-item"
62         >
63           <div class="md-list-item-text compact">
64             <h3>
65               <span
66                 class="text-boxed-light"
67                 translate="JSCRIPTY.NO_RESULTS_AVAILABLE"
68                 >No results available</span
69               >
70             </h3>
71           </div>
72         </md-list-item>
73       </md-list>
74     </md-dialog-content>
75   </form>
76 </md-dialog>