fix task error icon

This commit is contained in:
Felix Niklas 2015-06-10 12:49:57 +02:00
parent d4155a9771
commit a86dd6ddf1
5 changed files with 13 additions and 6 deletions

View file

@ -168,15 +168,15 @@ class App.TicketZoom extends App.Controller
# show error message
if status is 401 || statusText is 'Unauthorized'
@taskHead = '» ' + App.i18n.translateInline('Unauthorized') + ' «'
@taskIconClass = 'error'
@taskIconClass = 'diagonal-cross'
@html App.view('generic/error/unauthorized')( objectName: 'Ticket' )
else if status is 404 || statusText is 'Not Found'
@taskHead = '» ' + App.i18n.translateInline('Not Found') + ' «'
@taskIconClass = 'error'
@taskIconClass = 'diagonal-cross'
@html App.view('generic/error/not_found')( objectName: 'Ticket' )
else
@taskHead = '» ' + App.i18n.translateInline('Error') + ' «'
@taskIconClass = 'error'
@taskIconClass = 'diagonal-cross'
if !detail
detail = 'General communication error, maybe internet is not available!'

View file

@ -1,4 +1,4 @@
<div class="fullscreenMessage">
<svg class="icon icon-error"><use xlink:href="#icon-diagonal-cross" /></svg>
<svg class="icon-error icon-diagonal-cross"><use xlink:href="#icon-diagonal-cross" /></svg>
<h2><%- @T('Status Code') %>: <%= @status %>. <%= @detail %></h2>
</div>

View file

@ -1,4 +1,4 @@
<div class="flex fullscreenMessage">
<svg class="icon icon-error"><use xlink:href="#icon-diagonal-cross" /></svg>
<svg class="icon-error icon-diagonal-cross"><use xlink:href="#icon-diagonal-cross" /></svg>
<h2><%- @T('Opps.. I\'m sorry, but I can\'t find this %s.', @objectName ) %></h2>
</div>

View file

@ -1,4 +1,4 @@
<div class="flex fullscreenMessage">
<svg class="icon icon-error"><use xlink:href="#icon-diagonal-cross" /></svg>
<svg class="icon-error icon-diagonal-cross"><use xlink:href="#icon-diagonal-cross" /></svg>
<h2><%- @T('Opps.. I\'m sorry, but you have insufficient rights to open this %s.', @objectName ) %></h2>
</div>

View file

@ -1808,6 +1808,7 @@ footer {
align-items: center;
justify-content: center;
position: relative;
width: 16px;
}
.nav-tab-icon .icon {
@ -1816,6 +1817,12 @@ footer {
fill: #808080;
}
.nav-tab-icon .icon-diagonal-cross {
fill: #F35910;
width: 12px;
height: 12px;
}
.nav-tab-icon .modified-inner-circle {
position: absolute;
left: 0;