user settings: Improve style of "Preview profile" btn.

This commig update button to show user profile in user
settings. This commit change text in button, add external
link icon and change style of button.
This commit is contained in:
Yashashvi Dave
2018-08-29 00:13:27 +05:30
committed by Tim Abbott
parent 9f3b71b0b8
commit 1400a040fd
2 changed files with 11 additions and 1 deletions

View File

@@ -1430,6 +1430,15 @@ body:not(.night-mode) #account-settings .custom_user_field .datepicker {
min-width: 206px;
}
#account-settings #show_my_user_profile_modal {
width: 219px;
margin-top: 20px;
}
#account-settings #show_my_user_profile_modal i {
padding-left: 5px;
}
#settings_page #change_password_modal .change_password_info,
#settings_page #change_email_modal .change_email_info,
#settings_page #change_full_name_modal .change_full_name_info {

View File

@@ -128,7 +128,8 @@
<div class="alert-notification" id="custom-field-status"></div>
<form class="form-horizontal custom-profile-fields-form grid"></form>
<button class="button rounded sea-green w-200 block" id="show_my_user_profile_modal">
{{t 'View my profile' }}
{{t 'Preview profile' }}
<i class="fa fa-external-link" aria-hidden="true" title="{{t 'Preview profile' }}"></i>
</button>
</div>