Fix incorrect class and removal unncessary `div`.

This commit is contained in:
Guo Xiang Tan 2016-11-29 15:31:03 +08:00
parent 943e605add
commit e97efe3ac6
1 changed files with 13 additions and 17 deletions

View File

@ -128,30 +128,26 @@
{{#if flairPreviewIcon}} {{#if flairPreviewIcon}}
<div class="flair-right"> <div class="flair-right">
<div> <label>{{i18n 'admin.groups.flair_preview'}} Icon</label>
<label>{{i18n 'admin.groups.flair_preview'}} Icon</label> <div class="avatar-flair-preview">
<div class="avatar-flair-preview"> <div class="avatar-wrapper">
<div class="avatar-wrapper"> <img alt width="45" height="45" src="{{demoAvatarUrl}}" class="avatar actor">
<img alt width="45" height="45" src="{{demoAvatarUrl}}" class="avatar actor"> </div>
</div> <div class="avatar-flair demo {{flairPreviewClasses}}" style={{flairPreviewStyle}}>
<div class="avatar-flair demo {{flairPreviewClasses}}" style={{flairPreviewStyle}}> <i class="fa {{model.flair_url}}"></i>
<i class="fa {{model.flair_url}}"></i>
</div>
</div> </div>
</div> </div>
</div> </div>
{{/if}} {{/if}}
{{#if flairPreviewImage}} {{#if flairPreviewImage}}
<div class="flair_right"> <div class="flair-right">
<div> <label>{{i18n 'admin.groups.flair_preview'}} Image</label>
<label>{{i18n 'admin.groups.flair_preview'}} Image</label> <div class="avatar-flair-preview">
<div class="avatar-flair-preview"> <div class="avatar-wrapper">
<div class="avatar-wrapper"> <img alt width="45" height="45" src="{{demoAvatarUrl}}" class="avatar actor">
<img alt width="45" height="45" src="{{demoAvatarUrl}}" class="avatar actor">
</div>
<div class="avatar-flair demo {{flairPreviewClasses}}" style={{flairPreviewStyle}}></div>
</div> </div>
<div class="avatar-flair demo {{flairPreviewClasses}}" style={{flairPreviewStyle}}></div>
</div> </div>
</div> </div>
{{/if}} {{/if}}