Skip to content

Commit

Permalink
Add "Global Profile" column
Browse files Browse the repository at this point in the history
The Manage User Profiles page is listing all profiles including global
ones, which makes the view somewhat confusing for a user who does not
have the privileges to edit global profiles as the Edit/Delete buttons
are not displayed for global profiles, without indication as to why.

Fixes #27256
  • Loading branch information
dregad committed Sep 18, 2020
1 parent 806baac commit ccd2067
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions account_prof_menu_page.php
Expand Up @@ -180,6 +180,7 @@
<th><?php echo lang_get( 'platform' ) ?></th>
<th><?php echo lang_get( 'os' ) ?></th>
<th><?php echo lang_get( 'os_build' ) ?></th>
<th><?php echo lang_get( 'global_profile' ) ?></th>
<th class="center"><?php echo lang_get( 'actions' ) ?></th>
</tr>
</thead>
Expand All @@ -205,6 +206,11 @@
<td><?php echo string_display_line( $v_platform ); ?></td>
<td><?php echo string_display_line( $v_os ); ?></td>
<td><?php echo string_display_line( $v_os_build ); ?></td>
<td class="center">
<?php if( $t_is_global_profile ) { ?>
<i class="ace-icon fa fa-check fa-lg"></i>
<?php } ?>
</td>

<td class="center">
<div class="btn-group inline">
Expand Down
1 change: 1 addition & 0 deletions lang/strings_english.txt
Expand Up @@ -431,6 +431,7 @@ $s_edit_profile_title = 'Edit Profile';
$s_platform = 'Platform';
$s_additional_description = 'Additional Description';
$s_update_profile_button = 'Update Profile';
$s_global_profile = 'Global Profile';

# account_profile_make_default.php
$s_profile_defaulted_msg = 'Default profile updated...';
Expand Down

0 comments on commit ccd2067

Please sign in to comment.