2018-05-23 15:57:30 +01:00
|
|
|
<div class="view-spaces">
|
2018-12-12 13:35:16 +00:00
|
|
|
<ul class="list">
|
|
|
|
{{#each spaces as |space|}}
|
|
|
|
{{#link-to "folder.index" space.id space.slug}}
|
|
|
|
<li class="item">
|
|
|
|
<div class="info">
|
|
|
|
<div class="name">{{space.name}}</div>
|
|
|
|
<div class="desc">Some description that is to be wired up to the backend</div>
|
|
|
|
<div class="meta">
|
|
|
|
{{#if (eq space.spaceType constants.SpaceType.Public)}}
|
|
|
|
<i class={{concat "dicon " constants.Icon.World}}>
|
|
|
|
{{#attach-tooltip showDelay=1000}}Public space{{/attach-tooltip}}
|
|
|
|
</i>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (eq space.spaceType constants.SpaceType.Protected)}}
|
|
|
|
<i class={{concat "dicon " constants.Icon.People}}>
|
|
|
|
{{#attach-tooltip showDelay=1000}}Protected space{{/attach-tooltip}}
|
|
|
|
</i>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (eq space.spaceType constants.SpaceType.Private)}}
|
|
|
|
<i class={{concat "dicon " constants.Icon.Person}}>
|
|
|
|
{{#attach-tooltip showDelay=1000}}Personal space{{/attach-tooltip}}
|
|
|
|
</i>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="stats">
|
|
|
|
<div class="stat">
|
|
|
|
<div class="number">18</div>
|
|
|
|
<div class="label">items</div>
|
|
|
|
</div>
|
|
|
|
<div class="stat">
|
|
|
|
<div class="number">5</div>
|
|
|
|
<div class="label">categories</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
2018-05-23 15:57:30 +01:00
|
|
|
{{/link-to}}
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
2017-11-17 11:31:54 +00:00
|
|
|
</div>
|