Commit b951d7df authored by Franco Fichtner's avatar Franco Fichtner

Merge pull request #601 from fabianfrz/fix_504

fix for #504
parents bd12f5dc cc183802
......@@ -438,6 +438,16 @@ $( document ).ready(function() {
<i class="fa fa-arrows-h" data-toggle="tooltip" data-placement="left" title="<?=gettext("any");?>"></i>
<?php
endif;?>
<?php
if ($selected_if != 'FloatingRules'):
; // all other interfaces are always quick
elseif(!empty($filterent['quick'])): ?>
<i class="fa fa-flash <?= ($filterent['quick'] == 'yes') ? 'text-warning' : 'text-muted' ?>" data-toggle="tooltip" data-placement="left" title="<?= ($filterent['quick'] == 'yes') ? gettext('first match') : gettext('last match') ?>"></i>
<?php
else: ?>
<i class="fa fa-flash text-muted" data-toggle="tooltip" data-placement="left" title="<?= gettext('last match') ?>"></i>
<?php endif; ?>
<?php
if (isset($filterent['log'])):?>
<span class="glyphicon glyphicon-info-sign <?=!empty($filterent['disabled']) ? "text-muted" :""?>"></span>
......@@ -599,6 +609,11 @@ $( document ).ready(function() {
<td width="100"><?=gettext("log");?></td>
<td width="16"><span class="fa fa-long-arrow-right"></span></td>
<td width="100"><?=gettext("in");?></td>
<?php
if ($selected_if == 'FloatingRules'): ?>
<td width="16"><span class="fa fa-flash text-warning"></span></td>
<td width="100"><?=gettext("first match");?></td>
<?php endif; ?>
</tr>
<tr>
<td><span class="glyphicon glyphicon-play text-muted"></span></td>
......@@ -617,6 +632,11 @@ $( document ).ready(function() {
<td class="nowrap"><?=gettext("log (disabled)");?></td>
<td width="16"><span class="fa fa-long-arrow-left"></span></td>
<td width="100"><?=gettext("out");?></td>
<?php
if ($selected_if == 'FloatingRules'): ?>
<td width="16"><span class="fa fa-flash text-muted"></td>
<td width="100"><?=gettext("last match");?></td>
<?php endif; ?>
</tr>
</table>
</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment