Skip to content

Commit

Permalink
AgentStatistics Overview - Added filter in/valid entries.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz committed Sep 22, 2023
1 parent 3142f9e commit 498cf52
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 7.0.12 2023-??-??
- 2023-09-22 AgentStatistics Overview - Added filter in/valid entries.
- 2023-09-21 Updated maximum length of generic agent job database fields and their input fields in dialog AdminGenericAgent to prevent errors storing values too long for the database. [#474](https://github.com/znuny/Znuny/issues/474)

# 7.0.11 2023-09-20
Expand Down
1 change: 0 additions & 1 deletion Kernel/Output/HTML/Templates/Standard/AdminQueue.tt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@
<div class="Header filter-items">
<h2>[% Translate("List") | html %]</h2>
<a href="#" id="ValidFilter" title="[% Translate("Filter") | html %]">
# <i class="fa fa-filter"></i>
<span class="show-valid">[% Translate("Show Valid") | html %]</span>
<span class="show-all">[% Translate("Show All") | html %]</span>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,17 @@
[% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath Type = "Agent" %]

<div class="WidgetSimple">
<div class="Header">
<div class="Header filter-items">
<h2>[% Translate("Statistics") | html %]</h2>
<a href="#" id="ValidFilter" title="[% Translate("Filter") | html %]">
<span class="show-valid">[% Translate("Show Valid") | html %]</span>
<span class="show-all">[% Translate("Show All") | html %]</span>
</a>
</div>
<div class="Content">
<table class="Sortable DataTable">
<thead>
<tr [% IF !Data.Valid %]class="Invalid"[% END %]>
<tr>
<th class="[% Data.CSSSortID | html %]">
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Overview;Direction=[% Data.LinkSortID | uri %];OrderBy=ID;StartHit=[% Data.StartHit | uri %]">
[% Config("Stats::StatsHook") | html %]
Expand Down
2 changes: 1 addition & 1 deletion var/httpd/htdocs/js/Core.Agent.Admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Core.Agent.Admin = (function (TargetNS) {
}

// run InitFilterInvalidTableEntries for every Admin* action
if (Pattern.test(Action) === true) {
if (Pattern.test(Action) === true || Action == 'AgentStatistics') {
TargetNS.InitFilterInvalidTableEntries();
}

Expand Down

0 comments on commit 498cf52

Please sign in to comment.