Skip to content

Commit

Permalink
Add "Default Profile" column
Browse files Browse the repository at this point in the history
Users can select their default profile, but the UI does not indicate
which one of the profiles is their default one.

Fixes #27256
  • Loading branch information
dregad committed Sep 18, 2020
1 parent ccd2067 commit 102e2e0
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 @@ -181,6 +181,7 @@
<th><?php echo lang_get( 'os' ) ?></th>
<th><?php echo lang_get( 'os_build' ) ?></th>
<th><?php echo lang_get( 'global_profile' ) ?></th>
<th><?php echo lang_get( 'default_profile' ) ?></th>
<th class="center"><?php echo lang_get( 'actions' ) ?></th>
</tr>
</thead>
Expand Down Expand Up @@ -211,6 +212,11 @@
<i class="ace-icon fa fa-check fa-lg"></i>
<?php } ?>
</td>
<td class="center">
<?php if( $t_is_default_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 @@ -432,6 +432,7 @@ $s_platform = 'Platform';
$s_additional_description = 'Additional Description';
$s_update_profile_button = 'Update Profile';
$s_global_profile = 'Global Profile';
$s_default_profile = 'Default Profile';

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

0 comments on commit 102e2e0

Please sign in to comment.