|
@@ -185,17 +185,28 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <tr ng-show="current.kommentar.status=='7'">
|
|
|
- <th>Empfänger</th>
|
|
|
+ <tr>
|
|
|
+ <th>Awork-Aufgabe erstellen</th>
|
|
|
<td>
|
|
|
<div class="dropdown">
|
|
|
- <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">{{current.kommentar.benutzer2||'unbekannt'}} <b class="caret"></b></a>
|
|
|
+ <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">{{getProject(current.kommentar.awork_project_id)}} <b class="caret"></b></a>
|
|
|
<ul class="dropdown-menu" role="menu">
|
|
|
- <li ng-repeat="val in domain.benutzer"><a ng-click="current.kommentar.benutzer2=val;current.kommentar.kommentar='weitergeleitet an '+val">{{val}}</a></li>
|
|
|
+ <li><a ng-click="current.kommentar.awork_project_id=''">-- keine Aktion --</a></li>
|
|
|
+ <li ng-repeat="val in current.awork_projekte"><a ng-click="current.kommentar.awork_project_id=val.awork_project_id">{{val.projekt_name}}</a></li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
+ <tr ng-show="current.kommentar.awork_project_id!=''">
|
|
|
+ <th>Awork-Aufgabe zuweisen</th>
|
|
|
+ <td>
|
|
|
+ <div class="dropdown">
|
|
|
+ <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">{{current.kommentar.benutzer2||'mir selbst'}} <b class="caret"></b></a>
|
|
|
+ <ul class="dropdown-menu" role="menu">
|
|
|
+ <li ng-repeat="val in domain.benutzer"><a ng-click="current.kommentar.benutzer2=val">{{val}}</a></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
<tr>
|
|
|
<th>Anzahl Fehler
|
|
|
<span class="label label-danger label-{{current.fehler.anzahl}}"> {{current.fehler.anzahl}}</span>
|