MOH - List: Better indicate kHz value is an edit link.

This commit is contained in:
Nate
2020-03-06 11:19:43 -07:00
parent e123258fcc
commit 7341236c85
2 changed files with 9 additions and 1 deletions

View File

@@ -467,7 +467,7 @@
//set the rate label
$stream_rate = $auto_rate ? $text['option-default'] : ($music_on_hold_rate/1000).' kHz';
if (permission_exists('music_on_hold_edit')) {
$stream_details = "<a href='music_on_hold_edit.php?id=".urlencode($row['music_on_hold_uuid'])."'>".$stream_rate.'</a> '.$icons;
$stream_details = "<a href='music_on_hold_edit.php?id=".urlencode($row['music_on_hold_uuid'])."' class='default-color'>".$stream_rate.'</a> '.$icons;
}
else {
$stream_details = $stream_rate.' '.$icons;

View File

@@ -2406,6 +2406,14 @@ $default_login = ($_REQUEST['login'] == 'default') ? true : false;
width: 1%;
}
.list-header > th > a.default-color {
color: <?php echo ($_SESSION['theme']['text_link_color']['text'] != '') ? $_SESSION['theme']['text_link_color']['text'] : '#004083'; ?>;
}
.list-header > th > a.default-color:hover {
color: <?php echo ($_SESSION['theme']['text_link_color_hover']['text'] != '') ? $_SESSION['theme']['text_link_color_hover']['text'] : '#5082ca'; ?>;
}
.list-row:nth-child(odd) > :not(.action-button) {
background: <?php echo ($_SESSION['theme']['table_row_background_color_light']['text'] != '') ? $_SESSION['theme']['table_row_background_color_light']['text'] : '#ffffff'; ?>;
}