load->view('layout/messages'); ?>
@@ -164,7 +164,7 @@
- = sprintf(__("You can only add users to the %s Clubstation if they already exist on this Wavelog Server."), $club->user_callsign); ?>
+ = sprintf(__("You can only add users to the %s Clubstation if they already exist on this Wavelog Server."), str_replace('0', 'Ø', $club->user_callsign)); ?>
= __("If they don't exist, please ask your Wavelog Administrator to create an account for them."); ?>
= __("Search for the user by their callsign or first/lastname and select the permission level."); ?>
@@ -231,7 +231,7 @@
user_firstname; ?>
user_lastname; ?>
- user_callsign; ?>
+ user_callsign); ?>
user_name; ?>
user_email . '">' . $member->user_email . ''; ?>
@@ -272,7 +272,7 @@
- user_callsign; ?> - user_firstname . ' ' . $member->user_lastname; ?>
+ user_callsign); ?> - user_firstname . ' ' . $member->user_lastname; ?>
@@ -317,7 +317,7 @@
- = sprintf(__("Callsign: %s"), $member->user_callsign); ?>
+ = sprintf(__("Callsign: %s"), str_replace('0', 'Ø', $member->user_callsign)); ?>
= sprintf(__("Role: %s"), $permissions[$member->p_level]); ?>
@@ -339,4 +339,4 @@
-
\ No newline at end of file
+
diff --git a/assets/js/sections/club_permissions.js b/assets/js/sections/club_permissions.js
index a17071fd5..82d23d4dd 100644
--- a/assets/js/sections/club_permissions.js
+++ b/assets/js/sections/club_permissions.js
@@ -52,11 +52,11 @@ $(document).ready(function(){
},
render: {
option: function(item) {
- let string = '[' + item.user_name + '] ' + item.user_callsign.toUpperCase() + ' - ' + item.user_firstname + ' ' + item.user_lastname + '
';
+ let string = '[' + item.user_name + '] ' + item.user_callsign.toUpperCase().replaceAll(/0/g, 'Ø') + ' - ' + item.user_firstname + ' ' + item.user_lastname + '
';
return string;
},
item: function(item) {
- let string = '[' + item.user_name + '] ' + item.user_callsign.toUpperCase() + ' - ' + item.user_firstname + ' ' + item.user_lastname + '
';
+ let string = '[' + item.user_name + '] ' + item.user_callsign.toUpperCase().replaceAll(/0/g, 'Ø') + ' - ' + item.user_firstname + ' ' + item.user_lastname + '
';
return string;
}
},