mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
fixup previous, replace gettext for volt tag and change description.
This commit is contained in:
parent
7a2718b347
commit
63f452aa2d
@ -61,12 +61,12 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
$("#flushModal").click(function(event){
|
||||
BootstrapDialog.show({
|
||||
type:BootstrapDialog.TYPE_DANGER,
|
||||
title: "<?= gettext("Flush ARP Table");?>",
|
||||
message: "<?=gettext("If an IP of a host is changed you've probably got that the host has no network connectivity for a period of time. The router has cached the old MAC address (ethernet hardware address) associated with the host's IP address. This cache will persist on the gateway network device until the ARP cache on the gateway network device expires. You can also flush it manually.");?>",
|
||||
title: "{{ lang._('Flush ARP Table') }}",
|
||||
message: "{{ lang._('Flush the ARP cache manually, in case your ARP cache contains invalid data.') }}",
|
||||
buttons: [{
|
||||
label: "<?= gettext("Close");?>",
|
||||
action: function(dialogRef) {
|
||||
@ -82,7 +82,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
}]
|
||||
}); // end BootstrapDialog.show
|
||||
}); // end .click(function(event)
|
||||
|
||||
|
||||
// initial fetch
|
||||
$("#refresh").click(updateARP);
|
||||
$("#refresh").click();
|
||||
@ -120,7 +120,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
<button type="button" class="btn btn-default" id="flushModal">
|
||||
<span>{{ lang._('Flush') }}</span>
|
||||
<span class="fa fa-eraser"></span>
|
||||
</button>
|
||||
</button>
|
||||
<button id="refresh" type="button" class="btn btn-default">
|
||||
<span>{{ lang._('Refresh') }}</span>
|
||||
<span class="fa fa-refresh"></span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user