Skip to content
Snippets Groups Projects
Commit 2b25082b authored by Michaela Brückner's avatar Michaela Brückner :unicorn: Committed by André Noack
Browse files

Resolve "Datentabellen im Bereich "Forum" sind nicht korrekt aufgebaut/beschriftet"

Closes #4089

Merge request studip/studip!2933
parent 42d1af6c
No related branches found
No related tags found
No related merge requests found
......@@ -46,17 +46,18 @@
<col>
<col>
<col class="hidden-tiny-down">
<col>
<col style="width: 20px">
</colgroup>
<thead>
<tr>
<th colspan="2"> <?= _('Name des Bereichs') ?></th>
<th></th>
<th> <?= _('Name des Bereichs') ?></th>
<th data-type="answers"><?= _("Beiträge") ?></th>
<th data-type="last_posting" class="hidden-tiny-down">
<?= _("letzte Antwort") ?>
</th>
<th></th>
<th> <?= _('Aktionen') ?> </th>
</tr>
</thead>
......
......@@ -39,7 +39,7 @@
type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=accepted]">
</th>
<? endif ?>
<th></th>
<th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <?if ($sort_by === 'nachname' && $sort_status === 'accepted') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'accepted' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf(
......
......@@ -48,7 +48,7 @@
type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=autor]">
</th>
<? endif ?>
<th></th>
<th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === 'autor') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'autor' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf(
......
......@@ -36,7 +36,7 @@
data-activates="#action_awaiting,button[name='submit_awaiting']">
</th>
<? endif ?>
<th></th>
<th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === $waiting_type) printf('class="sort%s"', $order); ?>>
<a href="<?= URLHelper::getLink(sprintf(
"?sortby=nachname&sort_status={$waiting_type}&order=%s&toggle=%s#awaiting",
......
......@@ -25,7 +25,7 @@
</colgroup>
<thead>
<tr class="sortable">
<th></th>
<th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === 'dozent') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'dozent' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf(
......
......@@ -43,7 +43,7 @@
type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=tutor]">
</th>
<? endif ?>
<th></th>
<th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === 'tutor') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'tutor' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf(
......
......@@ -43,7 +43,7 @@
type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=user]">
</th>
<? endif ?>
<th></th>
<th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === 'user') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'user' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment