{ rightname=>'Employee preference telephony integration' },
#]
+ #'RT preference rights' => [
+ { rightname=>'not an RT' },
+ #]
+
],
###
},
{
- 'key' => 'rt-hide_activity_notification',
- 'section' => 'ticketing',
- 'description' => 'Hide the notification box when there is activity on tickets',
- 'type' => 'checkbox',
- },
-
- {
'key' => 'pkg-balances',
'section' => 'billing',
'description' => 'Enable per-package balances.',
<%init>
use Class::Load 'load_class';
-use FS::Conf;
-my $conf = new FS::Conf;
-
my $enabled = $FS::TicketSystem::system eq 'RT_Internal';
-$enabled = 0 if $FS::CurrentUser::CurrentUser->option('hide_notify_tickets');
-$enabled = 0 if $conf->exists('rt-hide_activity_notification');
+$enabled = 0 if $FS::CurrentUser::CurrentUser->access_right('not an RT');
my $UnrepliedTickets;
if ($enabled) {
my $class = 'RT::Search::UnrepliedTickets';
enable_mask_clipboard_hack dashboard_customers
customer_view_emails
printtofit
- hide_notify_tickets
email_address
snom-ip snom-username snom-password
vonage-fromnumber vonage-username vonage-password
</TR>
<TR>
- <TH ALIGN="right"><% emt('Hide notification of new ticket activity') %></TH>
- <TD ALIGN="left">
- <INPUT TYPE="checkbox" NAME="hide_notify_tickets" VALUE="1" <% $curuser->option('hide_notify_tickets') ? 'CHECKED' : '' %>>
- </TD>
- </TR>
-
- <TR>
<TH ALIGN="right"><% emt("How many recently-modified customers displayed on dashboard") %></TH>
<TD ALIGN="left" COLSPAN=2>
<INPUT TYPE="text" NAME="dashboard_customers" VALUE="<% $curuser->option('dashboard_customers') %>"></TD>