Skip to content

Commit

Permalink
Make the icon in the assigner category config optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Wruczek committed Nov 15, 2019
1 parent 97e186e commit 84beffd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/private/templates/assigner.latte
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@
<div class="list-group assigner-category" data-maxgroups="{$assignerCategory["max"]}">
<li class="list-group-item assigner-header">
<div>
<i class="{$assignerCategory["icon"]}"></i>{$assignerCategory["name"]}
{ifset $assignerCategory["icon"]}
<i class="{$assignerCategory["icon"]}"></i>
{/ifset}

{$assignerCategory["name"]}
</div>
<div>
<span class="badge badge-primary badge-pill"></span>
Expand Down

0 comments on commit 84beffd

Please sign in to comment.