DEV: Add extra whitespace to tidy up prettified templates
This commit is contained in:
parent
c8e2e37fa7
commit
9f0a095405
|
@ -15,21 +15,21 @@
|
||||||
<LoadMore @selector=".web-hook-events li" @action={{this.loadMore}}>
|
<LoadMore @selector=".web-hook-events li" @action={{this.loadMore}}>
|
||||||
<div class="web-hook-events content-list">
|
<div class="web-hook-events content-list">
|
||||||
<div class="heading-container">
|
<div class="heading-container">
|
||||||
<div class="col heading first status">{{i18n
|
<div class="col heading first status">
|
||||||
"admin.web_hooks.events.status"
|
{{i18n "admin.web_hooks.events.status"}}
|
||||||
}}</div>
|
</div>
|
||||||
<div class="col heading event-id">{{i18n
|
<div class="col heading event-id">
|
||||||
"admin.web_hooks.events.event_id"
|
{{i18n "admin.web_hooks.events.event_id"}}
|
||||||
}}</div>
|
</div>
|
||||||
<div class="col heading timestamp">{{i18n
|
<div class="col heading timestamp">
|
||||||
"admin.web_hooks.events.timestamp"
|
{{i18n "admin.web_hooks.events.timestamp"}}
|
||||||
}}</div>
|
</div>
|
||||||
<div class="col heading completion">{{i18n
|
<div class="col heading completion">
|
||||||
"admin.web_hooks.events.completion"
|
{{i18n "admin.web_hooks.events.completion"}}
|
||||||
}}</div>
|
</div>
|
||||||
<div class="col heading actions">{{i18n
|
<div class="col heading actions">
|
||||||
"admin.web_hooks.events.actions"
|
{{i18n "admin.web_hooks.events.actions"}}
|
||||||
}}</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if this.hasIncoming}}
|
{{#if this.hasIncoming}}
|
||||||
|
|
|
@ -1,16 +1,26 @@
|
||||||
<td class="title">{{this.report.title}}</td>
|
<td class="title">{{this.report.title}}</td>
|
||||||
<td class="value"><LinkTo @route="adminUsersList.show" @model="newuser">{{number
|
<td class="value">
|
||||||
(value-at-tl this.report.data level="0")
|
<LinkTo @route="adminUsersList.show" @model="newuser">
|
||||||
}}</LinkTo></td>
|
{{number (value-at-tl this.report.data level="0")}}
|
||||||
<td class="value"><LinkTo @route="adminUsersList.show" @model="basic">{{number
|
</LinkTo>
|
||||||
(value-at-tl this.report.data level="1")
|
</td>
|
||||||
}}</LinkTo></td>
|
<td class="value">
|
||||||
<td class="value"><LinkTo @route="adminUsersList.show" @model="member">{{number
|
<LinkTo @route="adminUsersList.show" @model="basic">
|
||||||
(value-at-tl this.report.data level="2")
|
{{number (value-at-tl this.report.data level="1")}}
|
||||||
}}</LinkTo></td>
|
</LinkTo>
|
||||||
<td class="value"><LinkTo @route="adminUsersList.show" @model="regular">{{number
|
</td>
|
||||||
(value-at-tl this.report.data level="3")
|
<td class="value">
|
||||||
}}</LinkTo></td>
|
<LinkTo @route="adminUsersList.show" @model="member">
|
||||||
<td class="value"><LinkTo @route="adminUsersList.show" @model="leader">{{number
|
{{number (value-at-tl this.report.data level="2")}}
|
||||||
(value-at-tl this.report.data level="4")
|
</LinkTo>
|
||||||
}}</LinkTo></td>
|
</td>
|
||||||
|
<td class="value">
|
||||||
|
<LinkTo @route="adminUsersList.show" @model="regular">
|
||||||
|
{{number (value-at-tl this.report.data level="3")}}
|
||||||
|
</LinkTo>
|
||||||
|
</td>
|
||||||
|
<td class="value">
|
||||||
|
<LinkTo @route="adminUsersList.show" @model="leader">
|
||||||
|
{{number (value-at-tl this.report.data level="4")}}
|
||||||
|
</LinkTo>
|
||||||
|
</td>
|
|
@ -2,16 +2,24 @@
|
||||||
<div class="admin-controls">
|
<div class="admin-controls">
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="nav nav-pills">
|
<ul class="nav nav-pills">
|
||||||
<li><LinkTo
|
<li>
|
||||||
|
<LinkTo
|
||||||
@route="adminCustomizeEmailStyle.edit"
|
@route="adminCustomizeEmailStyle.edit"
|
||||||
@model="html"
|
@model="html"
|
||||||
@replace={{true}}
|
@replace={{true}}
|
||||||
>{{i18n "admin.customize.email_style.html"}}</LinkTo></li>
|
>
|
||||||
<li><LinkTo
|
{{i18n "admin.customize.email_style.html"}}
|
||||||
|
</LinkTo>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<LinkTo
|
||||||
@route="adminCustomizeEmailStyle.edit"
|
@route="adminCustomizeEmailStyle.edit"
|
||||||
@model="css"
|
@model="css"
|
||||||
@replace={{true}}
|
@replace={{true}}
|
||||||
>{{i18n "admin.customize.email_style.css"}}</LinkTo></li>
|
>
|
||||||
|
{{i18n "admin.customize.email_style.css"}}
|
||||||
|
</LinkTo>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -50,18 +50,26 @@
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
{{else}}
|
{{else}}
|
||||||
<td><div class="label">{{i18n
|
<td>
|
||||||
"admin.embedding.host"
|
<div class="label">{{i18n "admin.embedding.host"}}</div>
|
||||||
}}</div>{{this.host.host}}</td>
|
{{this.host.host}}
|
||||||
<td><div class="label">{{i18n
|
</td>
|
||||||
"admin.embedding.class_name"
|
<td>
|
||||||
}}</div>{{this.host.class_name}}</td>
|
<div class="label">
|
||||||
<td><div class="label">{{i18n
|
{{i18n "admin.embedding.class_name"}}
|
||||||
"admin.embedding.allowed_paths"
|
</div>
|
||||||
}}</div>{{this.host.allowed_paths}}</td>
|
{{this.host.class_name}}
|
||||||
<td><div class="label">{{i18n
|
</td>
|
||||||
"admin.embedding.category"
|
<td>
|
||||||
}}</div>{{category-badge this.host.category allowUncategorized=true}}</td>
|
<div class="label">
|
||||||
|
{{i18n "admin.embedding.allowed_paths"}}
|
||||||
|
</div>
|
||||||
|
{{this.host.allowed_paths}}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="label">{{i18n "admin.embedding.category"}}</div>
|
||||||
|
{{category-badge this.host.category allowUncategorized=true}}
|
||||||
|
</td>
|
||||||
<td class="controls">
|
<td class="controls">
|
||||||
<DButton @icon="pencil-alt" @action={{action "edit"}} />
|
<DButton @icon="pencil-alt" @action={{action "edit"}} />
|
||||||
<DButton
|
<DButton
|
||||||
|
|
|
@ -58,9 +58,11 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{else}}
|
{{else}}
|
||||||
<tr><td colspan="4">{{i18n
|
<tr>
|
||||||
"admin.email.incoming_emails.none"
|
<td colspan="4">
|
||||||
}}</td></tr>
|
{{i18n "admin.email.incoming_emails.none"}}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -30,9 +30,12 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{~#if this.computedLabel~}}
|
{{~#if this.computedLabel~}}
|
||||||
<span class="d-button-label">{{html-safe this.computedLabel}}{{#if
|
<span class="d-button-label">
|
||||||
this.ellipsis
|
{{~html-safe this.computedLabel~}}
|
||||||
}}…{{/if}}</span>
|
{{~#if this.ellipsis~}}
|
||||||
|
…
|
||||||
|
{{~/if~}}
|
||||||
|
</span>
|
||||||
{{~else if (not (has-block))~}}
|
{{~else if (not (has-block))~}}
|
||||||
​
|
​
|
||||||
{{! Zero-width space character, so icon-only button height = regular button height }}
|
{{! Zero-width space character, so icon-only button height = regular button height }}
|
||||||
|
|
|
@ -16,8 +16,15 @@
|
||||||
pmOnly=tag.pmOnly
|
pmOnly=tag.pmOnly
|
||||||
tagsForUser=this.tagsForUser
|
tagsForUser=this.tagsForUser
|
||||||
}}
|
}}
|
||||||
{{#if tag.pmOnly}}{{d-icon "envelope"}}{{/if}}{{#if tag.totalCount}}
|
{{#if tag.pmOnly}}
|
||||||
<span class="tag-count">x {{tag.totalCount}}</span>{{/if}}
|
{{d-icon "envelope"}}
|
||||||
|
{{/if}}
|
||||||
|
{{#if tag.totalCount}}
|
||||||
|
<span class="tag-count">
|
||||||
|
x
|
||||||
|
{{tag.totalCount}}
|
||||||
|
</span>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
|
@ -17,10 +17,9 @@
|
||||||
{{~""~}}
|
{{~""~}}
|
||||||
<span class="wave">
|
<span class="wave">
|
||||||
{{~""~}}
|
{{~""~}}
|
||||||
<span class="dot">.</span><span class="dot">.</span><span
|
<span class="dot">.</span>{{~""~}}
|
||||||
class="dot"
|
<span class="dot">.</span>{{~""~}}
|
||||||
>.</span>
|
<span class="dot">.</span>{{~""~}}
|
||||||
{{~""~}}
|
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,15 +8,15 @@
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
<span class="presence-text">
|
<span class="presence-text">
|
||||||
<span class="description">{{i18n
|
<span class="description">
|
||||||
"presence.replying_to_topic"
|
{{i18n "presence.replying_to_topic" count=this.users.length}}
|
||||||
count=this.users.length
|
</span>
|
||||||
}}</span>{{! (using comment to stop whitespace)
|
<span class="wave">
|
||||||
}}<span
|
{{~""~}}
|
||||||
class="wave"
|
<span class="dot">.</span>{{~""~}}
|
||||||
><span class="dot">.</span><span class="dot">.</span><span
|
<span class="dot">.</span>{{~""~}}
|
||||||
class="dot"
|
<span class="dot">.</span>{{~""~}}
|
||||||
>.</span></span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
Loading…
Reference in New Issue