aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources/category/details.php
blob: 59eea31c31f35eac8fd03861b68eba0ccde095df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<? if ($category->description) : ?>
    <section class="contentbox">
        <header>
            <h1><?= _('Beschreibung') ?></h1>
        </header>
        <section>
            <?= htmlReady($category->description) ?>
        </section>
    </section>
<? endif ?>

<? if ($category->property_definitions): ?>
    <section class="contentbox">
        <header>
            <h1><?= _('Eigenschaften') ?></h1>
        </header>
        <section>
            <ul class="list-unstyled">
                <? foreach ($category->property_definitions as $definition): ?>
                    <li>
                        <?= Icon::create('checkbox-checked')->asImg(['class' => 'text-bottom']) ?>
                        <? if ($definition->system): ?>
                            <strong><?= htmlReady($definition) ?></strong>
                        <? else: ?>
                            <?= htmlReady($definition) ?>
                        <? endif ?>
                        [<?= htmlReady($definition->type) ?>]
                    </li>
                <? endforeach ?>
            </ul>
        </section>
    </section>
<? endif ?>