Merge pull request #601 from fabianfrz/fix_504

fix for #504
This commit is contained in:
Franco Fichtner 2016-01-08 08:57:27 +01:00
commit b951d7dfb6

View File

@ -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>