mirror of https://github.com/zulip/zulip.git
user settings: Prevent linkifying trailing whitespace in change name button.
When user name changes are disabled and the disabled name change info icon shows, trailing whitespace gets linkified because of the link's inline-block property. Use Handlebars whitespace omission syntax to eliminate this behavior.
This commit is contained in:
parent
50cab76c59
commit
8b538d8b8d
|
@ -53,8 +53,10 @@
|
|||
{{#unless page_params.is_admin}}{{#if page_params.realm_name_changes_disabled}}{{else}}{{#unless page_params.server_name_changes_disabled}}href="#change_email"{{/unless}}{{/if}}{{/unless}}>
|
||||
<button type="button" class="button small white rounded inline-block" id="full_name"
|
||||
{{#unless page_params.is_admin}}{{#if page_params.realm_name_changes_disabled}}disabled="disabled"{{else}}{{#if page_params.server_name_changes_disabled}}disabled="disabled"{{/if}}{{/if}}{{/unless}}>
|
||||
{{~#if true~}}
|
||||
<span id="full_name_value">{{page_params.full_name}}</span>
|
||||
<i class="fa fa-pencil"></i>
|
||||
{{~/if~}}
|
||||
</button>
|
||||
</a>
|
||||
<i class="fa fa-question-circle change_name_tooltip settings-info-icon" data-toggle="tooltip"
|
||||
|
|
Loading…
Reference in New Issue