cancel
Showing results for 
Search instead for 
Did you mean: 
oaribas
Level 7

how can i show users' daily remaining quota with minutes After time quota exceeded?

Hello everyone, I created a rule, and it shows users to how many seconds they can use social URL's and how many secs remained.

i need to Show users how many minutes remain?

what is the alternative ways to Show "Number.ToString (Number)"??

thank you.

0 Kudos
1 Reply
asabban
Level 17

Re: how can i show users' daily remaining quota with minutes After time quota exceeded?

Hello,

you can do the calculation in Javascript. I have modified the default error template like so:

2015-05-21 09_49_26-Template Editor.png

As you can see I have replaced the "Number.ToString" property in "Remaining quota per day" by a short script which writes the result to the error template. The result looks like this:

2015-05-21 09_49_55-McAfee Web Gateway - Notification - Firefox Developer Edition.png

Of course you want to make the same changes to the "Remaining quota per week" and "Remaining quote per month".

Best,

Andre

0 Kudos