html layout fix
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
{{#if titleDateValue}}title="{{titleDateValue}}"{{/if}}
|
||||
class="{{#if style}} text-{{style}} {{/if}} {{#if useNumericFormat}} numeric-text {{/if}}"
|
||||
>{{dateValue}}</span>
|
||||
{{~/if}}
|
||||
{{~/if~}}
|
||||
|
||||
{{#if isNone}}
|
||||
{{~#if isNone}}
|
||||
<span class="none-value">{{translate 'None'}}</span>
|
||||
{{/if}}
|
||||
{{/if~}}
|
||||
|
||||
{{#if isLoading}}
|
||||
{{~#if isLoading}}
|
||||
<span class="loading-value"></span>
|
||||
{{/if}}
|
||||
{{/if~}}
|
||||
|
||||
@@ -31,10 +31,17 @@ import BaseFieldView from 'views/fields/base';
|
||||
class ComplexCreatedFieldView extends BaseFieldView {
|
||||
|
||||
// language=Handlebars
|
||||
detailTemplateContent =
|
||||
`{{#if hasAt}}<span data-name="{{baseName}}At" class="field">{{{atField}}}</span>{{/if}}
|
||||
{{#if hasBoth}}<span class="text-muted middle-dot"></span>{{/if}}
|
||||
{{#if hasBy}}<span data-name="{{baseName}}By" class="field">{{{byField}}}</span>{{/if}}`
|
||||
detailTemplateContent = `
|
||||
{{~#if hasAt~}}
|
||||
<span data-name="{{baseName}}At" class="field">{{{atField}}}</span>
|
||||
{{~/if~}}
|
||||
{{~#if hasBoth~}}
|
||||
<span style="user-select: none"> <span class="text-muted middle-dot"></span> </span>
|
||||
{{~/if~}}
|
||||
{{~#if hasBy~}}
|
||||
<span data-name="{{baseName}}By" class="field">{{{byField}}}</span>
|
||||
{{~/if~}}
|
||||
`
|
||||
|
||||
baseName = 'created'
|
||||
|
||||
|
||||
@@ -134,7 +134,9 @@ img.image-preview {
|
||||
content: "\00B7";
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
padding: 0 0.1em;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
|
||||
Reference in New Issue
Block a user