Added support of own icon's in taskbar.
This commit is contained in:
parent
fddfe53538
commit
e6cf28b222
3 changed files with 11 additions and 8 deletions
|
@ -35,6 +35,7 @@ class App.TicketZoom extends App.Controller
|
||||||
meta =
|
meta =
|
||||||
url: @url()
|
url: @url()
|
||||||
id: @ticket_id
|
id: @ticket_id
|
||||||
|
iconClass: "priority"
|
||||||
if @ticket
|
if @ticket
|
||||||
@ticket = App.Ticket.retrieve( @ticket.id )
|
@ticket = App.Ticket.retrieve( @ticket.id )
|
||||||
meta.head = @ticket.title
|
meta.head = @ticket.title
|
||||||
|
|
|
@ -15,7 +15,9 @@ class App.UserZoom extends App.Controller
|
||||||
meta =
|
meta =
|
||||||
url: @url()
|
url: @url()
|
||||||
id: @user_id
|
id: @user_id
|
||||||
class: "level-1"
|
class: ""
|
||||||
|
iconClass: "user"
|
||||||
|
|
||||||
|
|
||||||
if @user
|
if @user
|
||||||
meta.head = @user.displayName()
|
meta.head = @user.displayName()
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<% for item in @item_list: %>
|
<% for item in @item_list: %>
|
||||||
<a href="<%- item.data.url %>" title="<%= item.data.title %>" class="task <%= item.data.class %> horizontal center <% if item.task.active: %>active<% end %>" data-key="<%- item.task.key %>">
|
<a href="<%- item.data.url %>" title="<%= item.data.title %>" class="task <%= item.data.class %> horizontal center <% if item.task.active: %>active<% end %>" data-key="<%- item.task.key %>">
|
||||||
<div class="icon-holder centered">
|
<div class="icon-holder centered">
|
||||||
<div class="priority icon<% if item.task.notify: %> modified<% end %>"></div>
|
<div class="<%= item.data.iconClass %> icon<% if item.task.notify: %> modified<% end %>"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="name contain-text flex"><%= item.data.head %></div>
|
<div class="name contain-text flex"><%= item.data.head %></div>
|
||||||
<div class="close-task button horizontal centered">
|
<div class="close-task button horizontal centered">
|
||||||
|
|
Loading…
Reference in a new issue