frontend: display issues related to the team
This commit is contained in:
parent
7bec409ab8
commit
a3ffdeae17
12 changed files with 238 additions and 12 deletions
|
|
@ -1,3 +1,31 @@
|
|||
|
||||
<div class="card niceborder border-warning bg-primary text-light" ng-if="issues.length > 0">
|
||||
<table class="table table-hover table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Objet</th>
|
||||
<th>État / Priorité</th>
|
||||
<th>Géré par</th>
|
||||
<th>Messages</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="issue in issues">
|
||||
<td>{{ issue.subject }} <span ng-if="issue.exercice">(challenge {{ issue.exercice }})</span></td>
|
||||
<td>{{ issue.state }} / {{ issue.priority }}</td>
|
||||
<td>{{ issue.assignee }}</td>
|
||||
<td>
|
||||
<div class="row" ng-repeat="text in issue.texts | orderBy:'date':'reverse'">
|
||||
<span ng-if="text.assignee == null || text.assignee == '$team'">Vous</span>
|
||||
<span ng-if="text.assignee != null && text.assignee != '$team'" ng-bind="text.assignee"></span> à {{ text.date | date:"mediumTime" }} :
|
||||
<span style="white-space: pre-line">{{ text.cnt }}</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="card border-warning mt-3" ng-if="!settings.acceptNewIssue">
|
||||
<div class="card-header bg-warning text-light">Rapporter une anomalie sur un exercice</div>
|
||||
<div class="card-body">
|
||||
|
|
|
|||
Reference in a new issue