]> git.r.bdr.sh - rbdr/forum/blobdiff - src/lib/components/topic/topic.svelte
Apply formatting
[rbdr/forum] / src / lib / components / topic / topic.svelte
index 06f2aebb8490fd6e4256fa050df8fc792f6cea93..5b5ed0b3d2ffb54631cc7774d588e7c3e099710b 100644 (file)
        <aside class="topic-meta" title={$_('topic.metadata_title')}>
                {#if topic.forum}
                        <span class="topic-location">
-        {$_('topic.category_location')}
+                               {$_('topic.category_location')}
                                <a href="/f/{topic.forum.id}" class="p-category">
-          {topic.forum.glyph} {$_(topic.forum.label)}
-        </a>.
-      </span>
+                                       {topic.forum.glyph}
+                                       {$_(topic.forum.label)}
+                               </a>.
+                       </span>
                {/if}
                <span class="topic-ttl">
-      <a class="u-url u-uid" title={$_('topic.permalink_title')} href="/t/{topic.id}">
-        ({$_('topic.remaining_time', {
+                       <a class="u-url u-uid" title={$_('topic.permalink_title')} href="/t/{topic.id}">
+                               ({$_('topic.remaining_time', {
                                        values: { remaining: $_(remaining.label, { values: { count: remaining.count } }) }
-        })})
-      </a>.
-    </span>
+                               })})
+                       </a>.
+               </span>
        </aside>
        {#if topic.tags.length > 0}
                <aside class="topic-tags" title={$_('topic.tags_title')}>
                        {$_('topic.tags_location')}
                        {#each topic.tags as tag}
                                <a href="/g/{tag.id}" class="p-category">
-          {tag.id}<span class="tag-weight">({tag.weight})</span>
-        </a>{' '}
+                                       {tag.id}<span class="tag-weight">({tag.weight})</span>
+                               </a>{' '}
                        {/each}
                </aside>
        {/if}