-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Can filter by team, requester, status and priority
- Loading branch information
Jordi Puigdellívol
committed
Jul 24, 2018
1 parent
83430b8
commit 230f5c7
Showing
4 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,10 @@ a{ | |
font-size:10px; | ||
} | ||
|
||
.label a{ | ||
color:white; | ||
} | ||
|
||
.ticket-status-new{ | ||
.white; .bg-danger; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<tr> | ||
<td> | ||
<input type="checkbox" name="selected[{{$ticket->id}}]" meta:index="{{$ticket->id}}" class="hidden selector"> | ||
<span class="label ticket-status-{{ $ticket->statusName() }}">{{ str_limit(__('ticket.' . $ticket->statusName()), 1, '') }}</span> | ||
<span class="label ticket-priority-{{ $ticket->priorityName() }}">{{ str_limit(__('ticket.' . $ticket->priorityName()), 1, '') }}</span> | ||
<span class="label ticket-status-{{ $ticket->statusName() }}">{{ link_to_route('tickets.index', str_limit(__('ticket.' . $ticket->statusName()), 1, ''), ["status" => $ticket->status]) }}</span> | ||
<span class="label ticket-priority-{{ $ticket->priorityName() }}">{{ link_to_route('tickets.index', str_limit(__('ticket.' . $ticket->priorityName()), 1, ''), ["priority" => $ticket->priority]) }}</span> | ||
@if( $ticket->isEscalated() ) @icon(flag) @endif | ||
@if( $ticket->getIssueId() ) @icon(bug) @endif | ||
<a href="{{ route('tickets.show', $ticket) }}"> #{{ $ticket->id }}. {{ str_limit($ticket->title, 35) }}</a> | ||
</td> | ||
<td> {{ $ticket->requester->name }}</td> | ||
<td> {{ nameOrDash( $ticket->team ) }}</td> | ||
<td> {{ nameOrDash( $ticket->user ) }}</td> | ||
<td> {{ link_to_route('tickets.index', $ticket->requester->name, ["requester_id" => $ticket->requester_id] ) }}</td> | ||
<td> {{ link_to_route('tickets.index', nameOrDash( $ticket->team ), ["team_id" => $ticket->team_id] ) }}</td> | ||
<td> {{ link_to_route('tickets.index', nameOrDash( $ticket->user ), ["team_id" => $ticket->user_id] ) }}</td> | ||
<td class="hide-mobile"> {{ $ticket->created_at->diffForHumans()}}</td> | ||
<td class="hide-mobile"> {{ $ticket->updated_at->diffForHumans()}}</td> | ||
</tr> |